@rustrak/client 0.26.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/README.md +18 -0
- package/dist/client.cjs +4 -4
- 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 +4 -4
- package/dist/client.mjs.map +1 -1
- package/dist/generated/client/client.gen.d.cts +1 -0
- package/dist/generated/client/index.d.cts +10 -0
- package/dist/generated/client/types.gen.d.cts +1 -1
- package/dist/generated/client/types.gen.d.mts +1 -1
- package/dist/generated/client/utils.gen.cjs +1 -1
- package/dist/generated/client/utils.gen.d.cts +2 -0
- package/dist/generated/client/utils.gen.d.cts.map +1 -1
- package/dist/generated/client/utils.gen.mjs +1 -1
- package/dist/generated/client.gen.cjs +2 -1
- package/dist/generated/client.gen.cjs.map +1 -1
- package/dist/generated/client.gen.mjs +1 -1
- package/dist/generated/core/params.gen.d.cts +1 -0
- package/dist/generated/core/queryKeySerializer.gen.d.cts +1 -0
- package/dist/generated/sdk.gen.cjs +1231 -942
- package/dist/generated/sdk.gen.cjs.map +1 -1
- package/dist/generated/sdk.gen.d.cts +49 -27
- package/dist/generated/sdk.gen.d.cts.map +1 -1
- package/dist/generated/sdk.gen.d.mts +49 -28
- package/dist/generated/sdk.gen.d.mts.map +1 -1
- package/dist/generated/sdk.gen.mjs +1053 -766
- package/dist/generated/sdk.gen.mjs.map +1 -1
- package/dist/generated/types.gen.d.cts +349 -0
- package/dist/generated/types.gen.d.cts.map +1 -1
- package/dist/generated/types.gen.d.mts +349 -0
- package/dist/generated/types.gen.d.mts.map +1 -1
- package/dist/generated/zod.gen.cjs +2076 -1824
- package/dist/generated/zod.gen.cjs.map +1 -1
- package/dist/generated/zod.gen.mjs +895 -681
- package/dist/generated/zod.gen.mjs.map +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.d.cts +3 -3
- package/dist/index.d.mts +3 -3
- package/dist/index.mjs +2 -2
- package/dist/utils/http.cjs.map +1 -1
- package/dist/utils/http.mjs.map +1 -1
- package/package.json +5 -5
|
@@ -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,16 +439,20 @@ 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
|
});
|
|
446
446
|
/**
|
|
447
|
+
* Whose default a [`SetDefaultView`] sets.
|
|
448
|
+
*/
|
|
449
|
+
const zDefaultScope = z.enum(["user", "project"]);
|
|
450
|
+
/**
|
|
447
451
|
* One file of a debug information file assemble request.
|
|
448
452
|
*/
|
|
449
453
|
const zDifAssembleFile = z.object({
|
|
450
454
|
chunks: z.array(z.string()),
|
|
451
|
-
debug_id: z.
|
|
455
|
+
debug_id: z.nullish(z.string()),
|
|
452
456
|
name: z.string()
|
|
453
457
|
});
|
|
454
458
|
/**
|
|
@@ -469,7 +473,7 @@ const zEventDetailResponse = z.object({
|
|
|
469
473
|
event_type: z.string(),
|
|
470
474
|
id: z.uuid(),
|
|
471
475
|
ingested_at: z.iso.datetime({ offset: true }),
|
|
472
|
-
issue_id: z.
|
|
476
|
+
issue_id: z.nullable(z.uuid()),
|
|
473
477
|
level: z.string(),
|
|
474
478
|
platform: z.string(),
|
|
475
479
|
release: z.string(),
|
|
@@ -484,7 +488,7 @@ z.object({
|
|
|
484
488
|
event_id: z.string(),
|
|
485
489
|
event_type: z.string(),
|
|
486
490
|
id: z.uuid(),
|
|
487
|
-
issue_id: z.
|
|
491
|
+
issue_id: z.nullable(z.uuid()),
|
|
488
492
|
level: z.string(),
|
|
489
493
|
platform: z.string(),
|
|
490
494
|
release: z.string(),
|
|
@@ -545,11 +549,11 @@ const zFieldErrorCode = z.enum([
|
|
|
545
549
|
const zFieldError = z.object({
|
|
546
550
|
code: zFieldErrorCode,
|
|
547
551
|
field: z.string(),
|
|
548
|
-
message: z.
|
|
552
|
+
message: z.optional(z.string())
|
|
549
553
|
});
|
|
550
554
|
const zErrorDetail = z.object({
|
|
551
|
-
fields: z.array(zFieldError)
|
|
552
|
-
incident_id: z.
|
|
555
|
+
fields: z.optional(z.array(zFieldError)),
|
|
556
|
+
incident_id: z.optional(z.string()),
|
|
553
557
|
message: z.string(),
|
|
554
558
|
type: z.string()
|
|
555
559
|
});
|
|
@@ -566,7 +570,7 @@ const zGitHubAppInfo = z.object({
|
|
|
566
570
|
created_at: z.iso.datetime({ offset: true }),
|
|
567
571
|
html_url: z.string(),
|
|
568
572
|
install_url: z.string(),
|
|
569
|
-
last_webhook_at: z.iso.datetime({ offset: true })
|
|
573
|
+
last_webhook_at: z.nullable(z.iso.datetime({ offset: true })),
|
|
570
574
|
owner_login: z.string(),
|
|
571
575
|
slug: z.string()
|
|
572
576
|
});
|
|
@@ -582,13 +586,13 @@ const zGitHubInstallation = z.object({
|
|
|
582
586
|
* the person to edit first.
|
|
583
587
|
*/
|
|
584
588
|
const zGitHubIssueDraft = z.object({
|
|
585
|
-
assignee: z.
|
|
589
|
+
assignee: z.nullable(z.string()),
|
|
586
590
|
assignees: z.array(z.string()),
|
|
587
591
|
body: z.string(),
|
|
588
592
|
labels: z.array(z.string()),
|
|
589
593
|
title: z.string()
|
|
590
594
|
});
|
|
591
|
-
const zGitHubLogin = z.object({ login: z.
|
|
595
|
+
const zGitHubLogin = z.object({ login: z.nullable(z.string()) });
|
|
592
596
|
/**
|
|
593
597
|
* A repository an installation can reach.
|
|
594
598
|
*/
|
|
@@ -606,9 +610,9 @@ const zGrouping = z.object({
|
|
|
606
610
|
created_at: z.iso.datetime({ offset: true }),
|
|
607
611
|
grouping_key: z.string(),
|
|
608
612
|
grouping_key_hash: z.string(),
|
|
609
|
-
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" })),
|
|
610
614
|
issue_id: z.uuid(),
|
|
611
|
-
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" }))
|
|
612
616
|
});
|
|
613
617
|
const zIntervalUnit = z.enum([
|
|
614
618
|
"minute",
|
|
@@ -640,7 +644,7 @@ const zIssueFilter = z.enum([
|
|
|
640
644
|
const zBulkDeleteIssues = z.union([z.object({ ids: z.array(z.uuid()) }), z.object({ filter: zIssueFilter })]);
|
|
641
645
|
const zIssueLink = z.object({
|
|
642
646
|
created_at: z.iso.datetime({ offset: true }),
|
|
643
|
-
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" })),
|
|
644
648
|
issue_id: z.uuid(),
|
|
645
649
|
number: z.int(),
|
|
646
650
|
repo_full_name: z.string(),
|
|
@@ -680,13 +684,14 @@ const zIssueStatus = z.enum([
|
|
|
680
684
|
"ignored"
|
|
681
685
|
]);
|
|
682
686
|
z.object({
|
|
683
|
-
associated_event_id: z.
|
|
687
|
+
associated_event_id: z.nullable(z.string()),
|
|
684
688
|
attachments: z.array(zAttachmentInfo),
|
|
685
689
|
contact_email: z.string(),
|
|
686
690
|
created_at: z.iso.datetime({ offset: true }),
|
|
687
691
|
id: z.uuid(),
|
|
688
692
|
message: z.string(),
|
|
689
693
|
name: z.string(),
|
|
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" })),
|
|
690
695
|
status: zIssueStatus,
|
|
691
696
|
url: z.string()
|
|
692
697
|
});
|
|
@@ -694,33 +699,33 @@ z.object({
|
|
|
694
699
|
* Response for API
|
|
695
700
|
*/
|
|
696
701
|
const zIssueResponse = z.object({
|
|
697
|
-
assigned_to: z.int().
|
|
698
|
-
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()),
|
|
699
704
|
culprit: z.string(),
|
|
700
|
-
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" })),
|
|
701
706
|
first_release: z.string(),
|
|
702
707
|
first_seen: z.iso.datetime({ offset: true }),
|
|
703
|
-
has_seen: z.
|
|
708
|
+
has_seen: z.nullish(z.boolean()),
|
|
704
709
|
id: z.uuid(),
|
|
705
|
-
is_bookmarked: z.
|
|
706
|
-
is_subscribed: z.
|
|
710
|
+
is_bookmarked: z.nullish(z.boolean()),
|
|
711
|
+
is_subscribed: z.nullish(z.boolean()),
|
|
707
712
|
issue_category: z.string(),
|
|
708
713
|
issue_type: z.string(),
|
|
709
714
|
last_release: z.string(),
|
|
710
715
|
last_seen: z.iso.datetime({ offset: true }),
|
|
711
|
-
level: z.
|
|
716
|
+
level: z.nullable(z.string()),
|
|
712
717
|
logger: z.string(),
|
|
713
|
-
platform: z.
|
|
714
|
-
priority:
|
|
715
|
-
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" })),
|
|
716
721
|
short_id: z.string(),
|
|
717
722
|
status: zIssueStatus,
|
|
718
723
|
status_details: z.record(z.string(), z.unknown()),
|
|
719
|
-
substatus: z.
|
|
724
|
+
substatus: z.nullable(z.string()),
|
|
720
725
|
title: z.string(),
|
|
721
|
-
trend: z.array(z.int())
|
|
722
|
-
user_count: z.
|
|
723
|
-
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()),
|
|
724
729
|
value: z.string()
|
|
725
730
|
});
|
|
726
731
|
/**
|
|
@@ -738,8 +743,8 @@ const zIssueStatusUpdate = z.enum([
|
|
|
738
743
|
*/
|
|
739
744
|
const zBulkUpdateIssues = z.object({
|
|
740
745
|
ids: z.array(z.uuid()),
|
|
741
|
-
priority:
|
|
742
|
-
status:
|
|
746
|
+
priority: z.nullish(zIssuePriority),
|
|
747
|
+
status: z.nullish(zIssueStatusUpdate)
|
|
743
748
|
});
|
|
744
749
|
/**
|
|
745
750
|
* A single tag value's usage within an issue — the shape `GET
|
|
@@ -761,15 +766,15 @@ const zIssueTagValue = z.object({
|
|
|
761
766
|
* and body footer replace theirs unless empty.
|
|
762
767
|
*/
|
|
763
768
|
const zIssueTemplate = z.object({
|
|
764
|
-
body_footer: z.
|
|
765
|
-
labels: z.array(z.string())
|
|
766
|
-
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())
|
|
767
772
|
});
|
|
768
773
|
/**
|
|
769
774
|
* `GET /api/github`: everything the integrations page needs in one answer.
|
|
770
775
|
*/
|
|
771
776
|
const zGitHubStatus = z.object({
|
|
772
|
-
app:
|
|
777
|
+
app: z.nullable(zGitHubAppInfo),
|
|
773
778
|
installations: z.array(zGitHubInstallation),
|
|
774
779
|
issue_template: zIssueTemplate,
|
|
775
780
|
webhook_url: z.string()
|
|
@@ -779,15 +784,15 @@ const zGitHubStatus = z.object({
|
|
|
779
784
|
* (`api/helpers/group_index/validators/group.py`) Rustrak acts on.
|
|
780
785
|
*/
|
|
781
786
|
const zIssueUpdate = z.object({
|
|
782
|
-
status: z.
|
|
783
|
-
substatus: z.
|
|
787
|
+
status: z.nullish(z.string()),
|
|
788
|
+
substatus: z.nullish(z.string())
|
|
784
789
|
});
|
|
785
790
|
/**
|
|
786
791
|
* How long ago a kind of data arrived: rows per age bucket, and the oldest.
|
|
787
792
|
*/
|
|
788
793
|
const zKindAge = z.object({
|
|
789
794
|
counts: z.array(z.int()),
|
|
790
|
-
oldest: z.iso.datetime({ offset: true })
|
|
795
|
+
oldest: z.nullable(z.iso.datetime({ offset: true }))
|
|
791
796
|
});
|
|
792
797
|
const zLinkGitHubIssue = z.object({ reference: z.string() });
|
|
793
798
|
const zLivenessResponse = z.object({ status: z.string() });
|
|
@@ -800,10 +805,10 @@ const zLogResponse = z.object({
|
|
|
800
805
|
id: z.uuid(),
|
|
801
806
|
ingested_at: z.iso.datetime({ offset: true }),
|
|
802
807
|
level: z.string(),
|
|
803
|
-
severity_number: z.int().
|
|
804
|
-
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()),
|
|
805
810
|
timestamp: z.iso.datetime({ offset: true }),
|
|
806
|
-
trace_id: z.
|
|
811
|
+
trace_id: z.nullable(z.string())
|
|
807
812
|
});
|
|
808
813
|
/**
|
|
809
814
|
* One bucket of the log volume: how many logs of each level it holds.
|
|
@@ -821,7 +826,7 @@ const zLoginRequest = z.object({
|
|
|
821
826
|
email: z.string(),
|
|
822
827
|
password: z.string()
|
|
823
828
|
});
|
|
824
|
-
const zManifestRequest = z.object({ organization: z.
|
|
829
|
+
const zManifestRequest = z.object({ organization: z.nullish(z.string()) });
|
|
825
830
|
/**
|
|
826
831
|
* What the dashboard posts to GitHub to create the app.
|
|
827
832
|
*/
|
|
@@ -838,20 +843,20 @@ const zMcpSettings = z.object({ enabled: z.boolean() });
|
|
|
838
843
|
*/
|
|
839
844
|
const zMcpStatus = z.object({
|
|
840
845
|
enabled: z.boolean(),
|
|
841
|
-
url: z.
|
|
846
|
+
url: z.nullable(z.string())
|
|
842
847
|
});
|
|
843
848
|
/**
|
|
844
849
|
* Someone who can be made a member.
|
|
845
850
|
*/
|
|
846
851
|
const zMemberCandidate = z.object({
|
|
847
852
|
email: z.string(),
|
|
848
|
-
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" }))
|
|
849
854
|
});
|
|
850
855
|
/**
|
|
851
856
|
* A role someone holds on a project.
|
|
852
857
|
*/
|
|
853
858
|
const zMemberRole = z.object({
|
|
854
|
-
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" })),
|
|
855
860
|
inherited: z.boolean(),
|
|
856
861
|
name: z.string()
|
|
857
862
|
});
|
|
@@ -865,7 +870,7 @@ const zMemberRole = z.object({
|
|
|
865
870
|
*/
|
|
866
871
|
const zMetricDelta = z.object({
|
|
867
872
|
current: z.int(),
|
|
868
|
-
previous: z.
|
|
873
|
+
previous: z.nullable(z.int())
|
|
869
874
|
});
|
|
870
875
|
/**
|
|
871
876
|
* Health of one monitor environment.
|
|
@@ -882,9 +887,9 @@ const zMonitorEnvironmentStatus = z.enum([
|
|
|
882
887
|
const zMonitorEnvironmentResponse = z.object({
|
|
883
888
|
environment: z.string(),
|
|
884
889
|
id: z.uuid(),
|
|
885
|
-
last_checkin: z.iso.datetime({ offset: true })
|
|
886
|
-
next_checkin: z.iso.datetime({ offset: true })
|
|
887
|
-
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 })),
|
|
888
893
|
recent_checkins: z.array(zCheckInResponse),
|
|
889
894
|
status: zMonitorEnvironmentStatus
|
|
890
895
|
});
|
|
@@ -892,7 +897,7 @@ const zMonitorEnvironmentResponse = z.object({
|
|
|
892
897
|
* The check-ins of one bucket, counted by status.
|
|
893
898
|
*/
|
|
894
899
|
const zMonitorStatsBucket = z.object({
|
|
895
|
-
avg_duration_ms: z.
|
|
900
|
+
avg_duration_ms: z.nullable(z.number()),
|
|
896
901
|
bucket: z.iso.datetime({ offset: true }),
|
|
897
902
|
duration_count: z.int(),
|
|
898
903
|
error: z.int(),
|
|
@@ -918,7 +923,7 @@ const zOAuthGrant = z.object({
|
|
|
918
923
|
client_id: z.string(),
|
|
919
924
|
client_name: z.string(),
|
|
920
925
|
created_at: z.iso.datetime({ offset: true }),
|
|
921
|
-
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" }))
|
|
922
927
|
});
|
|
923
928
|
/**
|
|
924
929
|
* Synthetic organization sentry-cli checks before uploading.
|
|
@@ -937,9 +942,9 @@ const zPreviewTemplateBody = z.object({ template: z.string() });
|
|
|
937
942
|
* `rendered` when `ok`, `error` otherwise.
|
|
938
943
|
*/
|
|
939
944
|
const zPreviewTemplateResponse = z.object({
|
|
940
|
-
error: z.
|
|
945
|
+
error: z.nullish(z.string()),
|
|
941
946
|
ok: z.boolean(),
|
|
942
|
-
rendered: z.
|
|
947
|
+
rendered: z.nullish(z.string())
|
|
943
948
|
});
|
|
944
949
|
/**
|
|
945
950
|
* A kind of data a project can keep, and a route in its sidebar.
|
|
@@ -960,7 +965,7 @@ const zProduct = z.enum([
|
|
|
960
965
|
const zProjectAge = z.object({
|
|
961
966
|
events: zKindAge,
|
|
962
967
|
logs: zKindAge,
|
|
963
|
-
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" })),
|
|
964
969
|
transactions: zKindAge
|
|
965
970
|
});
|
|
966
971
|
/**
|
|
@@ -984,19 +989,19 @@ const zProjectListStats = z.object({
|
|
|
984
989
|
const zProjectMember = z.object({
|
|
985
990
|
email: z.string(),
|
|
986
991
|
roles: z.array(zMemberRole),
|
|
987
|
-
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" }))
|
|
988
993
|
});
|
|
989
994
|
const zProjectRepository = z.object({
|
|
990
995
|
auto_create_conditions: z.record(z.string(), z.unknown()),
|
|
991
996
|
auto_create_issues: z.boolean(),
|
|
992
997
|
code_mappings: z.array(zCodeMapping),
|
|
993
|
-
codeowners_rules: z.int().gte(0)
|
|
994
|
-
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 })),
|
|
995
1000
|
default_branch: z.string(),
|
|
996
1001
|
html_url: z.string(),
|
|
997
1002
|
installation_id: z.int(),
|
|
998
1003
|
issue_template: zIssueTemplate,
|
|
999
|
-
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" })),
|
|
1000
1005
|
repo_full_name: z.string()
|
|
1001
1006
|
});
|
|
1002
1007
|
/**
|
|
@@ -1004,20 +1009,20 @@ const zProjectRepository = z.object({
|
|
|
1004
1009
|
*/
|
|
1005
1010
|
const zProjectResponse = z.object({
|
|
1006
1011
|
created_at: z.iso.datetime({ offset: true }),
|
|
1007
|
-
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" })),
|
|
1008
1013
|
disabled_products: z.array(zProduct),
|
|
1009
|
-
dsn: z.
|
|
1010
|
-
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" })),
|
|
1011
1016
|
name: z.string(),
|
|
1012
|
-
platform: z.
|
|
1017
|
+
platform: z.nullable(z.string()),
|
|
1013
1018
|
product_order: z.array(zProduct),
|
|
1014
|
-
rate_limit_per_hour: z.
|
|
1015
|
-
rate_limit_per_minute: z.
|
|
1019
|
+
rate_limit_per_hour: z.nullable(z.int()),
|
|
1020
|
+
rate_limit_per_minute: z.nullable(z.int()),
|
|
1016
1021
|
rate_limited_event_count: z.int(),
|
|
1017
|
-
sentry_key: z.
|
|
1022
|
+
sentry_key: z.nullable(z.string()),
|
|
1018
1023
|
slug: z.string(),
|
|
1019
|
-
stats:
|
|
1020
|
-
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" })),
|
|
1021
1026
|
updated_at: z.iso.datetime({ offset: true })
|
|
1022
1027
|
});
|
|
1023
1028
|
/**
|
|
@@ -1025,10 +1030,10 @@ const zProjectResponse = z.object({
|
|
|
1025
1030
|
* kind is set: an override replaces the defaults whole.
|
|
1026
1031
|
*/
|
|
1027
1032
|
const zProjectRetention = z.object({
|
|
1028
|
-
events_days: z.
|
|
1029
|
-
logs_days: z.
|
|
1030
|
-
project_id: z.int().
|
|
1031
|
-
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())
|
|
1032
1037
|
});
|
|
1033
1038
|
/**
|
|
1034
1039
|
* Project-wide counters for the overview page, each with its previous-period
|
|
@@ -1038,7 +1043,7 @@ const zProjectStatsSummary = z.object({
|
|
|
1038
1043
|
events: zMetricDelta,
|
|
1039
1044
|
new_issues: zMetricDelta,
|
|
1040
1045
|
open_issues: z.int(),
|
|
1041
|
-
period_hours: z.
|
|
1046
|
+
period_hours: z.nullable(z.int())
|
|
1042
1047
|
});
|
|
1043
1048
|
z.object({
|
|
1044
1049
|
estimated_bytes: z.int(),
|
|
@@ -1046,7 +1051,7 @@ z.object({
|
|
|
1046
1051
|
events_count: z.int(),
|
|
1047
1052
|
logs_bytes: z.int(),
|
|
1048
1053
|
logs_count: z.int(),
|
|
1049
|
-
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" })),
|
|
1050
1055
|
project_name: z.string(),
|
|
1051
1056
|
source_maps_count: z.int(),
|
|
1052
1057
|
spans_count: z.int(),
|
|
@@ -1068,12 +1073,12 @@ const zProviderType = z.enum([
|
|
|
1068
1073
|
const zAlertIntegration = z.object({
|
|
1069
1074
|
created_at: z.iso.datetime({ offset: true }),
|
|
1070
1075
|
credentials: z.record(z.string(), z.unknown()),
|
|
1071
|
-
failure_count: z.int().
|
|
1072
|
-
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" })),
|
|
1073
1078
|
is_enabled: z.boolean(),
|
|
1074
|
-
last_failure_at: z.iso.datetime({ offset: true })
|
|
1075
|
-
last_failure_message: z.
|
|
1076
|
-
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 })),
|
|
1077
1082
|
name: z.string(),
|
|
1078
1083
|
provider_type: zProviderType,
|
|
1079
1084
|
updated_at: z.iso.datetime({ offset: true })
|
|
@@ -1083,7 +1088,7 @@ const zAlertIntegration = z.object({
|
|
|
1083
1088
|
*/
|
|
1084
1089
|
const zCreateAlertIntegration = z.object({
|
|
1085
1090
|
credentials: z.record(z.string(), z.unknown()),
|
|
1086
|
-
is_enabled: z.
|
|
1091
|
+
is_enabled: z.optional(z.boolean()),
|
|
1087
1092
|
name: z.string(),
|
|
1088
1093
|
provider_type: zProviderType
|
|
1089
1094
|
});
|
|
@@ -1094,15 +1099,18 @@ const zRateLimitsResponse = z.object({
|
|
|
1094
1099
|
project_per_hour: z.int(),
|
|
1095
1100
|
project_per_minute: z.int()
|
|
1096
1101
|
});
|
|
1097
|
-
const zReadinessChecks = z.object({
|
|
1102
|
+
const zReadinessChecks = z.object({
|
|
1103
|
+
database: z.string(),
|
|
1104
|
+
digest: z.string()
|
|
1105
|
+
});
|
|
1098
1106
|
const zReadinessResponse = z.object({
|
|
1099
1107
|
checks: zReadinessChecks,
|
|
1100
1108
|
status: z.string()
|
|
1101
1109
|
});
|
|
1102
1110
|
z.object({
|
|
1103
1111
|
abnormal: z.int(),
|
|
1104
|
-
crash_free_sessions_rate: z.
|
|
1105
|
-
crash_free_users_rate: z.
|
|
1112
|
+
crash_free_sessions_rate: z.nullable(z.number()),
|
|
1113
|
+
crash_free_users_rate: z.nullable(z.number()),
|
|
1106
1114
|
crashed: z.int(),
|
|
1107
1115
|
environment: z.string(),
|
|
1108
1116
|
errored: z.int(),
|
|
@@ -1115,9 +1123,9 @@ z.object({
|
|
|
1115
1123
|
*/
|
|
1116
1124
|
const zReleaseResponse = z.object({
|
|
1117
1125
|
dateCreated: z.iso.datetime({ offset: true }),
|
|
1118
|
-
dateReleased: z.iso.datetime({ offset: true })
|
|
1119
|
-
ref: z.
|
|
1120
|
-
url: z.
|
|
1126
|
+
dateReleased: z.nullable(z.iso.datetime({ offset: true })),
|
|
1127
|
+
ref: z.nullable(z.string()),
|
|
1128
|
+
url: z.nullable(z.string()),
|
|
1121
1129
|
version: z.string()
|
|
1122
1130
|
});
|
|
1123
1131
|
/**
|
|
@@ -1129,24 +1137,24 @@ const zReleaseResponse = z.object({
|
|
|
1129
1137
|
* so a release keeps its age however narrow the window.
|
|
1130
1138
|
*/
|
|
1131
1139
|
const zReleaseSummary = z.object({
|
|
1132
|
-
adoption: z.
|
|
1133
|
-
crash_free_sessions: z.
|
|
1134
|
-
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()),
|
|
1135
1143
|
crashed: z.int(),
|
|
1136
1144
|
date_created: z.iso.datetime({ offset: true }),
|
|
1137
|
-
date_released: z.iso.datetime({ offset: true })
|
|
1145
|
+
date_released: z.nullable(z.iso.datetime({ offset: true })),
|
|
1138
1146
|
environments: z.array(z.string()),
|
|
1139
1147
|
event_count: z.int(),
|
|
1140
|
-
first_event: z.iso.datetime({ offset: true })
|
|
1141
|
-
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 })),
|
|
1142
1150
|
new_issues: z.int(),
|
|
1143
|
-
ref: z.
|
|
1151
|
+
ref: z.nullable(z.string()),
|
|
1144
1152
|
sessions: z.int(),
|
|
1145
|
-
url: z.
|
|
1153
|
+
url: z.nullable(z.string()),
|
|
1146
1154
|
version: z.string()
|
|
1147
1155
|
});
|
|
1148
1156
|
const zRepoCommit = z.object({
|
|
1149
|
-
author_login: z.
|
|
1157
|
+
author_login: z.nullable(z.string()),
|
|
1150
1158
|
author_name: z.string(),
|
|
1151
1159
|
committed_at: z.iso.datetime({ offset: true }),
|
|
1152
1160
|
message: z.string(),
|
|
@@ -1201,11 +1209,11 @@ const zPermission = z.object({
|
|
|
1201
1209
|
*/
|
|
1202
1210
|
const zAuthTokenCreatedResponse = z.object({
|
|
1203
1211
|
created_at: z.iso.datetime({ offset: true }),
|
|
1204
|
-
description: z.
|
|
1205
|
-
expires_at: z.iso.datetime({ offset: true })
|
|
1206
|
-
id: z.int().
|
|
1207
|
-
permissions: z.array(zPermission)
|
|
1208
|
-
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" })))),
|
|
1209
1217
|
token: z.string()
|
|
1210
1218
|
});
|
|
1211
1219
|
/**
|
|
@@ -1213,34 +1221,34 @@ const zAuthTokenCreatedResponse = z.object({
|
|
|
1213
1221
|
*/
|
|
1214
1222
|
const zAuthTokenResponse = z.object({
|
|
1215
1223
|
created_at: z.iso.datetime({ offset: true }),
|
|
1216
|
-
description: z.
|
|
1217
|
-
expires_at: z.iso.datetime({ offset: true })
|
|
1218
|
-
id: z.int().
|
|
1219
|
-
last_used_at: z.iso.datetime({ offset: true })
|
|
1220
|
-
permissions: z.array(zPermission)
|
|
1221
|
-
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" })))),
|
|
1222
1230
|
token_prefix: z.string(),
|
|
1223
|
-
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" })))
|
|
1224
1232
|
});
|
|
1225
1233
|
/**
|
|
1226
1234
|
* DTO for creating a new token
|
|
1227
1235
|
*/
|
|
1228
1236
|
const zCreateAuthToken = z.object({
|
|
1229
|
-
description: z.
|
|
1230
|
-
expires_at: z.iso.datetime({ offset: true })
|
|
1231
|
-
permissions: z.array(zPermission)
|
|
1232
|
-
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" }))))
|
|
1233
1241
|
});
|
|
1234
1242
|
/**
|
|
1235
1243
|
* Permissions given to one person directly, without a role of the list.
|
|
1236
1244
|
*/
|
|
1237
1245
|
const zPersonalAccess = z.object({
|
|
1238
1246
|
permissions: z.array(zPermission),
|
|
1239
|
-
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" }))))
|
|
1240
1248
|
});
|
|
1241
1249
|
const zProjectPermissions = z.object({
|
|
1242
1250
|
permissions: z.array(zPermission),
|
|
1243
|
-
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" }))
|
|
1244
1252
|
});
|
|
1245
1253
|
/**
|
|
1246
1254
|
* What the caller may do. An owner may do everything and gets empty lists.
|
|
@@ -1255,9 +1263,9 @@ const zMyAccess = z.object({
|
|
|
1255
1263
|
* How the last retention cleanup went.
|
|
1256
1264
|
*/
|
|
1257
1265
|
const zRetentionRun = z.object({
|
|
1258
|
-
error: z.
|
|
1259
|
-
finished_at: z.iso.datetime({ offset: true })
|
|
1260
|
-
removed:
|
|
1266
|
+
error: z.nullable(z.string()),
|
|
1267
|
+
finished_at: z.nullable(z.iso.datetime({ offset: true })),
|
|
1268
|
+
removed: z.nullable(zCleanupCounts),
|
|
1261
1269
|
started_at: z.iso.datetime({ offset: true }),
|
|
1262
1270
|
status: z.string()
|
|
1263
1271
|
});
|
|
@@ -1265,9 +1273,9 @@ const zRetentionRun = z.object({
|
|
|
1265
1273
|
* How long each kind of data is kept, in days. `None` keeps it forever.
|
|
1266
1274
|
*/
|
|
1267
1275
|
const zRetentionWindows = z.object({
|
|
1268
|
-
events_days: z.
|
|
1269
|
-
logs_days: z.
|
|
1270
|
-
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)
|
|
1271
1279
|
});
|
|
1272
1280
|
/**
|
|
1273
1281
|
* Retention: how long each kind of data is kept, by default and per
|
|
@@ -1276,19 +1284,19 @@ const zRetentionWindows = z.object({
|
|
|
1276
1284
|
* its default. Keeping everything forever runs nothing.
|
|
1277
1285
|
*/
|
|
1278
1286
|
const zRetentionSettings = z.object({
|
|
1279
|
-
defaults:
|
|
1287
|
+
defaults: z._default(zRetentionWindows, {
|
|
1280
1288
|
events_days: null,
|
|
1281
1289
|
logs_days: null,
|
|
1282
1290
|
transactions_days: null
|
|
1283
1291
|
}),
|
|
1284
|
-
frequency:
|
|
1285
|
-
hour: z.int().gte(0).lte(23)
|
|
1286
|
-
overrides: z.array(zProjectRetention)
|
|
1287
|
-
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)
|
|
1288
1296
|
});
|
|
1289
1297
|
const zRetentionResponse = z.object({
|
|
1290
|
-
last_run:
|
|
1291
|
-
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 })),
|
|
1292
1300
|
settings: zRetentionSettings
|
|
1293
1301
|
});
|
|
1294
1302
|
/**
|
|
@@ -1298,7 +1306,7 @@ const zRole = z.object({
|
|
|
1298
1306
|
assignment_count: z.int(),
|
|
1299
1307
|
created_at: z.iso.datetime({ offset: true }),
|
|
1300
1308
|
description: z.string(),
|
|
1301
|
-
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" })),
|
|
1302
1310
|
name: z.string(),
|
|
1303
1311
|
permissions: z.array(zPermission)
|
|
1304
1312
|
});
|
|
@@ -1308,20 +1316,20 @@ const zRole = z.object({
|
|
|
1308
1316
|
*/
|
|
1309
1317
|
const zRoleAssignment = z.object({
|
|
1310
1318
|
created_at: z.iso.datetime({ offset: true }),
|
|
1311
|
-
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" })),
|
|
1312
1320
|
is_personal: z.boolean(),
|
|
1313
|
-
project_id: z.int().
|
|
1314
|
-
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" })),
|
|
1315
1323
|
role_name: z.string(),
|
|
1316
|
-
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" }))
|
|
1317
1325
|
});
|
|
1318
1326
|
const zRoleInput = z.object({
|
|
1319
|
-
description: z.
|
|
1327
|
+
description: z.optional(z.string()),
|
|
1320
1328
|
name: z.string(),
|
|
1321
1329
|
permissions: z.array(zPermission)
|
|
1322
1330
|
});
|
|
1323
1331
|
const zRoleRef = z.object({
|
|
1324
|
-
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" })),
|
|
1325
1333
|
name: z.string()
|
|
1326
1334
|
});
|
|
1327
1335
|
/**
|
|
@@ -1337,16 +1345,16 @@ const zSchedule = z.union([z.object({
|
|
|
1337
1345
|
}), z.object({
|
|
1338
1346
|
type: z.enum(["interval"]),
|
|
1339
1347
|
unit: zIntervalUnit,
|
|
1340
|
-
value: z.int().gte(0).
|
|
1348
|
+
value: z.int().check(z.gte(0), z.maximum(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }))
|
|
1341
1349
|
})]);
|
|
1342
1350
|
/**
|
|
1343
1351
|
* A validated monitor configuration, with every default filled in.
|
|
1344
1352
|
*/
|
|
1345
1353
|
const zMonitorConfig = z.object({
|
|
1346
|
-
checkin_margin: z.int().gte(0).
|
|
1347
|
-
failure_issue_threshold: z.int().gte(0).
|
|
1348
|
-
max_runtime: z.int().gte(0).
|
|
1349
|
-
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" })),
|
|
1350
1358
|
schedule: zSchedule,
|
|
1351
1359
|
timezone: z.string()
|
|
1352
1360
|
});
|
|
@@ -1354,12 +1362,12 @@ const zMonitorConfig = z.object({
|
|
|
1354
1362
|
* `monitor_config` as an SDK or the dashboard sends it: every field optional.
|
|
1355
1363
|
*/
|
|
1356
1364
|
const zMonitorConfigInput = z.object({
|
|
1357
|
-
checkin_margin: z.int().gte(0)
|
|
1358
|
-
failure_issue_threshold: z.int().gte(0)
|
|
1359
|
-
max_runtime: z.int().gte(0)
|
|
1360
|
-
recovery_threshold: z.int().gte(0)
|
|
1361
|
-
schedule:
|
|
1362
|
-
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())
|
|
1363
1371
|
});
|
|
1364
1372
|
/**
|
|
1365
1373
|
* Body of `POST /api/projects/{project_id}/monitors`.
|
|
@@ -1367,7 +1375,7 @@ const zMonitorConfigInput = z.object({
|
|
|
1367
1375
|
const zCreateMonitor = z.object({
|
|
1368
1376
|
config: zMonitorConfigInput,
|
|
1369
1377
|
name: z.string(),
|
|
1370
|
-
slug: z.
|
|
1378
|
+
slug: z.nullish(z.string())
|
|
1371
1379
|
});
|
|
1372
1380
|
const zMonitorResponse = z.object({
|
|
1373
1381
|
config: zMonitorConfig,
|
|
@@ -1383,7 +1391,7 @@ const zMonitorResponse = z.object({
|
|
|
1383
1391
|
*/
|
|
1384
1392
|
const zPreviewSchedule = z.object({
|
|
1385
1393
|
schedule: zSchedule,
|
|
1386
|
-
timezone: z.
|
|
1394
|
+
timezone: z.nullish(z.string())
|
|
1387
1395
|
});
|
|
1388
1396
|
/**
|
|
1389
1397
|
* When a schedule runs next, computed by the code that runs it: monitors
|
|
@@ -1408,7 +1416,7 @@ const zSeenResponse = z.object({ has_seen: z.boolean() });
|
|
|
1408
1416
|
const zSentryGroupProject = z.object({
|
|
1409
1417
|
id: z.string(),
|
|
1410
1418
|
name: z.string(),
|
|
1411
|
-
platform: z.
|
|
1419
|
+
platform: z.nullable(z.string()),
|
|
1412
1420
|
slug: z.string()
|
|
1413
1421
|
});
|
|
1414
1422
|
/**
|
|
@@ -1426,16 +1434,16 @@ const zSentryIssue = z.object({
|
|
|
1426
1434
|
issueType: z.string(),
|
|
1427
1435
|
lastSeen: z.iso.datetime({ offset: true }),
|
|
1428
1436
|
level: z.string(),
|
|
1429
|
-
logger: z.
|
|
1437
|
+
logger: z.nullable(z.string()),
|
|
1430
1438
|
metadata: z.record(z.string(), z.unknown()),
|
|
1431
|
-
platform: z.
|
|
1432
|
-
priority: z.
|
|
1439
|
+
platform: z.nullable(z.string()),
|
|
1440
|
+
priority: z.nullable(z.string()),
|
|
1433
1441
|
project: zSentryGroupProject,
|
|
1434
1442
|
shortId: z.string(),
|
|
1435
|
-
stats: z.record(z.string(), z.unknown())
|
|
1443
|
+
stats: z.nullish(z.record(z.string(), z.unknown())),
|
|
1436
1444
|
status: z.string(),
|
|
1437
1445
|
statusDetails: z.record(z.string(), z.unknown()),
|
|
1438
|
-
substatus: z.
|
|
1446
|
+
substatus: z.nullable(z.string()),
|
|
1439
1447
|
title: z.string(),
|
|
1440
1448
|
type: z.string(),
|
|
1441
1449
|
userCount: z.int()
|
|
@@ -1453,9 +1461,9 @@ const zSentryRelease = z.object({
|
|
|
1453
1461
|
* Subset of `GroupDetailsEndpoint`'s response
|
|
1454
1462
|
* (`issues/endpoints/group_details.py`).
|
|
1455
1463
|
*/
|
|
1456
|
-
const zSentryIssueDetails =
|
|
1457
|
-
firstRelease:
|
|
1458
|
-
lastRelease:
|
|
1464
|
+
const zSentryIssueDetails = z.intersection(zSentryIssue, z.object({
|
|
1465
|
+
firstRelease: z.nullable(zSentryRelease),
|
|
1466
|
+
lastRelease: z.nullable(zSentryRelease),
|
|
1459
1467
|
userReportCount: z.int()
|
|
1460
1468
|
}));
|
|
1461
1469
|
/**
|
|
@@ -1484,7 +1492,7 @@ const zSentryProject = z.object({
|
|
|
1484
1492
|
id: z.string(),
|
|
1485
1493
|
name: z.string(),
|
|
1486
1494
|
organization: zSentryOrganization,
|
|
1487
|
-
platform: z.
|
|
1495
|
+
platform: z.nullable(z.string()),
|
|
1488
1496
|
slug: z.string(),
|
|
1489
1497
|
status: z.string()
|
|
1490
1498
|
});
|
|
@@ -1528,10 +1536,10 @@ const zSentryUserReport = z.object({
|
|
|
1528
1536
|
* Request body of a user report.
|
|
1529
1537
|
*/
|
|
1530
1538
|
const zSentryUserReportRequest = z.object({
|
|
1531
|
-
comments: z.
|
|
1532
|
-
email: z.
|
|
1539
|
+
comments: z.nullish(z.string()),
|
|
1540
|
+
email: z.nullish(z.string()),
|
|
1533
1541
|
event_id: z.string(),
|
|
1534
|
-
name: z.
|
|
1542
|
+
name: z.nullish(z.string())
|
|
1535
1543
|
});
|
|
1536
1544
|
/**
|
|
1537
1545
|
* Project-wide session health summary, aggregated across all releases and environments.
|
|
@@ -1539,8 +1547,8 @@ const zSentryUserReportRequest = z.object({
|
|
|
1539
1547
|
const zSessionSummary = z.object({
|
|
1540
1548
|
abnormal: z.int(),
|
|
1541
1549
|
active_releases: z.int(),
|
|
1542
|
-
crash_free_sessions_rate: z.
|
|
1543
|
-
crash_free_users_rate: z.
|
|
1550
|
+
crash_free_sessions_rate: z.nullable(z.number()),
|
|
1551
|
+
crash_free_users_rate: z.nullable(z.number()),
|
|
1544
1552
|
crashed: z.int(),
|
|
1545
1553
|
errored: z.int(),
|
|
1546
1554
|
total: z.int()
|
|
@@ -1551,7 +1559,7 @@ const zSessionSummary = z.object({
|
|
|
1551
1559
|
*/
|
|
1552
1560
|
const zSessionTimeseriesPoint = z.object({
|
|
1553
1561
|
bucket: z.iso.datetime({ offset: true }),
|
|
1554
|
-
crash_free_sessions_rate: z.
|
|
1562
|
+
crash_free_sessions_rate: z.nullable(z.number()),
|
|
1555
1563
|
crashed: z.int(),
|
|
1556
1564
|
total: z.int()
|
|
1557
1565
|
});
|
|
@@ -1560,11 +1568,19 @@ const zSessionTimeseriesPoint = z.object({
|
|
|
1560
1568
|
*/
|
|
1561
1569
|
const zSetAccess = z.object({
|
|
1562
1570
|
assignments: z.array(zAssignmentInput),
|
|
1563
|
-
personal:
|
|
1571
|
+
personal: z.nullish(zPersonalAccess)
|
|
1572
|
+
});
|
|
1573
|
+
/**
|
|
1574
|
+
* Body of `PUT /api/projects/{project_id}/views/default`.
|
|
1575
|
+
*/
|
|
1576
|
+
const zSetDefaultView = z.object({
|
|
1577
|
+
page: z.string(),
|
|
1578
|
+
scope: zDefaultScope,
|
|
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" })))
|
|
1564
1580
|
});
|
|
1565
1581
|
const zSetProjectMember = z.object({
|
|
1566
|
-
role_ids: z.array(z.int().
|
|
1567
|
-
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" }))
|
|
1568
1584
|
});
|
|
1569
1585
|
/**
|
|
1570
1586
|
* Sort order direction
|
|
@@ -1574,8 +1590,8 @@ const zSourceMapFile = z.object({
|
|
|
1574
1590
|
dateUploaded: z.string(),
|
|
1575
1591
|
debugId: z.string(),
|
|
1576
1592
|
fileType: z.string(),
|
|
1577
|
-
size: z.int().
|
|
1578
|
-
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" }))
|
|
1579
1595
|
});
|
|
1580
1596
|
/**
|
|
1581
1597
|
* Outcome of a source-map garbage collection: orphaned `source_file` rows
|
|
@@ -1606,32 +1622,32 @@ const zSourceMapStorage = z.object({
|
|
|
1606
1622
|
* table, so `transaction_id` is the only thing that distinguishes them.
|
|
1607
1623
|
*/
|
|
1608
1624
|
const zSpanResponse = z.object({
|
|
1609
|
-
description: z.
|
|
1610
|
-
duration_ms: z.
|
|
1611
|
-
environment: z.
|
|
1612
|
-
exclusive_time_ms: z.
|
|
1613
|
-
gen_ai_agent_name: z.
|
|
1614
|
-
gen_ai_conversation_id: z.
|
|
1615
|
-
gen_ai_operation_type: z.
|
|
1616
|
-
gen_ai_request_model: z.
|
|
1617
|
-
gen_ai_response_model: z.
|
|
1618
|
-
gen_ai_tool_name: z.
|
|
1619
|
-
gen_ai_usage_input_tokens: z.
|
|
1620
|
-
gen_ai_usage_output_tokens: z.
|
|
1621
|
-
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()),
|
|
1622
1638
|
id: z.uuid(),
|
|
1623
1639
|
is_segment: z.boolean(),
|
|
1624
|
-
op: z.
|
|
1625
|
-
parent_span_id: z.
|
|
1626
|
-
platform: z.
|
|
1627
|
-
release: z.
|
|
1628
|
-
segment_id: z.
|
|
1629
|
-
span_id: z.
|
|
1630
|
-
start_timestamp: z.iso.datetime({ offset: true })
|
|
1631
|
-
status: z.
|
|
1632
|
-
timestamp: z.iso.datetime({ offset: true })
|
|
1633
|
-
trace_id: z.
|
|
1634
|
-
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())
|
|
1635
1651
|
});
|
|
1636
1652
|
/**
|
|
1637
1653
|
* One span with its full attribute bag — the detail counterpart to
|
|
@@ -1644,14 +1660,14 @@ const zSpanResponse = z.object({
|
|
|
1644
1660
|
* time instead, which is also how Sentry's own agent drawer works — the span
|
|
1645
1661
|
* list is light and the details panel loads the selected node's attributes.
|
|
1646
1662
|
*/
|
|
1647
|
-
const zSpanDetailResponse =
|
|
1663
|
+
const zSpanDetailResponse = z.intersection(zSpanResponse, z.object({
|
|
1648
1664
|
attributes: z.record(z.string(), z.unknown()),
|
|
1649
|
-
tags: z.record(z.string(), z.unknown())
|
|
1665
|
+
tags: z.nullable(z.record(z.string(), z.unknown()))
|
|
1650
1666
|
}));
|
|
1651
1667
|
const zSsoConfigResponse = z.object({
|
|
1652
1668
|
enabled: z.boolean(),
|
|
1653
1669
|
password_login_enabled: z.boolean(),
|
|
1654
|
-
provider_name: z.
|
|
1670
|
+
provider_name: z.nullable(z.string())
|
|
1655
1671
|
});
|
|
1656
1672
|
const zSsoLinkResponse = z.object({
|
|
1657
1673
|
email: z.string(),
|
|
@@ -1695,7 +1711,7 @@ const zTagValueCount = z.object({
|
|
|
1695
1711
|
const zTagSummary = z.object({
|
|
1696
1712
|
key: z.string(),
|
|
1697
1713
|
top_values: z.array(zTagValueCount),
|
|
1698
|
-
total_values: z.int().gte(0)
|
|
1714
|
+
total_values: z.int().check(z.gte(0))
|
|
1699
1715
|
});
|
|
1700
1716
|
/**
|
|
1701
1717
|
* Per-issue aggregates computed from recent events (capped scan).
|
|
@@ -1706,26 +1722,26 @@ const zIssueAggregates = z.object({
|
|
|
1706
1722
|
});
|
|
1707
1723
|
const zTelemetryPreview = z.object({
|
|
1708
1724
|
enabled: z.boolean(),
|
|
1709
|
-
reason: z.
|
|
1725
|
+
reason: z.nullable(z.string()),
|
|
1710
1726
|
report: z.record(z.string(), z.unknown()),
|
|
1711
|
-
sink: z.
|
|
1727
|
+
sink: z.nullable(z.string())
|
|
1712
1728
|
});
|
|
1713
1729
|
/**
|
|
1714
1730
|
* Outcome of a test notification.
|
|
1715
1731
|
*/
|
|
1716
1732
|
const zTestChannelResponse = z.object({
|
|
1717
1733
|
message: z.string(),
|
|
1718
|
-
response_body: z.
|
|
1734
|
+
response_body: z.nullable(z.string()),
|
|
1719
1735
|
success: z.boolean()
|
|
1720
1736
|
});
|
|
1721
1737
|
/**
|
|
1722
1738
|
* Request body for the test-integration endpoint.
|
|
1723
1739
|
*/
|
|
1724
|
-
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())) });
|
|
1725
1741
|
/**
|
|
1726
1742
|
* Body for toggling a per-user flag (bookmark/subscription).
|
|
1727
1743
|
*/
|
|
1728
|
-
const zToggleRequest = z.object({ enabled: z.
|
|
1744
|
+
const zToggleRequest = z.object({ enabled: z.nullish(z.boolean()) });
|
|
1729
1745
|
/**
|
|
1730
1746
|
* Response model for a single transaction detail view.
|
|
1731
1747
|
*
|
|
@@ -1736,27 +1752,27 @@ const zToggleRequest = z.object({ enabled: z.boolean().nullish() });
|
|
|
1736
1752
|
*/
|
|
1737
1753
|
const zTransactionDetailResponse = z.object({
|
|
1738
1754
|
data: z.record(z.string(), z.unknown()),
|
|
1739
|
-
duration_ms: z.
|
|
1755
|
+
duration_ms: z.nullable(z.number()),
|
|
1740
1756
|
environment: z.string(),
|
|
1741
1757
|
event_id: z.string(),
|
|
1742
1758
|
id: z.uuid(),
|
|
1743
1759
|
ingested_at: z.iso.datetime({ offset: true }),
|
|
1744
1760
|
platform: z.string(),
|
|
1745
1761
|
release: z.string(),
|
|
1746
|
-
start_timestamp: z.iso.datetime({ offset: true })
|
|
1762
|
+
start_timestamp: z.nullable(z.iso.datetime({ offset: true })),
|
|
1747
1763
|
timestamp: z.iso.datetime({ offset: true }),
|
|
1748
1764
|
transaction_name: z.string()
|
|
1749
1765
|
});
|
|
1750
1766
|
z.object({
|
|
1751
|
-
duration_ms: z.
|
|
1767
|
+
duration_ms: z.nullable(z.number()),
|
|
1752
1768
|
environment: z.string(),
|
|
1753
1769
|
event_id: z.string(),
|
|
1754
1770
|
id: z.uuid(),
|
|
1755
1771
|
ingested_at: z.iso.datetime({ offset: true }),
|
|
1756
1772
|
platform: z.string(),
|
|
1757
1773
|
release: z.string(),
|
|
1758
|
-
start_timestamp: z.iso.datetime({ offset: true })
|
|
1759
|
-
status: z.
|
|
1774
|
+
start_timestamp: z.nullable(z.iso.datetime({ offset: true })),
|
|
1775
|
+
status: z.nullable(z.string()),
|
|
1760
1776
|
timestamp: z.iso.datetime({ offset: true }),
|
|
1761
1777
|
transaction_name: z.string()
|
|
1762
1778
|
});
|
|
@@ -1771,7 +1787,7 @@ const zTransactionStatsResponse = z.object({
|
|
|
1771
1787
|
count: z.int(),
|
|
1772
1788
|
failure_rate: z.number(),
|
|
1773
1789
|
last_seen: z.iso.datetime({ offset: true }),
|
|
1774
|
-
op: z.
|
|
1790
|
+
op: z.nullable(z.string()),
|
|
1775
1791
|
p50_ms: z.number(),
|
|
1776
1792
|
p95_ms: z.number(),
|
|
1777
1793
|
p99_ms: z.number(),
|
|
@@ -1794,20 +1810,20 @@ const zTransactionTimeseriesPoint = z.object({
|
|
|
1794
1810
|
* DTO for updating an alert integration
|
|
1795
1811
|
*/
|
|
1796
1812
|
const zUpdateAlertIntegration = z.object({
|
|
1797
|
-
credentials: z.record(z.string(), z.unknown())
|
|
1798
|
-
is_enabled: z.
|
|
1799
|
-
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())
|
|
1800
1816
|
});
|
|
1801
1817
|
/**
|
|
1802
1818
|
* DTO for updating an alert rule
|
|
1803
1819
|
*/
|
|
1804
1820
|
const zUpdateAlertRule = z.object({
|
|
1805
|
-
alert_type:
|
|
1806
|
-
channels: z.array(zAlertRuleChannelInput)
|
|
1807
|
-
conditions: z.record(z.string(), z.unknown())
|
|
1808
|
-
cooldown_minutes: z.int().
|
|
1809
|
-
is_enabled: z.
|
|
1810
|
-
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())
|
|
1811
1827
|
});
|
|
1812
1828
|
/**
|
|
1813
1829
|
* Request to update issue state.
|
|
@@ -1815,20 +1831,20 @@ const zUpdateAlertRule = z.object({
|
|
|
1815
1831
|
* `status`/`substatus`/`priority`/assignment, as in Sentry.
|
|
1816
1832
|
*/
|
|
1817
1833
|
const zUpdateIssueState = z.object({
|
|
1818
|
-
assigned_to: z.int().
|
|
1819
|
-
assignee_type: z.
|
|
1820
|
-
priority:
|
|
1821
|
-
status:
|
|
1822
|
-
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())
|
|
1823
1839
|
});
|
|
1824
1840
|
/**
|
|
1825
1841
|
* Body of `PUT /api/projects/{project_id}/monitors/{slug}`. Fields left out
|
|
1826
1842
|
* keep their value, including each field of `config`.
|
|
1827
1843
|
*/
|
|
1828
1844
|
const zUpdateMonitor = z.object({
|
|
1829
|
-
config:
|
|
1830
|
-
is_muted: z.
|
|
1831
|
-
name: z.
|
|
1845
|
+
config: z.nullish(zMonitorConfigInput),
|
|
1846
|
+
is_muted: z.nullish(z.boolean()),
|
|
1847
|
+
name: z.nullish(z.string())
|
|
1832
1848
|
});
|
|
1833
1849
|
/**
|
|
1834
1850
|
* What a reader may change about how the dashboard is presented to them.
|
|
@@ -1839,27 +1855,28 @@ const zUpdateMonitor = z.object({
|
|
|
1839
1855
|
* `Option<Option<T>>` collapses a missing key and an explicit null.
|
|
1840
1856
|
*/
|
|
1841
1857
|
const zUpdatePreferencesRequest = z.object({
|
|
1842
|
-
|
|
1843
|
-
|
|
1858
|
+
clock_24h: z.nullish(z.boolean()),
|
|
1859
|
+
language: z.nullish(z.string()),
|
|
1860
|
+
timezone: z.nullish(z.string())
|
|
1844
1861
|
});
|
|
1845
1862
|
/**
|
|
1846
1863
|
* DTO for updating a project
|
|
1847
1864
|
*/
|
|
1848
1865
|
const zUpdateProject = z.object({
|
|
1849
|
-
disabled_products: z.array(zProduct)
|
|
1850
|
-
name: z.
|
|
1851
|
-
platform: z.
|
|
1852
|
-
product_order: z.array(zProduct)
|
|
1853
|
-
rate_limit_per_hour: z.
|
|
1854
|
-
rate_limit_per_minute: z.
|
|
1855
|
-
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())
|
|
1856
1873
|
});
|
|
1857
1874
|
const zUpdateProjectRepository = z.object({
|
|
1858
|
-
auto_create_conditions: z.record(z.string(), z.unknown())
|
|
1859
|
-
auto_create_issues: z.
|
|
1860
|
-
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)),
|
|
1861
1878
|
installation_id: z.int(),
|
|
1862
|
-
issue_template:
|
|
1879
|
+
issue_template: z.nullish(zIssueTemplate),
|
|
1863
1880
|
repo_full_name: z.string()
|
|
1864
1881
|
});
|
|
1865
1882
|
/**
|
|
@@ -1869,9 +1886,9 @@ const zUpdateProjectRepository = z.object({
|
|
|
1869
1886
|
* unchanged, matching Sentry's own partial-update semantics for this endpoint.
|
|
1870
1887
|
*/
|
|
1871
1888
|
const zUpdateRelease = z.object({
|
|
1872
|
-
dateReleased: z.iso.datetime({ offset: true })
|
|
1873
|
-
ref: z.
|
|
1874
|
-
url: z.
|
|
1889
|
+
dateReleased: z.nullish(z.iso.datetime({ offset: true })),
|
|
1890
|
+
ref: z.nullish(z.string()),
|
|
1891
|
+
url: z.nullish(z.string())
|
|
1875
1892
|
});
|
|
1876
1893
|
/**
|
|
1877
1894
|
* Everything a user holds.
|
|
@@ -1887,20 +1904,20 @@ const zUserReport = z.object({
|
|
|
1887
1904
|
comments: z.string(),
|
|
1888
1905
|
created_at: z.iso.datetime({ offset: true }),
|
|
1889
1906
|
email: z.string(),
|
|
1890
|
-
event_id: z.
|
|
1907
|
+
event_id: z.nullable(z.uuid()),
|
|
1891
1908
|
id: z.uuid(),
|
|
1892
|
-
issue_id: z.
|
|
1909
|
+
issue_id: z.nullable(z.uuid()),
|
|
1893
1910
|
name: z.string(),
|
|
1894
|
-
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" }))
|
|
1895
1912
|
});
|
|
1896
1913
|
/**
|
|
1897
1914
|
* Body for submitting user feedback on an issue.
|
|
1898
1915
|
*/
|
|
1899
1916
|
const zUserReportRequest = z.object({
|
|
1900
|
-
comments: z.
|
|
1901
|
-
email: z.
|
|
1902
|
-
event_id: z.
|
|
1903
|
-
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())
|
|
1904
1921
|
});
|
|
1905
1922
|
/**
|
|
1906
1923
|
* Instance-wide role for a user.
|
|
@@ -1911,10 +1928,10 @@ const zUserReportRequest = z.object({
|
|
|
1911
1928
|
const zUserRole = z.enum(["admin", "member"]);
|
|
1912
1929
|
const zCreateInvitation = z.object({
|
|
1913
1930
|
email: z.string(),
|
|
1914
|
-
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" }))),
|
|
1915
1932
|
role: zUserRole,
|
|
1916
|
-
role_id: z.int().
|
|
1917
|
-
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())
|
|
1918
1935
|
});
|
|
1919
1936
|
/**
|
|
1920
1937
|
* Public-facing invitation info for the accept page.
|
|
@@ -1931,14 +1948,14 @@ const zInvitationInfoResponse = z.object({
|
|
|
1931
1948
|
const zInvitationResponse = z.object({
|
|
1932
1949
|
created_at: z.iso.datetime({ offset: true }),
|
|
1933
1950
|
email: z.string(),
|
|
1934
|
-
email_sent_at: z.iso.datetime({ offset: true })
|
|
1951
|
+
email_sent_at: z.nullable(z.iso.datetime({ offset: true })),
|
|
1935
1952
|
expires_at: z.iso.datetime({ offset: true }),
|
|
1936
1953
|
id: z.string(),
|
|
1937
|
-
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" }))),
|
|
1938
1955
|
role: zUserRole,
|
|
1939
|
-
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" }))),
|
|
1940
1957
|
status: z.string(),
|
|
1941
|
-
token: z.
|
|
1958
|
+
token: z.nullable(z.string())
|
|
1942
1959
|
});
|
|
1943
1960
|
/**
|
|
1944
1961
|
* A user as exposed on the team roster.
|
|
@@ -1946,10 +1963,10 @@ const zInvitationResponse = z.object({
|
|
|
1946
1963
|
const zTeamMemberResponse = z.object({
|
|
1947
1964
|
created_at: z.iso.datetime({ offset: true }),
|
|
1948
1965
|
email: z.string(),
|
|
1949
|
-
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" })),
|
|
1950
1967
|
is_active: z.boolean(),
|
|
1951
1968
|
is_primary: z.boolean(),
|
|
1952
|
-
last_login: z.iso.datetime({ offset: true })
|
|
1969
|
+
last_login: z.nullable(z.iso.datetime({ offset: true })),
|
|
1953
1970
|
role: zUserRole
|
|
1954
1971
|
});
|
|
1955
1972
|
/**
|
|
@@ -1957,12 +1974,13 @@ const zTeamMemberResponse = z.object({
|
|
|
1957
1974
|
*/
|
|
1958
1975
|
const zUpdateUserRole = z.object({ role: zUserRole });
|
|
1959
1976
|
const zUserResponse = z.object({
|
|
1977
|
+
clock_24h: z.nullable(z.boolean()),
|
|
1960
1978
|
email: z.string(),
|
|
1961
|
-
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" })),
|
|
1962
1980
|
is_admin: z.boolean(),
|
|
1963
|
-
language: z.
|
|
1981
|
+
language: z.nullable(z.string()),
|
|
1964
1982
|
role: zUserRole,
|
|
1965
|
-
timezone: z.
|
|
1983
|
+
timezone: z.nullable(z.string())
|
|
1966
1984
|
});
|
|
1967
1985
|
const zAcceptInvitationResponse = z.object({
|
|
1968
1986
|
signed_in: z.boolean(),
|
|
@@ -1970,18 +1988,53 @@ const zAcceptInvitationResponse = z.object({
|
|
|
1970
1988
|
});
|
|
1971
1989
|
const zAuthResponse = z.object({ user: zUserResponse });
|
|
1972
1990
|
const zVersionResponse = z.object({ version: z.string() });
|
|
1973
|
-
|
|
1991
|
+
/**
|
|
1992
|
+
* Who sees a view: its creator only, or everyone who sees the project.
|
|
1993
|
+
* Sentry's `owner` / `organization`, with the project as the organization.
|
|
1994
|
+
*/
|
|
1995
|
+
const zViewVisibility = z.enum(["owner", "project"]);
|
|
1996
|
+
/**
|
|
1997
|
+
* Body of `POST /api/projects/{project_id}/views`.
|
|
1998
|
+
*/
|
|
1999
|
+
const zCreateSavedView = z.object({
|
|
2000
|
+
name: z.string(),
|
|
2001
|
+
page: z.string(),
|
|
2002
|
+
query: z.string(),
|
|
2003
|
+
visibility: z.optional(zViewVisibility)
|
|
2004
|
+
});
|
|
2005
|
+
const zSavedView = z.object({
|
|
2006
|
+
created_at: z.iso.datetime({ offset: true }),
|
|
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" })),
|
|
2009
|
+
is_my_default: z.boolean(),
|
|
2010
|
+
is_project_default: z.boolean(),
|
|
2011
|
+
name: z.string(),
|
|
2012
|
+
page: z.string(),
|
|
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" }))),
|
|
2014
|
+
query: z.string(),
|
|
2015
|
+
visibility: zViewVisibility
|
|
2016
|
+
});
|
|
2017
|
+
/**
|
|
2018
|
+
* Body of `PATCH /api/projects/{project_id}/views/{view_id}`: only the
|
|
2019
|
+
* fields sent change.
|
|
2020
|
+
*/
|
|
2021
|
+
const zUpdateSavedView = z.object({
|
|
2022
|
+
name: z.nullish(z.string()),
|
|
2023
|
+
query: z.nullish(z.string()),
|
|
2024
|
+
visibility: z.nullish(zViewVisibility)
|
|
2025
|
+
});
|
|
2026
|
+
const zSentryGetIssuePath = z.object({ issue_id: z.string().check(z.regex(/^[0-9]+$/)) });
|
|
1974
2027
|
/**
|
|
1975
2028
|
* Issue details
|
|
1976
2029
|
*/
|
|
1977
2030
|
const zSentryGetIssueResponse = zSentryIssueDetails;
|
|
1978
2031
|
const zSentryUpdateIssueBody = zIssueUpdate;
|
|
1979
|
-
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]+$/)) });
|
|
1980
2033
|
/**
|
|
1981
2034
|
* Issue updated
|
|
1982
2035
|
*/
|
|
1983
2036
|
const zSentryUpdateIssueResponse = zSentryIssue;
|
|
1984
|
-
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]+$/)) });
|
|
1985
2038
|
/**
|
|
1986
2039
|
* The issue's latest event
|
|
1987
2040
|
*/
|
|
@@ -2011,14 +2064,28 @@ const zSourceMapsChunkUploadCapabilityResponse = zChunkUploadOptions;
|
|
|
2011
2064
|
*/
|
|
2012
2065
|
const zSourceMapsChunkUploadBody = zChunkUploadBody;
|
|
2013
2066
|
const zSourceMapsChunkUploadPath = z.object({ org_slug: z.string() });
|
|
2067
|
+
const zSentryListOrganizationIssuesPath = z.object({ org_slug: z.string() });
|
|
2068
|
+
const zSentryListOrganizationIssuesQuery = z.object({
|
|
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())
|
|
2076
|
+
});
|
|
2077
|
+
/**
|
|
2078
|
+
* Issues; paginated by the `Link` header
|
|
2079
|
+
*/
|
|
2080
|
+
const zSentryListOrganizationIssuesResponse = z.array(zSentryIssue);
|
|
2014
2081
|
const zSentryListReposPath = z.object({ org_slug: z.string() });
|
|
2015
2082
|
/**
|
|
2016
2083
|
* Connected repositories: always none
|
|
2017
2084
|
*/
|
|
2018
2085
|
const zSentryListReposResponse = z.array(z.record(z.string(), z.unknown()));
|
|
2019
2086
|
const zSentryListProjectsQuery = z.object({
|
|
2020
|
-
per_page: z.
|
|
2021
|
-
cursor: z.
|
|
2087
|
+
per_page: z.nullish(z.int()),
|
|
2088
|
+
cursor: z.nullish(z.string())
|
|
2022
2089
|
});
|
|
2023
2090
|
/**
|
|
2024
2091
|
* Projects, newest first; paginated by the `Link` header
|
|
@@ -2058,12 +2125,12 @@ const zSentryListIssuesPath = z.object({
|
|
|
2058
2125
|
project_slug: z.string()
|
|
2059
2126
|
});
|
|
2060
2127
|
const zSentryListIssuesQuery = z.object({
|
|
2061
|
-
query: z.
|
|
2062
|
-
sort: z.
|
|
2063
|
-
limit: z.
|
|
2064
|
-
cursor: z.
|
|
2065
|
-
statsPeriod: z.
|
|
2066
|
-
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())
|
|
2067
2134
|
});
|
|
2068
2135
|
/**
|
|
2069
2136
|
* Issues; paginated by the `Link` header
|
|
@@ -2105,6 +2172,33 @@ const zAccessCatalogResponse = zCatalog;
|
|
|
2105
2172
|
* What the caller may do
|
|
2106
2173
|
*/
|
|
2107
2174
|
const zAccessMeResponse = zMyAccess;
|
|
2175
|
+
const zFeedbackListAllQuery = z.object({
|
|
2176
|
+
project: z.optional(z.string()),
|
|
2177
|
+
page: z.optional(z.int()),
|
|
2178
|
+
per_page: z.optional(z.int()),
|
|
2179
|
+
filter: z.optional(zIssueFilter)
|
|
2180
|
+
});
|
|
2181
|
+
/**
|
|
2182
|
+
* Offset-based paginated response wrapper
|
|
2183
|
+
*/
|
|
2184
|
+
const zFeedbackListAllResponse = z.object({
|
|
2185
|
+
items: z.array(z.object({
|
|
2186
|
+
associated_event_id: z.nullable(z.string()),
|
|
2187
|
+
attachments: z.array(zAttachmentInfo),
|
|
2188
|
+
contact_email: z.string(),
|
|
2189
|
+
created_at: z.iso.datetime({ offset: true }),
|
|
2190
|
+
id: z.uuid(),
|
|
2191
|
+
message: z.string(),
|
|
2192
|
+
name: z.string(),
|
|
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" })),
|
|
2194
|
+
status: zIssueStatus,
|
|
2195
|
+
url: z.string()
|
|
2196
|
+
})),
|
|
2197
|
+
page: z.int(),
|
|
2198
|
+
per_page: z.int(),
|
|
2199
|
+
total_count: z.int(),
|
|
2200
|
+
total_pages: z.int()
|
|
2201
|
+
});
|
|
2108
2202
|
/**
|
|
2109
2203
|
* GitHub App removed
|
|
2110
2204
|
*/
|
|
@@ -2137,7 +2231,7 @@ const zGithubPutMyLoginBody = zGitHubLogin;
|
|
|
2137
2231
|
* GitHub username saved
|
|
2138
2232
|
*/
|
|
2139
2233
|
const zGithubPutMyLoginResponse = zGitHubLogin;
|
|
2140
|
-
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" })) });
|
|
2141
2235
|
/**
|
|
2142
2236
|
* Repositories the installations reach
|
|
2143
2237
|
*/
|
|
@@ -2164,24 +2258,24 @@ const zAlertChannelsPreviewTemplateBody = zPreviewTemplateBody;
|
|
|
2164
2258
|
* Rendered body, or why it would not render
|
|
2165
2259
|
*/
|
|
2166
2260
|
const zAlertChannelsPreviewTemplateResponse = zPreviewTemplateResponse;
|
|
2167
|
-
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" })) });
|
|
2168
2262
|
/**
|
|
2169
2263
|
* Channel deleted
|
|
2170
2264
|
*/
|
|
2171
2265
|
const zAlertChannelsDeleteResponse = z.void();
|
|
2172
|
-
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" })) });
|
|
2173
2267
|
/**
|
|
2174
2268
|
* Channel details
|
|
2175
2269
|
*/
|
|
2176
2270
|
const zAlertChannelsGetResponse = zAlertIntegration;
|
|
2177
2271
|
const zAlertChannelsUpdateBody = zUpdateAlertIntegration;
|
|
2178
|
-
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" })) });
|
|
2179
2273
|
/**
|
|
2180
2274
|
* Channel updated
|
|
2181
2275
|
*/
|
|
2182
2276
|
const zAlertChannelsUpdateResponse = zAlertIntegration;
|
|
2183
2277
|
const zAlertChannelsTestBody = zTestIntegrationBody;
|
|
2184
|
-
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" })) });
|
|
2185
2279
|
/**
|
|
2186
2280
|
* Test notification sent
|
|
2187
2281
|
*/
|
|
@@ -2209,14 +2303,72 @@ const zInvitationsResendPath = z.object({ id: z.string() });
|
|
|
2209
2303
|
* Invitation email sent
|
|
2210
2304
|
*/
|
|
2211
2305
|
const zInvitationsResendResponse = zInvitationResponse;
|
|
2306
|
+
const zIssuesListAllQuery = z.object({
|
|
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())
|
|
2324
|
+
});
|
|
2325
|
+
/**
|
|
2326
|
+
* Offset-based paginated response wrapper
|
|
2327
|
+
*/
|
|
2328
|
+
const zIssuesListAllResponse = z.object({
|
|
2329
|
+
items: z.array(z.object({
|
|
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()),
|
|
2332
|
+
culprit: z.string(),
|
|
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" })),
|
|
2334
|
+
first_release: z.string(),
|
|
2335
|
+
first_seen: z.iso.datetime({ offset: true }),
|
|
2336
|
+
has_seen: z.nullish(z.boolean()),
|
|
2337
|
+
id: z.uuid(),
|
|
2338
|
+
is_bookmarked: z.nullish(z.boolean()),
|
|
2339
|
+
is_subscribed: z.nullish(z.boolean()),
|
|
2340
|
+
issue_category: z.string(),
|
|
2341
|
+
issue_type: z.string(),
|
|
2342
|
+
last_release: z.string(),
|
|
2343
|
+
last_seen: z.iso.datetime({ offset: true }),
|
|
2344
|
+
level: z.nullable(z.string()),
|
|
2345
|
+
logger: z.string(),
|
|
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" })),
|
|
2349
|
+
short_id: z.string(),
|
|
2350
|
+
status: zIssueStatus,
|
|
2351
|
+
status_details: z.record(z.string(), z.unknown()),
|
|
2352
|
+
substatus: z.nullable(z.string()),
|
|
2353
|
+
title: z.string(),
|
|
2354
|
+
trend: z.nullish(z.array(z.int())),
|
|
2355
|
+
user_count: z.nullish(z.int()),
|
|
2356
|
+
user_report_count: z.nullish(z.int()),
|
|
2357
|
+
value: z.string()
|
|
2358
|
+
})),
|
|
2359
|
+
page: z.int(),
|
|
2360
|
+
per_page: z.int(),
|
|
2361
|
+
total_count: z.int(),
|
|
2362
|
+
total_pages: z.int()
|
|
2363
|
+
});
|
|
2212
2364
|
const zOauthGetAuthorizationQuery = z.object({
|
|
2213
2365
|
response_type: z.string(),
|
|
2214
2366
|
client_id: z.string(),
|
|
2215
2367
|
redirect_uri: z.string(),
|
|
2216
2368
|
code_challenge: z.string(),
|
|
2217
2369
|
code_challenge_method: z.string(),
|
|
2218
|
-
state: z.
|
|
2219
|
-
resource: z.
|
|
2370
|
+
state: z.nullish(z.string()),
|
|
2371
|
+
resource: z.nullish(z.string())
|
|
2220
2372
|
});
|
|
2221
2373
|
/**
|
|
2222
2374
|
* The verified client asking for access
|
|
@@ -2231,16 +2383,16 @@ const zOauthDecideAuthorizationResponse = zAuthorizationRedirect;
|
|
|
2231
2383
|
* Assistants connected to your account
|
|
2232
2384
|
*/
|
|
2233
2385
|
const zOauthListGrantsResponse = z.array(zOAuthGrant);
|
|
2234
|
-
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" })) });
|
|
2235
2387
|
/**
|
|
2236
2388
|
* Disconnected
|
|
2237
2389
|
*/
|
|
2238
2390
|
const zOauthRevokeGrantResponse = z.void();
|
|
2239
2391
|
const zProjectsListQuery = z.object({
|
|
2240
|
-
page: z.int().gte(1)
|
|
2241
|
-
per_page: z.int().gte(1).lte(100)
|
|
2242
|
-
order:
|
|
2243
|
-
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())
|
|
2244
2396
|
});
|
|
2245
2397
|
/**
|
|
2246
2398
|
* Offset-based paginated response wrapper
|
|
@@ -2248,20 +2400,20 @@ const zProjectsListQuery = z.object({
|
|
|
2248
2400
|
const zProjectsListResponse = z.object({
|
|
2249
2401
|
items: z.array(z.object({
|
|
2250
2402
|
created_at: z.iso.datetime({ offset: true }),
|
|
2251
|
-
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" })),
|
|
2252
2404
|
disabled_products: z.array(zProduct),
|
|
2253
|
-
dsn: z.
|
|
2254
|
-
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" })),
|
|
2255
2407
|
name: z.string(),
|
|
2256
|
-
platform: z.
|
|
2408
|
+
platform: z.nullable(z.string()),
|
|
2257
2409
|
product_order: z.array(zProduct),
|
|
2258
|
-
rate_limit_per_hour: z.
|
|
2259
|
-
rate_limit_per_minute: z.
|
|
2410
|
+
rate_limit_per_hour: z.nullable(z.int()),
|
|
2411
|
+
rate_limit_per_minute: z.nullable(z.int()),
|
|
2260
2412
|
rate_limited_event_count: z.int(),
|
|
2261
|
-
sentry_key: z.
|
|
2413
|
+
sentry_key: z.nullable(z.string()),
|
|
2262
2414
|
slug: z.string(),
|
|
2263
|
-
stats:
|
|
2264
|
-
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" })),
|
|
2265
2417
|
updated_at: z.iso.datetime({ offset: true })
|
|
2266
2418
|
})),
|
|
2267
2419
|
page: z.int(),
|
|
@@ -2274,28 +2426,28 @@ const zProjectsCreateBody = zCreateProject;
|
|
|
2274
2426
|
* Project created
|
|
2275
2427
|
*/
|
|
2276
2428
|
const zProjectsCreateResponse = zProjectResponse;
|
|
2277
|
-
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" })) });
|
|
2278
2430
|
/**
|
|
2279
2431
|
* Project deleted
|
|
2280
2432
|
*/
|
|
2281
2433
|
const zProjectsDeleteResponse = z.void();
|
|
2282
|
-
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" })) });
|
|
2283
2435
|
/**
|
|
2284
2436
|
* Project details
|
|
2285
2437
|
*/
|
|
2286
2438
|
const zProjectsGetResponse = zProjectResponse;
|
|
2287
2439
|
const zProjectsUpdateBody = zUpdateProject;
|
|
2288
|
-
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" })) });
|
|
2289
2441
|
/**
|
|
2290
2442
|
* Project updated
|
|
2291
2443
|
*/
|
|
2292
2444
|
const zProjectsUpdateResponse = zProjectResponse;
|
|
2293
|
-
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" })) });
|
|
2294
2446
|
const zAgentsConversationsQuery = z.object({
|
|
2295
|
-
period_hours: z.
|
|
2296
|
-
environment: z.
|
|
2297
|
-
page: z.int().gte(1)
|
|
2298
|
-
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)))
|
|
2299
2451
|
});
|
|
2300
2452
|
/**
|
|
2301
2453
|
* Offset-based paginated response wrapper
|
|
@@ -2305,8 +2457,8 @@ const zAgentsConversationsResponse = z.object({
|
|
|
2305
2457
|
agent_names: z.array(z.string()),
|
|
2306
2458
|
conversation_id: z.string(),
|
|
2307
2459
|
error_count: z.int(),
|
|
2308
|
-
first_seen: z.iso.datetime({ offset: true })
|
|
2309
|
-
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 })),
|
|
2310
2462
|
llm_call_count: z.int(),
|
|
2311
2463
|
tool_call_count: z.int(),
|
|
2312
2464
|
total_tokens: z.number(),
|
|
@@ -2318,113 +2470,113 @@ const zAgentsConversationsResponse = z.object({
|
|
|
2318
2470
|
total_pages: z.int()
|
|
2319
2471
|
});
|
|
2320
2472
|
const zAgentsConversationPath = z.object({
|
|
2321
|
-
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" })),
|
|
2322
2474
|
conversation_id: z.string()
|
|
2323
2475
|
});
|
|
2324
2476
|
/**
|
|
2325
2477
|
* The conversation's AI spans across its turns
|
|
2326
2478
|
*/
|
|
2327
2479
|
const zAgentsConversationResponse = zAgentConversation;
|
|
2328
|
-
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" })) });
|
|
2329
2481
|
const zAgentsDurationQuery = z.object({
|
|
2330
|
-
period_hours: z.
|
|
2331
|
-
environment: z.
|
|
2332
|
-
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)))
|
|
2333
2485
|
});
|
|
2334
2486
|
/**
|
|
2335
2487
|
* Avg/p95 duration over time for agent runs and LLM calls
|
|
2336
2488
|
*/
|
|
2337
2489
|
const zAgentsDurationResponse = z.array(zAgentDurationPoint);
|
|
2338
|
-
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" })) });
|
|
2339
2491
|
/**
|
|
2340
2492
|
* Environments present in this project's AI spans
|
|
2341
2493
|
*/
|
|
2342
2494
|
const zAgentsEnvironmentsResponse = z.array(z.string());
|
|
2343
|
-
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" })) });
|
|
2344
2496
|
const zAgentsModelsTableQuery = z.object({
|
|
2345
|
-
period_hours: z.
|
|
2346
|
-
environment: z.
|
|
2497
|
+
period_hours: z.nullish(z.int()),
|
|
2498
|
+
environment: z.nullish(z.string())
|
|
2347
2499
|
});
|
|
2348
2500
|
/**
|
|
2349
2501
|
* Per-model volume, failures, latency and token split
|
|
2350
2502
|
*/
|
|
2351
2503
|
const zAgentsModelsTableResponse = z.array(zAgentModelRow);
|
|
2352
|
-
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" })) });
|
|
2353
2505
|
const zAgentsModelsCallsQuery = z.object({
|
|
2354
|
-
period_hours: z.
|
|
2355
|
-
environment: z.
|
|
2356
|
-
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)))
|
|
2357
2509
|
});
|
|
2358
2510
|
/**
|
|
2359
2511
|
* Top LLM call counts by response model
|
|
2360
2512
|
*/
|
|
2361
2513
|
const zAgentsModelsCallsResponse = z.array(zGenAiBreakdownRow);
|
|
2362
|
-
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" })) });
|
|
2363
2515
|
const zAgentsModelsTokensQuery = z.object({
|
|
2364
|
-
period_hours: z.
|
|
2365
|
-
environment: z.
|
|
2366
|
-
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)))
|
|
2367
2519
|
});
|
|
2368
2520
|
/**
|
|
2369
2521
|
* Top total tokens used by response model
|
|
2370
2522
|
*/
|
|
2371
2523
|
const zAgentsModelsTokensResponse = z.array(zGenAiBreakdownRow);
|
|
2372
|
-
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" })) });
|
|
2373
2525
|
const zAgentsRunsQuery = z.object({
|
|
2374
|
-
period_hours: z.
|
|
2375
|
-
environment: z.
|
|
2376
|
-
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)))
|
|
2377
2529
|
});
|
|
2378
2530
|
/**
|
|
2379
2531
|
* Agent runs over time
|
|
2380
2532
|
*/
|
|
2381
2533
|
const zAgentsRunsResponse = z.array(zAgentTimeseriesPoint);
|
|
2382
|
-
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" })) });
|
|
2383
2535
|
const zAgentsSummaryQuery = z.object({
|
|
2384
|
-
period_hours: z.
|
|
2385
|
-
environment: z.
|
|
2536
|
+
period_hours: z.nullish(z.int()),
|
|
2537
|
+
environment: z.nullish(z.string())
|
|
2386
2538
|
});
|
|
2387
2539
|
/**
|
|
2388
2540
|
* Headline totals for the selected window
|
|
2389
2541
|
*/
|
|
2390
2542
|
const zAgentsSummaryResponse = zAgentSummary;
|
|
2391
|
-
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" })) });
|
|
2392
2544
|
const zAgentsToolsQuery = z.object({
|
|
2393
|
-
period_hours: z.
|
|
2394
|
-
environment: z.
|
|
2395
|
-
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)))
|
|
2396
2548
|
});
|
|
2397
2549
|
/**
|
|
2398
2550
|
* Top tool call counts by tool name
|
|
2399
2551
|
*/
|
|
2400
2552
|
const zAgentsToolsResponse = z.array(zGenAiBreakdownRow);
|
|
2401
|
-
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" })) });
|
|
2402
2554
|
const zAgentsToolsTableQuery = z.object({
|
|
2403
|
-
period_hours: z.
|
|
2404
|
-
environment: z.
|
|
2555
|
+
period_hours: z.nullish(z.int()),
|
|
2556
|
+
environment: z.nullish(z.string())
|
|
2405
2557
|
});
|
|
2406
2558
|
/**
|
|
2407
2559
|
* Per-tool call volume, failures and latency
|
|
2408
2560
|
*/
|
|
2409
2561
|
const zAgentsToolsTableResponse = z.array(zAgentToolRow);
|
|
2410
|
-
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" })) });
|
|
2411
2563
|
const zAgentsTracesQuery = z.object({
|
|
2412
|
-
period_hours: z.
|
|
2413
|
-
environment: z.
|
|
2414
|
-
page: z.int().gte(1)
|
|
2415
|
-
per_page: z.int().gte(1).lte(100)
|
|
2416
|
-
agent: z.
|
|
2417
|
-
model: z.
|
|
2418
|
-
tool: z.
|
|
2419
|
-
errors: z.
|
|
2420
|
-
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([
|
|
2421
2573
|
"newest",
|
|
2422
2574
|
"duration",
|
|
2423
2575
|
"tokens",
|
|
2424
2576
|
"llm_calls",
|
|
2425
2577
|
"tool_calls",
|
|
2426
2578
|
"errors"
|
|
2427
|
-
])
|
|
2579
|
+
]))
|
|
2428
2580
|
});
|
|
2429
2581
|
/**
|
|
2430
2582
|
* Offset-based paginated response wrapper
|
|
@@ -2432,7 +2584,7 @@ const zAgentsTracesQuery = z.object({
|
|
|
2432
2584
|
const zAgentsTracesResponse = z.object({
|
|
2433
2585
|
items: z.array(z.object({
|
|
2434
2586
|
agent_names: z.array(z.string()),
|
|
2435
|
-
duration_ms: z.
|
|
2587
|
+
duration_ms: z.nullable(z.number()),
|
|
2436
2588
|
error_count: z.int(),
|
|
2437
2589
|
llm_call_count: z.int(),
|
|
2438
2590
|
started_at: z.iso.datetime({ offset: true }),
|
|
@@ -2445,46 +2597,46 @@ const zAgentsTracesResponse = z.object({
|
|
|
2445
2597
|
total_count: z.int(),
|
|
2446
2598
|
total_pages: z.int()
|
|
2447
2599
|
});
|
|
2448
|
-
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" })) });
|
|
2449
2601
|
const zAlertRulesListHistoryQuery = z.object({
|
|
2450
|
-
limit: z.
|
|
2451
|
-
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" })))
|
|
2452
2604
|
});
|
|
2453
2605
|
/**
|
|
2454
2606
|
* Alert history
|
|
2455
2607
|
*/
|
|
2456
2608
|
const zAlertRulesListHistoryResponse = z.array(zAlertHistory);
|
|
2457
|
-
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" })) });
|
|
2458
2610
|
const zAlertRulesHistoryByDayQuery = z.object({
|
|
2459
|
-
days: z.
|
|
2460
|
-
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" })))
|
|
2461
2613
|
});
|
|
2462
2614
|
/**
|
|
2463
2615
|
* Deliveries per UTC day, oldest first
|
|
2464
2616
|
*/
|
|
2465
2617
|
const zAlertRulesHistoryByDayResponse = z.array(zAlertHistoryDay);
|
|
2466
|
-
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" })) });
|
|
2467
2619
|
/**
|
|
2468
2620
|
* List of alert rules
|
|
2469
2621
|
*/
|
|
2470
2622
|
const zAlertRulesListResponse = z.array(zAlertRuleResponse);
|
|
2471
2623
|
const zAlertRulesCreateBody = zCreateAlertRule;
|
|
2472
|
-
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" })) });
|
|
2473
2625
|
/**
|
|
2474
2626
|
* Alert rule created
|
|
2475
2627
|
*/
|
|
2476
2628
|
const zAlertRulesCreateResponse = zAlertRuleResponse;
|
|
2477
2629
|
const zAlertRulesDeletePath = z.object({
|
|
2478
|
-
project_id: z.int().
|
|
2479
|
-
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" }))
|
|
2480
2632
|
});
|
|
2481
2633
|
/**
|
|
2482
2634
|
* Alert rule deleted
|
|
2483
2635
|
*/
|
|
2484
2636
|
const zAlertRulesDeleteResponse = z.void();
|
|
2485
2637
|
const zAlertRulesGetPath = z.object({
|
|
2486
|
-
project_id: z.int().
|
|
2487
|
-
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" }))
|
|
2488
2640
|
});
|
|
2489
2641
|
/**
|
|
2490
2642
|
* Alert rule details
|
|
@@ -2492,63 +2644,64 @@ const zAlertRulesGetPath = z.object({
|
|
|
2492
2644
|
const zAlertRulesGetResponse = zAlertRuleResponse;
|
|
2493
2645
|
const zAlertRulesUpdateBody = zUpdateAlertRule;
|
|
2494
2646
|
const zAlertRulesUpdatePath = z.object({
|
|
2495
|
-
project_id: z.int().
|
|
2496
|
-
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" }))
|
|
2497
2649
|
});
|
|
2498
2650
|
/**
|
|
2499
2651
|
* Alert rule updated
|
|
2500
2652
|
*/
|
|
2501
2653
|
const zAlertRulesUpdateResponse = zAlertRuleResponse;
|
|
2502
2654
|
const zEventsDownloadAttachmentPath = z.object({
|
|
2503
|
-
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" })),
|
|
2504
2656
|
attachment_id: z.uuid()
|
|
2505
2657
|
});
|
|
2506
2658
|
/**
|
|
2507
2659
|
* The file: inline when its bytes are a PNG, JPEG, GIF or WebP image, a download otherwise
|
|
2508
2660
|
*/
|
|
2509
2661
|
const zEventsDownloadAttachmentResponse = zAttachmentBytes;
|
|
2510
|
-
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" })) });
|
|
2511
2663
|
/**
|
|
2512
2664
|
* Environments the project's issues have been seen in
|
|
2513
2665
|
*/
|
|
2514
2666
|
const zEnvironmentsListResponse = z.array(z.string());
|
|
2515
2667
|
const zEventsGetBySentryIdPath = z.object({
|
|
2516
|
-
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" })),
|
|
2517
2669
|
event_id: z.string()
|
|
2518
2670
|
});
|
|
2519
2671
|
/**
|
|
2520
2672
|
* Full event detail, including its issue ID
|
|
2521
2673
|
*/
|
|
2522
2674
|
const zEventsGetBySentryIdResponse = zEventDetailResponse;
|
|
2523
|
-
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" })) });
|
|
2524
2676
|
const zStatsGetEventTimeseriesQuery = z.object({
|
|
2525
|
-
period: z.
|
|
2526
|
-
interval: z.
|
|
2527
|
-
environment: z.
|
|
2528
|
-
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())
|
|
2529
2681
|
});
|
|
2530
2682
|
/**
|
|
2531
2683
|
* Time-bucketed error-event volume by severity
|
|
2532
2684
|
*/
|
|
2533
2685
|
const zStatsGetEventTimeseriesResponse = z.array(zEventTimeseriesPoint);
|
|
2534
|
-
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" })) });
|
|
2535
2687
|
const zFeedbackListQuery = z.object({
|
|
2536
|
-
page: z.
|
|
2537
|
-
per_page: z.
|
|
2538
|
-
filter:
|
|
2688
|
+
page: z.optional(z.int()),
|
|
2689
|
+
per_page: z.optional(z.int()),
|
|
2690
|
+
filter: z.optional(zIssueFilter)
|
|
2539
2691
|
});
|
|
2540
2692
|
/**
|
|
2541
2693
|
* Offset-based paginated response wrapper
|
|
2542
2694
|
*/
|
|
2543
2695
|
const zFeedbackListResponse = z.object({
|
|
2544
2696
|
items: z.array(z.object({
|
|
2545
|
-
associated_event_id: z.
|
|
2697
|
+
associated_event_id: z.nullable(z.string()),
|
|
2546
2698
|
attachments: z.array(zAttachmentInfo),
|
|
2547
2699
|
contact_email: z.string(),
|
|
2548
2700
|
created_at: z.iso.datetime({ offset: true }),
|
|
2549
2701
|
id: z.uuid(),
|
|
2550
2702
|
message: z.string(),
|
|
2551
2703
|
name: z.string(),
|
|
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" })),
|
|
2552
2705
|
status: zIssueStatus,
|
|
2553
2706
|
url: z.string()
|
|
2554
2707
|
})),
|
|
@@ -2557,84 +2710,84 @@ const zFeedbackListResponse = z.object({
|
|
|
2557
2710
|
total_count: z.int(),
|
|
2558
2711
|
total_pages: z.int()
|
|
2559
2712
|
});
|
|
2560
|
-
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" })) });
|
|
2561
2714
|
/**
|
|
2562
2715
|
* Repository removed
|
|
2563
2716
|
*/
|
|
2564
2717
|
const zGithubDeleteProjectRepositoryResponse = z.void();
|
|
2565
|
-
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" })) });
|
|
2566
2719
|
/**
|
|
2567
2720
|
* The project's repository, if any
|
|
2568
2721
|
*/
|
|
2569
|
-
const zGithubGetProjectRepositoryResponse =
|
|
2722
|
+
const zGithubGetProjectRepositoryResponse = z.nullable(zProjectRepository);
|
|
2570
2723
|
const zGithubPutProjectRepositoryBody = zUpdateProjectRepository;
|
|
2571
|
-
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" })) });
|
|
2572
2725
|
/**
|
|
2573
2726
|
* Repository saved
|
|
2574
2727
|
*/
|
|
2575
2728
|
const zGithubPutProjectRepositoryResponse = zProjectRepository;
|
|
2576
|
-
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" })) });
|
|
2577
2730
|
/**
|
|
2578
2731
|
* CODEOWNERS synced
|
|
2579
2732
|
*/
|
|
2580
2733
|
const zGithubSyncCodeownersResponse = zProjectRepository;
|
|
2581
2734
|
const zIssuesBulkDeleteBody = zBulkDeleteIssues;
|
|
2582
|
-
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" })) });
|
|
2583
2736
|
/**
|
|
2584
2737
|
* Number of issues deleted
|
|
2585
2738
|
*/
|
|
2586
2739
|
const zIssuesBulkDeleteResponse = zBulkDeleteResponse;
|
|
2587
|
-
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" })) });
|
|
2588
2741
|
const zIssuesListQuery = z.object({
|
|
2589
|
-
page: z.int().gte(1)
|
|
2590
|
-
per_page: z.int().gte(1).lte(100)
|
|
2591
|
-
sort:
|
|
2592
|
-
order:
|
|
2593
|
-
filter:
|
|
2594
|
-
category:
|
|
2595
|
-
q: z.
|
|
2596
|
-
environment: z.
|
|
2597
|
-
release: z.
|
|
2598
|
-
level: z.
|
|
2599
|
-
priority: z.
|
|
2600
|
-
assigned: z.
|
|
2601
|
-
first_seen: z.
|
|
2602
|
-
last_seen: z.
|
|
2603
|
-
events_min: z.
|
|
2604
|
-
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())
|
|
2605
2758
|
});
|
|
2606
2759
|
/**
|
|
2607
2760
|
* Offset-based paginated response wrapper
|
|
2608
2761
|
*/
|
|
2609
2762
|
const zIssuesListResponse = z.object({
|
|
2610
2763
|
items: z.array(z.object({
|
|
2611
|
-
assigned_to: z.int().
|
|
2612
|
-
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()),
|
|
2613
2766
|
culprit: z.string(),
|
|
2614
|
-
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" })),
|
|
2615
2768
|
first_release: z.string(),
|
|
2616
2769
|
first_seen: z.iso.datetime({ offset: true }),
|
|
2617
|
-
has_seen: z.
|
|
2770
|
+
has_seen: z.nullish(z.boolean()),
|
|
2618
2771
|
id: z.uuid(),
|
|
2619
|
-
is_bookmarked: z.
|
|
2620
|
-
is_subscribed: z.
|
|
2772
|
+
is_bookmarked: z.nullish(z.boolean()),
|
|
2773
|
+
is_subscribed: z.nullish(z.boolean()),
|
|
2621
2774
|
issue_category: z.string(),
|
|
2622
2775
|
issue_type: z.string(),
|
|
2623
2776
|
last_release: z.string(),
|
|
2624
2777
|
last_seen: z.iso.datetime({ offset: true }),
|
|
2625
|
-
level: z.
|
|
2778
|
+
level: z.nullable(z.string()),
|
|
2626
2779
|
logger: z.string(),
|
|
2627
|
-
platform: z.
|
|
2628
|
-
priority:
|
|
2629
|
-
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" })),
|
|
2630
2783
|
short_id: z.string(),
|
|
2631
2784
|
status: zIssueStatus,
|
|
2632
2785
|
status_details: z.record(z.string(), z.unknown()),
|
|
2633
|
-
substatus: z.
|
|
2786
|
+
substatus: z.nullable(z.string()),
|
|
2634
2787
|
title: z.string(),
|
|
2635
|
-
trend: z.array(z.int())
|
|
2636
|
-
user_count: z.
|
|
2637
|
-
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()),
|
|
2638
2791
|
value: z.string()
|
|
2639
2792
|
})),
|
|
2640
2793
|
page: z.int(),
|
|
@@ -2643,13 +2796,13 @@ const zIssuesListResponse = z.object({
|
|
|
2643
2796
|
total_pages: z.int()
|
|
2644
2797
|
});
|
|
2645
2798
|
const zIssuesBulkUpdateBody = zBulkUpdateIssues;
|
|
2646
|
-
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" })) });
|
|
2647
2800
|
/**
|
|
2648
2801
|
* Number of issues updated
|
|
2649
2802
|
*/
|
|
2650
2803
|
const zIssuesBulkUpdateResponse = zBulkUpdateResponse;
|
|
2651
2804
|
const zIssuesDeletePath = z.object({
|
|
2652
|
-
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" })),
|
|
2653
2806
|
issue_id: z.uuid()
|
|
2654
2807
|
});
|
|
2655
2808
|
/**
|
|
@@ -2657,7 +2810,7 @@ const zIssuesDeletePath = z.object({
|
|
|
2657
2810
|
*/
|
|
2658
2811
|
const zIssuesDeleteResponse = z.void();
|
|
2659
2812
|
const zIssuesGetPath = z.object({
|
|
2660
|
-
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" })),
|
|
2661
2814
|
issue_id: z.uuid()
|
|
2662
2815
|
});
|
|
2663
2816
|
/**
|
|
@@ -2666,7 +2819,7 @@ const zIssuesGetPath = z.object({
|
|
|
2666
2819
|
const zIssuesGetResponse = zIssueResponse;
|
|
2667
2820
|
const zIssuesUpdateBody = zUpdateIssueState;
|
|
2668
2821
|
const zIssuesUpdatePath = z.object({
|
|
2669
|
-
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" })),
|
|
2670
2823
|
issue_id: z.uuid()
|
|
2671
2824
|
});
|
|
2672
2825
|
/**
|
|
@@ -2674,7 +2827,7 @@ const zIssuesUpdatePath = z.object({
|
|
|
2674
2827
|
*/
|
|
2675
2828
|
const zIssuesUpdateResponse = zIssueResponse;
|
|
2676
2829
|
const zIssuesGetActivityPath = z.object({
|
|
2677
|
-
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" })),
|
|
2678
2831
|
issue_id: z.uuid()
|
|
2679
2832
|
});
|
|
2680
2833
|
/**
|
|
@@ -2682,7 +2835,7 @@ const zIssuesGetActivityPath = z.object({
|
|
|
2682
2835
|
*/
|
|
2683
2836
|
const zIssuesGetActivityResponse = z.array(zActivityEntry);
|
|
2684
2837
|
const zIssuesGetAggregatesPath = z.object({
|
|
2685
|
-
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" })),
|
|
2686
2839
|
issue_id: z.uuid()
|
|
2687
2840
|
});
|
|
2688
2841
|
/**
|
|
@@ -2691,7 +2844,7 @@ const zIssuesGetAggregatesPath = z.object({
|
|
|
2691
2844
|
const zIssuesGetAggregatesResponse = zIssueAggregates;
|
|
2692
2845
|
const zIssuesSetBookmarkBody = zToggleRequest;
|
|
2693
2846
|
const zIssuesSetBookmarkPath = z.object({
|
|
2694
|
-
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" })),
|
|
2695
2848
|
issue_id: z.uuid()
|
|
2696
2849
|
});
|
|
2697
2850
|
/**
|
|
@@ -2700,7 +2853,7 @@ const zIssuesSetBookmarkPath = z.object({
|
|
|
2700
2853
|
const zIssuesSetBookmarkResponse = zBookmarkResponse;
|
|
2701
2854
|
const zIssuesCreateCommentBody = zCommentRequest;
|
|
2702
2855
|
const zIssuesCreateCommentPath = z.object({
|
|
2703
|
-
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" })),
|
|
2704
2857
|
issue_id: z.uuid()
|
|
2705
2858
|
});
|
|
2706
2859
|
/**
|
|
@@ -2708,13 +2861,13 @@ const zIssuesCreateCommentPath = z.object({
|
|
|
2708
2861
|
*/
|
|
2709
2862
|
const zIssuesCreateCommentResponse = zActivityEntry;
|
|
2710
2863
|
const zEventsListPath = z.object({
|
|
2711
|
-
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" })),
|
|
2712
2865
|
issue_id: z.uuid()
|
|
2713
2866
|
});
|
|
2714
2867
|
const zEventsListQuery = z.object({
|
|
2715
|
-
order:
|
|
2716
|
-
cursor: z.
|
|
2717
|
-
environment: z.
|
|
2868
|
+
order: z.optional(zSortOrder),
|
|
2869
|
+
cursor: z.nullish(z.string()),
|
|
2870
|
+
environment: z.nullish(z.string())
|
|
2718
2871
|
});
|
|
2719
2872
|
/**
|
|
2720
2873
|
* Paginated response wrapper (cursor-based)
|
|
@@ -2726,17 +2879,17 @@ const zEventsListResponse = z.object({
|
|
|
2726
2879
|
event_id: z.string(),
|
|
2727
2880
|
event_type: z.string(),
|
|
2728
2881
|
id: z.uuid(),
|
|
2729
|
-
issue_id: z.
|
|
2882
|
+
issue_id: z.nullable(z.uuid()),
|
|
2730
2883
|
level: z.string(),
|
|
2731
2884
|
platform: z.string(),
|
|
2732
2885
|
release: z.string(),
|
|
2733
2886
|
timestamp: z.iso.datetime({ offset: true }),
|
|
2734
2887
|
title: z.string()
|
|
2735
2888
|
})),
|
|
2736
|
-
next_cursor: z.
|
|
2889
|
+
next_cursor: z.nullish(z.string())
|
|
2737
2890
|
});
|
|
2738
2891
|
const zEventsGetPath = z.object({
|
|
2739
|
-
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" })),
|
|
2740
2893
|
issue_id: z.uuid(),
|
|
2741
2894
|
event_id: z.uuid()
|
|
2742
2895
|
});
|
|
@@ -2745,7 +2898,7 @@ const zEventsGetPath = z.object({
|
|
|
2745
2898
|
*/
|
|
2746
2899
|
const zEventsGetResponse = zEventDetailResponse;
|
|
2747
2900
|
const zEventsListAttachmentsPath = z.object({
|
|
2748
|
-
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" })),
|
|
2749
2902
|
issue_id: z.uuid(),
|
|
2750
2903
|
event_id: z.uuid()
|
|
2751
2904
|
});
|
|
@@ -2754,7 +2907,7 @@ const zEventsListAttachmentsPath = z.object({
|
|
|
2754
2907
|
*/
|
|
2755
2908
|
const zEventsListAttachmentsResponse = z.array(zAttachmentInfo);
|
|
2756
2909
|
const zGithubIssuePath = z.object({
|
|
2757
|
-
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" })),
|
|
2758
2911
|
issue_id: z.uuid()
|
|
2759
2912
|
});
|
|
2760
2913
|
/**
|
|
@@ -2762,7 +2915,7 @@ const zGithubIssuePath = z.object({
|
|
|
2762
2915
|
*/
|
|
2763
2916
|
const zGithubIssueResponse = zIssueGitHub;
|
|
2764
2917
|
const zGithubIssueDraftPath = z.object({
|
|
2765
|
-
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" })),
|
|
2766
2919
|
issue_id: z.uuid()
|
|
2767
2920
|
});
|
|
2768
2921
|
/**
|
|
@@ -2771,7 +2924,7 @@ const zGithubIssueDraftPath = z.object({
|
|
|
2771
2924
|
const zGithubIssueDraftResponse = zGitHubIssueDraft;
|
|
2772
2925
|
const zGithubCreateIssueBody = zCreateGitHubIssue;
|
|
2773
2926
|
const zGithubCreateIssuePath = z.object({
|
|
2774
|
-
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" })),
|
|
2775
2928
|
issue_id: z.uuid()
|
|
2776
2929
|
});
|
|
2777
2930
|
/**
|
|
@@ -2780,7 +2933,7 @@ const zGithubCreateIssuePath = z.object({
|
|
|
2780
2933
|
const zGithubCreateIssueResponse = zIssueLink;
|
|
2781
2934
|
const zGithubLinkIssueBody = zLinkGitHubIssue;
|
|
2782
2935
|
const zGithubLinkIssuePath = z.object({
|
|
2783
|
-
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" })),
|
|
2784
2937
|
issue_id: z.uuid()
|
|
2785
2938
|
});
|
|
2786
2939
|
/**
|
|
@@ -2788,16 +2941,16 @@ const zGithubLinkIssuePath = z.object({
|
|
|
2788
2941
|
*/
|
|
2789
2942
|
const zGithubLinkIssueResponse = zIssueLink;
|
|
2790
2943
|
const zGithubUnlinkIssuePath = z.object({
|
|
2791
|
-
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" })),
|
|
2792
2945
|
issue_id: z.uuid(),
|
|
2793
|
-
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" }))
|
|
2794
2947
|
});
|
|
2795
2948
|
/**
|
|
2796
2949
|
* Link removed
|
|
2797
2950
|
*/
|
|
2798
2951
|
const zGithubUnlinkIssueResponse = z.void();
|
|
2799
2952
|
const zIssuesGetHashesPath = z.object({
|
|
2800
|
-
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" })),
|
|
2801
2954
|
issue_id: z.uuid()
|
|
2802
2955
|
});
|
|
2803
2956
|
/**
|
|
@@ -2805,7 +2958,7 @@ const zIssuesGetHashesPath = z.object({
|
|
|
2805
2958
|
*/
|
|
2806
2959
|
const zIssuesGetHashesResponse = z.array(zGrouping);
|
|
2807
2960
|
const zIssuesMarkSeenPath = z.object({
|
|
2808
|
-
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" })),
|
|
2809
2962
|
issue_id: z.uuid()
|
|
2810
2963
|
});
|
|
2811
2964
|
/**
|
|
@@ -2813,17 +2966,17 @@ const zIssuesMarkSeenPath = z.object({
|
|
|
2813
2966
|
*/
|
|
2814
2967
|
const zIssuesMarkSeenResponse = zSeenResponse;
|
|
2815
2968
|
const zIssuesGetStatsPath = z.object({
|
|
2816
|
-
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" })),
|
|
2817
2970
|
issue_id: z.uuid()
|
|
2818
2971
|
});
|
|
2819
|
-
const zIssuesGetStatsQuery = z.object({ window:
|
|
2972
|
+
const zIssuesGetStatsQuery = z.object({ window: z.optional(zIssueStatsWindow) });
|
|
2820
2973
|
/**
|
|
2821
2974
|
* Zero-filled event-count timeseries
|
|
2822
2975
|
*/
|
|
2823
2976
|
const zIssuesGetStatsResponse = zIssueStatsResponse;
|
|
2824
2977
|
const zIssuesSetSubscriptionBody = zToggleRequest;
|
|
2825
2978
|
const zIssuesSetSubscriptionPath = z.object({
|
|
2826
|
-
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" })),
|
|
2827
2980
|
issue_id: z.uuid()
|
|
2828
2981
|
});
|
|
2829
2982
|
/**
|
|
@@ -2831,7 +2984,7 @@ const zIssuesSetSubscriptionPath = z.object({
|
|
|
2831
2984
|
*/
|
|
2832
2985
|
const zIssuesSetSubscriptionResponse = zSubscriptionResponse;
|
|
2833
2986
|
const zIssuesGetTagValuesPath = z.object({
|
|
2834
|
-
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" })),
|
|
2835
2988
|
issue_id: z.uuid(),
|
|
2836
2989
|
key: z.string()
|
|
2837
2990
|
});
|
|
@@ -2840,12 +2993,12 @@ const zIssuesGetTagValuesPath = z.object({
|
|
|
2840
2993
|
*/
|
|
2841
2994
|
const zIssuesGetTagValuesResponse = z.array(zIssueTagValue);
|
|
2842
2995
|
const zIssuesListUserReportsPath = z.object({
|
|
2843
|
-
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" })),
|
|
2844
2997
|
issue_id: z.uuid()
|
|
2845
2998
|
});
|
|
2846
2999
|
const zIssuesListUserReportsQuery = z.object({
|
|
2847
|
-
page: z.
|
|
2848
|
-
per_page: z.
|
|
3000
|
+
page: z.optional(z.int()),
|
|
3001
|
+
per_page: z.optional(z.int())
|
|
2849
3002
|
});
|
|
2850
3003
|
/**
|
|
2851
3004
|
* Offset-based paginated response wrapper
|
|
@@ -2855,11 +3008,11 @@ const zIssuesListUserReportsResponse = z.object({
|
|
|
2855
3008
|
comments: z.string(),
|
|
2856
3009
|
created_at: z.iso.datetime({ offset: true }),
|
|
2857
3010
|
email: z.string(),
|
|
2858
|
-
event_id: z.
|
|
3011
|
+
event_id: z.nullable(z.uuid()),
|
|
2859
3012
|
id: z.uuid(),
|
|
2860
|
-
issue_id: z.
|
|
3013
|
+
issue_id: z.nullable(z.uuid()),
|
|
2861
3014
|
name: z.string(),
|
|
2862
|
-
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" }))
|
|
2863
3016
|
})),
|
|
2864
3017
|
page: z.int(),
|
|
2865
3018
|
per_page: z.int(),
|
|
@@ -2868,21 +3021,21 @@ const zIssuesListUserReportsResponse = z.object({
|
|
|
2868
3021
|
});
|
|
2869
3022
|
const zIssuesCreateUserReportBody = zUserReportRequest;
|
|
2870
3023
|
const zIssuesCreateUserReportPath = z.object({
|
|
2871
|
-
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" })),
|
|
2872
3025
|
issue_id: z.uuid()
|
|
2873
3026
|
});
|
|
2874
3027
|
/**
|
|
2875
3028
|
* User feedback attached
|
|
2876
3029
|
*/
|
|
2877
3030
|
const zIssuesCreateUserReportResponse = zUserReport;
|
|
2878
|
-
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" })) });
|
|
2879
3032
|
const zLogsListQuery = z.object({
|
|
2880
|
-
page: z.int().gte(1)
|
|
2881
|
-
per_page: z.int().gte(1).lte(100)
|
|
2882
|
-
level: z.
|
|
2883
|
-
trace_id: z.
|
|
2884
|
-
query: z.
|
|
2885
|
-
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())
|
|
2886
3039
|
});
|
|
2887
3040
|
/**
|
|
2888
3041
|
* Offset-based paginated response wrapper
|
|
@@ -2894,81 +3047,81 @@ const zLogsListResponse = z.object({
|
|
|
2894
3047
|
id: z.uuid(),
|
|
2895
3048
|
ingested_at: z.iso.datetime({ offset: true }),
|
|
2896
3049
|
level: z.string(),
|
|
2897
|
-
severity_number: z.int().
|
|
2898
|
-
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()),
|
|
2899
3052
|
timestamp: z.iso.datetime({ offset: true }),
|
|
2900
|
-
trace_id: z.
|
|
3053
|
+
trace_id: z.nullable(z.string())
|
|
2901
3054
|
})),
|
|
2902
3055
|
page: z.int(),
|
|
2903
3056
|
per_page: z.int(),
|
|
2904
3057
|
total_count: z.int(),
|
|
2905
3058
|
total_pages: z.int()
|
|
2906
3059
|
});
|
|
2907
|
-
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" })) });
|
|
2908
3061
|
const zLogsVolumeQuery = z.object({
|
|
2909
|
-
level: z.
|
|
2910
|
-
trace_id: z.
|
|
2911
|
-
query: z.
|
|
2912
|
-
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())
|
|
2913
3066
|
});
|
|
2914
3067
|
/**
|
|
2915
3068
|
* Log counts per level, bucket by bucket
|
|
2916
3069
|
*/
|
|
2917
3070
|
const zLogsVolumeResponse = z.array(zLogVolumePoint);
|
|
2918
3071
|
const zLogsGetPath = z.object({
|
|
2919
|
-
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" })),
|
|
2920
3073
|
log_id: z.uuid()
|
|
2921
3074
|
});
|
|
2922
3075
|
/**
|
|
2923
3076
|
* The log
|
|
2924
3077
|
*/
|
|
2925
3078
|
const zLogsGetResponse = zLogResponse;
|
|
2926
|
-
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" })) });
|
|
2927
3080
|
/**
|
|
2928
3081
|
* Project members
|
|
2929
3082
|
*/
|
|
2930
3083
|
const zMembersListResponse = z.array(zProjectMember);
|
|
2931
3084
|
const zMembersUpsertBody = zSetProjectMember;
|
|
2932
|
-
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" })) });
|
|
2933
3086
|
/**
|
|
2934
3087
|
* Project members now
|
|
2935
3088
|
*/
|
|
2936
3089
|
const zMembersUpsertResponse = z.array(zProjectMember);
|
|
2937
|
-
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" })) });
|
|
2938
3091
|
/**
|
|
2939
3092
|
* People and roles the caller can give
|
|
2940
3093
|
*/
|
|
2941
3094
|
const zMembersCandidatesResponse = zMemberCandidates;
|
|
2942
3095
|
const zMembersRemovePath = z.object({
|
|
2943
|
-
project_id: z.int().
|
|
2944
|
-
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" }))
|
|
2945
3098
|
});
|
|
2946
3099
|
/**
|
|
2947
3100
|
* Removed
|
|
2948
3101
|
*/
|
|
2949
3102
|
const zMembersRemoveResponse = z.void();
|
|
2950
|
-
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" })) });
|
|
2951
3104
|
const zMonitorsStatsQuery = z.object({
|
|
2952
|
-
period: z.
|
|
2953
|
-
slug: z.
|
|
3105
|
+
period: z.nullish(z.string()),
|
|
3106
|
+
slug: z.nullish(z.string())
|
|
2954
3107
|
});
|
|
2955
3108
|
/**
|
|
2956
3109
|
* Each monitor environment's check-ins by status, in sixty buckets on one axis
|
|
2957
3110
|
*/
|
|
2958
3111
|
const zMonitorsStatsResponse = z.array(zMonitorEnvironmentStats);
|
|
2959
|
-
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" })) });
|
|
2960
3113
|
/**
|
|
2961
3114
|
* Every cron monitor of the project, with its environments and recent check-ins
|
|
2962
3115
|
*/
|
|
2963
3116
|
const zMonitorsListResponse = z.array(zMonitorResponse);
|
|
2964
3117
|
const zMonitorsCreateBody = zCreateMonitor;
|
|
2965
|
-
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" })) });
|
|
2966
3119
|
/**
|
|
2967
3120
|
* Created
|
|
2968
3121
|
*/
|
|
2969
3122
|
const zMonitorsCreateResponse = zMonitorResponse;
|
|
2970
3123
|
const zMonitorsDeletePath = z.object({
|
|
2971
|
-
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" })),
|
|
2972
3125
|
slug: z.string()
|
|
2973
3126
|
});
|
|
2974
3127
|
/**
|
|
@@ -2976,7 +3129,7 @@ const zMonitorsDeletePath = z.object({
|
|
|
2976
3129
|
*/
|
|
2977
3130
|
const zMonitorsDeleteResponse = z.void();
|
|
2978
3131
|
const zMonitorsGetPath = z.object({
|
|
2979
|
-
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" })),
|
|
2980
3133
|
slug: z.string()
|
|
2981
3134
|
});
|
|
2982
3135
|
/**
|
|
@@ -2985,7 +3138,7 @@ const zMonitorsGetPath = z.object({
|
|
|
2985
3138
|
const zMonitorsGetResponse = zMonitorResponse;
|
|
2986
3139
|
const zMonitorsUpdateBody = zUpdateMonitor;
|
|
2987
3140
|
const zMonitorsUpdatePath = z.object({
|
|
2988
|
-
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" })),
|
|
2989
3142
|
slug: z.string()
|
|
2990
3143
|
});
|
|
2991
3144
|
/**
|
|
@@ -2993,13 +3146,13 @@ const zMonitorsUpdatePath = z.object({
|
|
|
2993
3146
|
*/
|
|
2994
3147
|
const zMonitorsUpdateResponse = zMonitorResponse;
|
|
2995
3148
|
const zMonitorsListCheckinsPath = z.object({
|
|
2996
|
-
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" })),
|
|
2997
3150
|
slug: z.string()
|
|
2998
3151
|
});
|
|
2999
3152
|
const zMonitorsListCheckinsQuery = z.object({
|
|
3000
|
-
page: z.
|
|
3001
|
-
per_page: z.
|
|
3002
|
-
environment: z.
|
|
3153
|
+
page: z.optional(z.int()),
|
|
3154
|
+
per_page: z.optional(z.int()),
|
|
3155
|
+
environment: z.nullish(z.string())
|
|
3003
3156
|
});
|
|
3004
3157
|
/**
|
|
3005
3158
|
* Offset-based paginated response wrapper
|
|
@@ -3008,9 +3161,9 @@ const zMonitorsListCheckinsResponse = z.object({
|
|
|
3008
3161
|
items: z.array(z.object({
|
|
3009
3162
|
date_added: z.iso.datetime({ offset: true }),
|
|
3010
3163
|
date_updated: z.iso.datetime({ offset: true }),
|
|
3011
|
-
duration_ms: z.
|
|
3164
|
+
duration_ms: z.nullable(z.int()),
|
|
3012
3165
|
environment: z.string(),
|
|
3013
|
-
expected_time: z.iso.datetime({ offset: true })
|
|
3166
|
+
expected_time: z.nullable(z.iso.datetime({ offset: true })),
|
|
3014
3167
|
id: z.uuid(),
|
|
3015
3168
|
status: zCheckInStatus
|
|
3016
3169
|
})),
|
|
@@ -3019,33 +3172,33 @@ const zMonitorsListCheckinsResponse = z.object({
|
|
|
3019
3172
|
total_count: z.int(),
|
|
3020
3173
|
total_pages: z.int()
|
|
3021
3174
|
});
|
|
3022
|
-
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" })) });
|
|
3023
3176
|
const zReleasesListQuery = z.object({
|
|
3024
|
-
environment: z.
|
|
3025
|
-
period: z.
|
|
3026
|
-
query: z.
|
|
3027
|
-
page: z.
|
|
3028
|
-
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())
|
|
3029
3182
|
});
|
|
3030
3183
|
/**
|
|
3031
3184
|
* Offset-based paginated response wrapper
|
|
3032
3185
|
*/
|
|
3033
3186
|
const zReleasesListResponse = z.object({
|
|
3034
3187
|
items: z.array(z.object({
|
|
3035
|
-
adoption: z.
|
|
3036
|
-
crash_free_sessions: z.
|
|
3037
|
-
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()),
|
|
3038
3191
|
crashed: z.int(),
|
|
3039
3192
|
date_created: z.iso.datetime({ offset: true }),
|
|
3040
|
-
date_released: z.iso.datetime({ offset: true })
|
|
3193
|
+
date_released: z.nullable(z.iso.datetime({ offset: true })),
|
|
3041
3194
|
environments: z.array(z.string()),
|
|
3042
3195
|
event_count: z.int(),
|
|
3043
|
-
first_event: z.iso.datetime({ offset: true })
|
|
3044
|
-
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 })),
|
|
3045
3198
|
new_issues: z.int(),
|
|
3046
|
-
ref: z.
|
|
3199
|
+
ref: z.nullable(z.string()),
|
|
3047
3200
|
sessions: z.int(),
|
|
3048
|
-
url: z.
|
|
3201
|
+
url: z.nullable(z.string()),
|
|
3049
3202
|
version: z.string()
|
|
3050
3203
|
})),
|
|
3051
3204
|
page: z.int(),
|
|
@@ -3054,32 +3207,32 @@ const zReleasesListResponse = z.object({
|
|
|
3054
3207
|
total_pages: z.int()
|
|
3055
3208
|
});
|
|
3056
3209
|
const zReleasesGetPath = z.object({
|
|
3057
|
-
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" })),
|
|
3058
3211
|
release: z.string()
|
|
3059
3212
|
});
|
|
3060
3213
|
const zReleasesGetQuery = z.object({
|
|
3061
|
-
environment: z.
|
|
3062
|
-
period: z.
|
|
3214
|
+
environment: z.optional(z.string()),
|
|
3215
|
+
period: z.optional(z.string())
|
|
3063
3216
|
});
|
|
3064
3217
|
/**
|
|
3065
3218
|
* The release
|
|
3066
3219
|
*/
|
|
3067
3220
|
const zReleasesGetResponse = zReleaseSummary;
|
|
3068
3221
|
const zReleasesNewIssuesPath = z.object({
|
|
3069
|
-
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" })),
|
|
3070
3223
|
release: z.string()
|
|
3071
3224
|
});
|
|
3072
|
-
const zReleasesNewIssuesQuery = z.object({ limit: z.
|
|
3225
|
+
const zReleasesNewIssuesQuery = z.object({ limit: z.optional(z.int()) });
|
|
3073
3226
|
/**
|
|
3074
3227
|
* Issues first seen in this release, most recent first
|
|
3075
3228
|
*/
|
|
3076
3229
|
const zReleasesNewIssuesResponse = z.array(zIssueResponse);
|
|
3077
|
-
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" })) });
|
|
3078
3231
|
const zSessionsGetStatsQuery = z.object({
|
|
3079
|
-
period: z.
|
|
3080
|
-
release: z.
|
|
3081
|
-
page: z.int().gte(1)
|
|
3082
|
-
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)))
|
|
3083
3236
|
});
|
|
3084
3237
|
/**
|
|
3085
3238
|
* Offset-based paginated response wrapper
|
|
@@ -3087,8 +3240,8 @@ const zSessionsGetStatsQuery = z.object({
|
|
|
3087
3240
|
const zSessionsGetStatsResponse = z.object({
|
|
3088
3241
|
items: z.array(z.object({
|
|
3089
3242
|
abnormal: z.int(),
|
|
3090
|
-
crash_free_sessions_rate: z.
|
|
3091
|
-
crash_free_users_rate: z.
|
|
3243
|
+
crash_free_sessions_rate: z.nullable(z.number()),
|
|
3244
|
+
crash_free_users_rate: z.nullable(z.number()),
|
|
3092
3245
|
crashed: z.int(),
|
|
3093
3246
|
environment: z.string(),
|
|
3094
3247
|
errored: z.int(),
|
|
@@ -3101,67 +3254,67 @@ const zSessionsGetStatsResponse = z.object({
|
|
|
3101
3254
|
total_count: z.int(),
|
|
3102
3255
|
total_pages: z.int()
|
|
3103
3256
|
});
|
|
3104
|
-
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" })) });
|
|
3105
3258
|
const zSessionsGetSummaryQuery = z.object({
|
|
3106
|
-
period: z.
|
|
3107
|
-
environment: z.
|
|
3108
|
-
release: z.
|
|
3259
|
+
period: z.optional(z.string()),
|
|
3260
|
+
environment: z.optional(z.string()),
|
|
3261
|
+
release: z.optional(z.string())
|
|
3109
3262
|
});
|
|
3110
3263
|
/**
|
|
3111
3264
|
* Project-wide session health summary
|
|
3112
3265
|
*/
|
|
3113
3266
|
const zSessionsGetSummaryResponse = zSessionSummary;
|
|
3114
|
-
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" })) });
|
|
3115
3268
|
const zSessionsGetTimeseriesQuery = z.object({
|
|
3116
|
-
period: z.
|
|
3117
|
-
interval: z.
|
|
3118
|
-
environment: z.
|
|
3119
|
-
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())
|
|
3120
3273
|
});
|
|
3121
3274
|
/**
|
|
3122
3275
|
* Time-bucketed session trend, project-wide
|
|
3123
3276
|
*/
|
|
3124
3277
|
const zSessionsGetTimeseriesResponse = z.array(zSessionTimeseriesPoint);
|
|
3125
|
-
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" })) });
|
|
3126
3279
|
const zSpansListQuery = z.object({
|
|
3127
|
-
page: z.int().gte(1)
|
|
3128
|
-
per_page: z.int().gte(1).lte(100)
|
|
3129
|
-
op: z.
|
|
3130
|
-
status: z.
|
|
3131
|
-
trace_id: z.
|
|
3132
|
-
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())
|
|
3133
3286
|
});
|
|
3134
3287
|
/**
|
|
3135
3288
|
* Offset-based paginated response wrapper
|
|
3136
3289
|
*/
|
|
3137
3290
|
const zSpansListResponse = z.object({
|
|
3138
3291
|
items: z.array(z.object({
|
|
3139
|
-
description: z.
|
|
3140
|
-
duration_ms: z.
|
|
3141
|
-
environment: z.
|
|
3142
|
-
exclusive_time_ms: z.
|
|
3143
|
-
gen_ai_agent_name: z.
|
|
3144
|
-
gen_ai_conversation_id: z.
|
|
3145
|
-
gen_ai_operation_type: z.
|
|
3146
|
-
gen_ai_request_model: z.
|
|
3147
|
-
gen_ai_response_model: z.
|
|
3148
|
-
gen_ai_tool_name: z.
|
|
3149
|
-
gen_ai_usage_input_tokens: z.
|
|
3150
|
-
gen_ai_usage_output_tokens: z.
|
|
3151
|
-
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()),
|
|
3152
3305
|
id: z.uuid(),
|
|
3153
3306
|
is_segment: z.boolean(),
|
|
3154
|
-
op: z.
|
|
3155
|
-
parent_span_id: z.
|
|
3156
|
-
platform: z.
|
|
3157
|
-
release: z.
|
|
3158
|
-
segment_id: z.
|
|
3159
|
-
span_id: z.
|
|
3160
|
-
start_timestamp: z.iso.datetime({ offset: true })
|
|
3161
|
-
status: z.
|
|
3162
|
-
timestamp: z.iso.datetime({ offset: true })
|
|
3163
|
-
trace_id: z.
|
|
3164
|
-
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())
|
|
3165
3318
|
})),
|
|
3166
3319
|
page: z.int(),
|
|
3167
3320
|
per_page: z.int(),
|
|
@@ -3169,49 +3322,49 @@ const zSpansListResponse = z.object({
|
|
|
3169
3322
|
total_pages: z.int()
|
|
3170
3323
|
});
|
|
3171
3324
|
const zSpansGetPath = z.object({
|
|
3172
|
-
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" })),
|
|
3173
3326
|
span_id: z.uuid()
|
|
3174
3327
|
});
|
|
3175
3328
|
/**
|
|
3176
3329
|
* Span with its full attribute bag
|
|
3177
3330
|
*/
|
|
3178
3331
|
const zSpansGetResponse = zSpanDetailResponse;
|
|
3179
|
-
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" })) });
|
|
3180
3333
|
const zStatsGetSummaryQuery = z.object({
|
|
3181
|
-
period: z.
|
|
3182
|
-
environment: z.
|
|
3183
|
-
release: z.
|
|
3334
|
+
period: z.optional(z.string()),
|
|
3335
|
+
environment: z.optional(z.string()),
|
|
3336
|
+
release: z.optional(z.string())
|
|
3184
3337
|
});
|
|
3185
3338
|
/**
|
|
3186
3339
|
* Project counters with previous-period comparison
|
|
3187
3340
|
*/
|
|
3188
3341
|
const zStatsGetSummaryResponse = zProjectStatsSummary;
|
|
3189
|
-
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" })) });
|
|
3190
3343
|
const zTransactionsListQuery = z.object({
|
|
3191
|
-
page: z.int().gte(1)
|
|
3192
|
-
per_page: z.int().gte(1).lte(100)
|
|
3193
|
-
name: z.
|
|
3194
|
-
op: z.
|
|
3195
|
-
status: z.
|
|
3196
|
-
environment: z.
|
|
3197
|
-
release: z.
|
|
3198
|
-
period: z.
|
|
3199
|
-
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")]))
|
|
3200
3353
|
});
|
|
3201
3354
|
/**
|
|
3202
3355
|
* Offset-based paginated response wrapper
|
|
3203
3356
|
*/
|
|
3204
3357
|
const zTransactionsListResponse = z.object({
|
|
3205
3358
|
items: z.array(z.object({
|
|
3206
|
-
duration_ms: z.
|
|
3359
|
+
duration_ms: z.nullable(z.number()),
|
|
3207
3360
|
environment: z.string(),
|
|
3208
3361
|
event_id: z.string(),
|
|
3209
3362
|
id: z.uuid(),
|
|
3210
3363
|
ingested_at: z.iso.datetime({ offset: true }),
|
|
3211
3364
|
platform: z.string(),
|
|
3212
3365
|
release: z.string(),
|
|
3213
|
-
start_timestamp: z.iso.datetime({ offset: true })
|
|
3214
|
-
status: z.
|
|
3366
|
+
start_timestamp: z.nullable(z.iso.datetime({ offset: true })),
|
|
3367
|
+
status: z.nullable(z.string()),
|
|
3215
3368
|
timestamp: z.iso.datetime({ offset: true }),
|
|
3216
3369
|
transaction_name: z.string()
|
|
3217
3370
|
})),
|
|
@@ -3220,19 +3373,19 @@ const zTransactionsListResponse = z.object({
|
|
|
3220
3373
|
total_count: z.int(),
|
|
3221
3374
|
total_pages: z.int()
|
|
3222
3375
|
});
|
|
3223
|
-
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" })) });
|
|
3224
3377
|
const zTransactionsGetStatsQuery = z.object({
|
|
3225
|
-
page: z.int().gte(1)
|
|
3226
|
-
per_page: z.int().gte(1).lte(100)
|
|
3227
|
-
environment: z.
|
|
3228
|
-
period: z.
|
|
3229
|
-
query: z.
|
|
3230
|
-
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([
|
|
3231
3384
|
"time_spent",
|
|
3232
3385
|
"count",
|
|
3233
3386
|
"avg",
|
|
3234
3387
|
"failure_rate"
|
|
3235
|
-
])
|
|
3388
|
+
]))
|
|
3236
3389
|
});
|
|
3237
3390
|
/**
|
|
3238
3391
|
* Offset-based paginated response wrapper
|
|
@@ -3243,7 +3396,7 @@ const zTransactionsGetStatsResponse = z.object({
|
|
|
3243
3396
|
count: z.int(),
|
|
3244
3397
|
failure_rate: z.number(),
|
|
3245
3398
|
last_seen: z.iso.datetime({ offset: true }),
|
|
3246
|
-
op: z.
|
|
3399
|
+
op: z.nullable(z.string()),
|
|
3247
3400
|
p50_ms: z.number(),
|
|
3248
3401
|
p95_ms: z.number(),
|
|
3249
3402
|
p99_ms: z.number(),
|
|
@@ -3256,30 +3409,30 @@ const zTransactionsGetStatsResponse = z.object({
|
|
|
3256
3409
|
total_count: z.int(),
|
|
3257
3410
|
total_pages: z.int()
|
|
3258
3411
|
});
|
|
3259
|
-
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" })) });
|
|
3260
3413
|
const zTransactionsGetStatGroupQuery = z.object({
|
|
3261
3414
|
name: z.string(),
|
|
3262
|
-
op: z.
|
|
3263
|
-
environment: z.
|
|
3264
|
-
period: z.
|
|
3415
|
+
op: z.nullish(z.string()),
|
|
3416
|
+
environment: z.nullish(z.string()),
|
|
3417
|
+
period: z.nullish(z.string())
|
|
3265
3418
|
});
|
|
3266
3419
|
/**
|
|
3267
3420
|
* Aggregate stats for one (transaction, op) group
|
|
3268
3421
|
*/
|
|
3269
3422
|
const zTransactionsGetStatGroupResponse = zTransactionStatsResponse;
|
|
3270
|
-
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" })) });
|
|
3271
3424
|
const zTransactionsGetStatGroupTimeseriesQuery = z.object({
|
|
3272
3425
|
name: z.string(),
|
|
3273
|
-
op: z.
|
|
3274
|
-
environment: z.
|
|
3275
|
-
period: z.
|
|
3426
|
+
op: z.nullish(z.string()),
|
|
3427
|
+
environment: z.nullish(z.string()),
|
|
3428
|
+
period: z.nullish(z.string())
|
|
3276
3429
|
});
|
|
3277
3430
|
/**
|
|
3278
3431
|
* The endpoint's runs, failures, p50 and p95 per bucket, oldest first
|
|
3279
3432
|
*/
|
|
3280
3433
|
const zTransactionsGetStatGroupTimeseriesResponse = z.array(zTransactionTimeseriesPoint);
|
|
3281
3434
|
const zTransactionsGetPath = z.object({
|
|
3282
|
-
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" })),
|
|
3283
3436
|
transaction_id: z.uuid()
|
|
3284
3437
|
});
|
|
3285
3438
|
/**
|
|
@@ -3287,40 +3440,75 @@ const zTransactionsGetPath = z.object({
|
|
|
3287
3440
|
*/
|
|
3288
3441
|
const zTransactionsGetResponse = zTransactionDetailResponse;
|
|
3289
3442
|
const zTransactionsGetSpansPath = z.object({
|
|
3290
|
-
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" })),
|
|
3291
3444
|
transaction_id: z.uuid()
|
|
3292
3445
|
});
|
|
3293
3446
|
/**
|
|
3294
3447
|
* Indexed spans for the transaction (waterfall order)
|
|
3295
3448
|
*/
|
|
3296
3449
|
const zTransactionsGetSpansResponse = z.array(z.object({
|
|
3297
|
-
description: z.
|
|
3298
|
-
duration_ms: z.
|
|
3299
|
-
environment: z.
|
|
3300
|
-
exclusive_time_ms: z.
|
|
3301
|
-
gen_ai_agent_name: z.
|
|
3302
|
-
gen_ai_conversation_id: z.
|
|
3303
|
-
gen_ai_operation_type: z.
|
|
3304
|
-
gen_ai_request_model: z.
|
|
3305
|
-
gen_ai_response_model: z.
|
|
3306
|
-
gen_ai_tool_name: z.
|
|
3307
|
-
gen_ai_usage_input_tokens: z.
|
|
3308
|
-
gen_ai_usage_output_tokens: z.
|
|
3309
|
-
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()),
|
|
3310
3463
|
id: z.uuid(),
|
|
3311
3464
|
is_segment: z.boolean(),
|
|
3312
|
-
op: z.
|
|
3313
|
-
parent_span_id: z.
|
|
3314
|
-
platform: z.
|
|
3315
|
-
release: z.
|
|
3316
|
-
segment_id: z.
|
|
3317
|
-
span_id: z.
|
|
3318
|
-
start_timestamp: z.iso.datetime({ offset: true })
|
|
3319
|
-
status: z.
|
|
3320
|
-
timestamp: z.iso.datetime({ offset: true })
|
|
3321
|
-
trace_id: z.
|
|
3322
|
-
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())
|
|
3323
3476
|
}));
|
|
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" })) });
|
|
3478
|
+
const zSavedViewsListQuery = z.object({ page: z.string() });
|
|
3479
|
+
/**
|
|
3480
|
+
* The page's views
|
|
3481
|
+
*/
|
|
3482
|
+
const zSavedViewsListResponse = z.array(zSavedView);
|
|
3483
|
+
const zSavedViewsCreateBody = zCreateSavedView;
|
|
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" })) });
|
|
3485
|
+
/**
|
|
3486
|
+
* View saved
|
|
3487
|
+
*/
|
|
3488
|
+
const zSavedViewsCreateResponse = zSavedView;
|
|
3489
|
+
const zSavedViewsSetDefaultBody = zSetDefaultView;
|
|
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" })) });
|
|
3491
|
+
/**
|
|
3492
|
+
* Default set
|
|
3493
|
+
*/
|
|
3494
|
+
const zSavedViewsSetDefaultResponse = z.void();
|
|
3495
|
+
const zSavedViewsDeletePath = z.object({
|
|
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" }))
|
|
3498
|
+
});
|
|
3499
|
+
/**
|
|
3500
|
+
* View deleted
|
|
3501
|
+
*/
|
|
3502
|
+
const zSavedViewsDeleteResponse = z.void();
|
|
3503
|
+
const zSavedViewsUpdateBody = zUpdateSavedView;
|
|
3504
|
+
const zSavedViewsUpdatePath = z.object({
|
|
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" }))
|
|
3507
|
+
});
|
|
3508
|
+
/**
|
|
3509
|
+
* View updated
|
|
3510
|
+
*/
|
|
3511
|
+
const zSavedViewsUpdateResponse = zSavedView;
|
|
3324
3512
|
/**
|
|
3325
3513
|
* The server's per-project limits
|
|
3326
3514
|
*/
|
|
@@ -3334,13 +3522,13 @@ const zRolesCreateBody = zRoleInput;
|
|
|
3334
3522
|
* Created
|
|
3335
3523
|
*/
|
|
3336
3524
|
const zRolesCreateResponse = zRole;
|
|
3337
|
-
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" })) });
|
|
3338
3526
|
/**
|
|
3339
3527
|
* Deleted
|
|
3340
3528
|
*/
|
|
3341
3529
|
const zRolesDeleteResponse = z.void();
|
|
3342
3530
|
const zRolesUpdateBody = zRoleInput;
|
|
3343
|
-
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" })) });
|
|
3344
3532
|
/**
|
|
3345
3533
|
* Updated
|
|
3346
3534
|
*/
|
|
@@ -3394,7 +3582,7 @@ const zStorageGetProjectsResponse = z.array(z.object({
|
|
|
3394
3582
|
events_count: z.int(),
|
|
3395
3583
|
logs_bytes: z.int(),
|
|
3396
3584
|
logs_count: z.int(),
|
|
3397
|
-
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" })),
|
|
3398
3586
|
project_name: z.string(),
|
|
3399
3587
|
source_maps_count: z.int(),
|
|
3400
3588
|
spans_count: z.int(),
|
|
@@ -3435,13 +3623,13 @@ const zStorageGetSummaryResponse = zStorageSummary;
|
|
|
3435
3623
|
* List of team members
|
|
3436
3624
|
*/
|
|
3437
3625
|
const zTeamListResponse = z.array(zTeamMemberResponse);
|
|
3438
|
-
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" })) });
|
|
3439
3627
|
/**
|
|
3440
3628
|
* User deleted
|
|
3441
3629
|
*/
|
|
3442
3630
|
const zTeamDeleteUserResponse = z.void();
|
|
3443
3631
|
const zTeamUpdateRoleBody = zUpdateUserRole;
|
|
3444
|
-
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" })) });
|
|
3445
3633
|
/**
|
|
3446
3634
|
* Role updated
|
|
3447
3635
|
*/
|
|
@@ -3459,27 +3647,53 @@ const zTokensCreateBody = zCreateAuthToken;
|
|
|
3459
3647
|
* Token created (full token shown once)
|
|
3460
3648
|
*/
|
|
3461
3649
|
const zTokensCreateResponse = zAuthTokenCreatedResponse;
|
|
3462
|
-
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" })) });
|
|
3463
3651
|
/**
|
|
3464
3652
|
* Token revoked
|
|
3465
3653
|
*/
|
|
3466
3654
|
const zTokensDeleteResponse = z.void();
|
|
3467
|
-
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" })) });
|
|
3468
3656
|
/**
|
|
3469
3657
|
* Token details (masked)
|
|
3470
3658
|
*/
|
|
3471
3659
|
const zTokensGetResponse = zAuthTokenResponse;
|
|
3472
|
-
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" })) });
|
|
3473
3661
|
/**
|
|
3474
3662
|
* What the user holds
|
|
3475
3663
|
*/
|
|
3476
3664
|
const zUsersAssignmentsResponse = zUserAccess;
|
|
3477
3665
|
const zUsersSetAssignmentsBody = zSetAccess;
|
|
3478
|
-
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" })) });
|
|
3479
3667
|
/**
|
|
3480
3668
|
* What the user holds now
|
|
3481
3669
|
*/
|
|
3482
3670
|
const zUsersSetAssignmentsResponse = zUserAccess;
|
|
3671
|
+
const zWorkspaceViewsListQuery = z.object({ page: z.string() });
|
|
3672
|
+
/**
|
|
3673
|
+
* The page's views
|
|
3674
|
+
*/
|
|
3675
|
+
const zWorkspaceViewsListResponse = z.array(zSavedView);
|
|
3676
|
+
const zWorkspaceViewsCreateBody = zCreateSavedView;
|
|
3677
|
+
/**
|
|
3678
|
+
* View saved
|
|
3679
|
+
*/
|
|
3680
|
+
const zWorkspaceViewsCreateResponse = zSavedView;
|
|
3681
|
+
const zWorkspaceViewsSetDefaultBody = zSetDefaultView;
|
|
3682
|
+
/**
|
|
3683
|
+
* Default set
|
|
3684
|
+
*/
|
|
3685
|
+
const zWorkspaceViewsSetDefaultResponse = z.void();
|
|
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" })) });
|
|
3687
|
+
/**
|
|
3688
|
+
* View deleted
|
|
3689
|
+
*/
|
|
3690
|
+
const zWorkspaceViewsDeleteResponse = z.void();
|
|
3691
|
+
const zWorkspaceViewsUpdateBody = zUpdateSavedView;
|
|
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" })) });
|
|
3693
|
+
/**
|
|
3694
|
+
* View updated
|
|
3695
|
+
*/
|
|
3696
|
+
const zWorkspaceViewsUpdateResponse = zSavedView;
|
|
3483
3697
|
const zAuthAcceptInvitationBody = zAcceptInvitation;
|
|
3484
3698
|
/**
|
|
3485
3699
|
* Invitation accepted and user created; signed in unless password login is disabled
|
|
@@ -3514,9 +3728,9 @@ const zAuthChangePasswordBody = zChangePasswordRequest;
|
|
|
3514
3728
|
*/
|
|
3515
3729
|
const zAuthChangePasswordResponse = z.void();
|
|
3516
3730
|
const zAuthSsoCallbackQuery = z.object({
|
|
3517
|
-
code: z.
|
|
3518
|
-
state: z.
|
|
3519
|
-
error: z.
|
|
3731
|
+
code: z.nullish(z.string()),
|
|
3732
|
+
state: z.nullish(z.string()),
|
|
3733
|
+
error: z.nullish(z.string())
|
|
3520
3734
|
});
|
|
3521
3735
|
/**
|
|
3522
3736
|
* SSO login completed
|
|
@@ -3554,8 +3768,8 @@ const zHealthVersionResponse = zVersionResponse;
|
|
|
3554
3768
|
const zSentryOpenIssuePath = z.object({
|
|
3555
3769
|
org_slug: z.string(),
|
|
3556
3770
|
project_slug: z.string(),
|
|
3557
|
-
issue_id: z.string().regex(/^[0-9]+$/)
|
|
3771
|
+
issue_id: z.string().check(z.regex(/^[0-9]+$/))
|
|
3558
3772
|
});
|
|
3559
|
-
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, zDebugFileResponse, zDebugFilesAssembleBody, zDebugFilesAssemblePath, zDebugFilesAssembleResponse, zDebugFilesUploadBody, zDebugFilesUploadPath, zDebugFilesUploadResponse, zDifAssembleFile, zDifUploadBody, zEmailStatusResponse, zEnvironmentsListPath, zEnvironmentsListResponse, zErrorDetail, zEventDetailResponse, zEventTimeseriesPoint, zEventsDownloadAttachmentPath, zEventsDownloadAttachmentResponse, zEventsGetBySentryIdPath, zEventsGetBySentryIdResponse, zEventsGetPath, zEventsGetResponse, zEventsListAttachmentsPath, zEventsListAttachmentsResponse, zEventsListPath, zEventsListQuery, zEventsListResponse, 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, 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, zSchedule, zSchedulePreview, zSchedulesPreviewBody, zSchedulesPreviewResponse, zScope, zSeenResponse, zSentryEvent, zSentryGetIssuePath, zSentryGetIssueResponse, zSentryGetLatestEventPath, zSentryGetLatestEventResponse, zSentryGroupProject, zSentryIssue, zSentryIssueDetails, zSentryListIssuesPath, zSentryListIssuesQuery, zSentryListIssuesResponse, 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, 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, zUpdateUserRole, zUserAccess, zUserReport, zUserReportRequest, zUserResponse, zUserRole, zUsersAssignmentsPath, zUsersAssignmentsResponse, zUsersSetAssignmentsBody, zUsersSetAssignmentsPath, zUsersSetAssignmentsResponse, zVersionResponse };
|
|
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 };
|
|
3560
3774
|
|
|
3561
3775
|
//# sourceMappingURL=zod.gen.mjs.map
|