@rustrak/client 0.24.0 → 0.26.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/README.md +76 -61
  2. package/dist/client.cjs +4 -3
  3. package/dist/client.cjs.map +1 -1
  4. package/dist/client.d.cts +2 -1
  5. package/dist/client.d.cts.map +1 -1
  6. package/dist/client.d.mts +2 -1
  7. package/dist/client.d.mts.map +1 -1
  8. package/dist/client.mjs +5 -4
  9. package/dist/client.mjs.map +1 -1
  10. package/dist/config.d.cts.map +1 -1
  11. package/dist/config.d.mts.map +1 -1
  12. package/dist/errors.cjs +19 -6
  13. package/dist/errors.cjs.map +1 -1
  14. package/dist/errors.d.cts +1 -1
  15. package/dist/errors.d.cts.map +1 -1
  16. package/dist/errors.d.mts +1 -1
  17. package/dist/errors.d.mts.map +1 -1
  18. package/dist/errors.mjs +19 -7
  19. package/dist/errors.mjs.map +1 -1
  20. package/dist/generated/binary.gen.cjs +6 -0
  21. package/dist/generated/binary.gen.cjs.map +1 -0
  22. package/dist/generated/binary.gen.d.cts +2 -0
  23. package/dist/generated/binary.gen.d.cts.map +1 -0
  24. package/dist/generated/binary.gen.d.mts +2 -0
  25. package/dist/generated/binary.gen.d.mts.map +1 -0
  26. package/dist/generated/binary.gen.mjs +6 -0
  27. package/dist/generated/binary.gen.mjs.map +1 -0
  28. package/dist/generated/sdk.gen.cjs +371 -199
  29. package/dist/generated/sdk.gen.cjs.map +1 -1
  30. package/dist/generated/sdk.gen.d.cts +24 -2
  31. package/dist/generated/sdk.gen.d.cts.map +1 -1
  32. package/dist/generated/sdk.gen.d.mts +24 -2
  33. package/dist/generated/sdk.gen.d.mts.map +1 -1
  34. package/dist/generated/sdk.gen.mjs +370 -201
  35. package/dist/generated/sdk.gen.mjs.map +1 -1
  36. package/dist/generated/types.gen.d.cts +313 -47
  37. package/dist/generated/types.gen.d.cts.map +1 -1
  38. package/dist/generated/types.gen.d.mts +313 -47
  39. package/dist/generated/types.gen.d.mts.map +1 -1
  40. package/dist/generated/zod.gen.cjs +315 -88
  41. package/dist/generated/zod.gen.cjs.map +1 -1
  42. package/dist/generated/zod.gen.mjs +275 -84
  43. package/dist/generated/zod.gen.mjs.map +1 -1
  44. package/dist/index.d.cts +2 -2
  45. package/dist/index.d.mts +2 -2
  46. package/dist/result.cjs +0 -2
  47. package/dist/result.cjs.map +1 -1
  48. package/dist/result.d.cts.map +1 -1
  49. package/dist/result.d.mts.map +1 -1
  50. package/dist/result.mjs +0 -2
  51. package/dist/result.mjs.map +1 -1
  52. package/dist/utils/http.cjs +18 -31
  53. package/dist/utils/http.cjs.map +1 -1
  54. package/dist/utils/http.mjs +20 -32
  55. package/dist/utils/http.mjs.map +1 -1
  56. package/package.json +3 -5
@@ -5,6 +5,15 @@ const zAcceptInvitation = z.object({
5
5
  token: z.string()
6
6
  });
7
7
  /**
8
+ * Something a grant can allow.
9
+ */
10
+ const zAction = z.enum([
11
+ "read",
12
+ "create",
13
+ "update",
14
+ "delete"
15
+ ]);
16
+ /**
8
17
  * An entry in an issue's activity log. Comments are stored as activity rows of
9
18
  * type `note` with `{"text": ...}` in `data` (Sentry models notes as activity).
10
19
  */
@@ -172,6 +181,10 @@ const zAssembleResponse = z.object({
172
181
  missingChunks: z.array(z.string()),
173
182
  state: z.string()
174
183
  });
184
+ const zAssignmentInput = z.object({
185
+ project_id: z.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }).nullish(),
186
+ role_id: z.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })
187
+ });
175
188
  /**
176
189
  * The raw bytes of an attachment. Untyped in the spec: the generated
177
190
  * client validates bodies with zod, which has no type for a binary one.
@@ -189,25 +202,6 @@ const zAttachmentInfo = z.object({
189
202
  size: z.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })
190
203
  });
191
204
  /**
192
- * Response that includes the full token (only on creation)
193
- */
194
- const zAuthTokenCreatedResponse = z.object({
195
- created_at: z.iso.datetime({ offset: true }),
196
- description: z.string().nullable(),
197
- id: z.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
198
- token: z.string()
199
- });
200
- /**
201
- * Response for listing (token is masked)
202
- */
203
- const zAuthTokenResponse = z.object({
204
- created_at: z.iso.datetime({ offset: true }),
205
- description: z.string().nullable(),
206
- id: z.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
207
- last_used_at: z.iso.datetime({ offset: true }).nullable(),
208
- token_prefix: z.string()
209
- });
210
- /**
211
205
  * What the consent page shows about the client asking.
212
206
  */
213
207
  const zAuthorizationInfo = z.object({
@@ -410,10 +404,6 @@ const zCreateAlertRule = z.object({
410
404
  cooldown_minutes: z.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }).optional(),
411
405
  name: z.string()
412
406
  });
413
- /**
414
- * DTO for creating a new token
415
- */
416
- const zCreateAuthToken = z.object({ description: z.string().nullish() });
417
407
  const zCreateGitHubIssue = z.object({
418
408
  assignee: z.string().nullish(),
419
409
  body: z.string().nullish(),
@@ -436,10 +426,6 @@ const zCreateRelease = z.object({
436
426
  url: z.string().nullish(),
437
427
  version: z.string()
438
428
  });
439
- const zCreateUserRequest = z.object({
440
- email: z.string(),
441
- password: z.string()
442
- });
443
429
  /**
444
430
  * A debug information file as Sentry's `DebugFileSerializer` describes it.
445
431
  */
@@ -470,6 +456,10 @@ const zDifAssembleFile = z.object({
470
456
  */
471
457
  const zDifUploadBody = z.record(z.string(), z.unknown());
472
458
  /**
459
+ * GET /api/invitations/email-status answer.
460
+ */
461
+ const zEmailStatusResponse = z.object({ available: z.boolean() });
462
+ /**
473
463
  * Response for API (full detail)
474
464
  */
475
465
  const zEventDetailResponse = z.object({
@@ -533,6 +523,7 @@ const zFieldErrorCode = z.enum([
533
523
  "already_exists",
534
524
  "too_short",
535
525
  "too_long",
526
+ "incorrect",
536
527
  "custom"
537
528
  ]);
538
529
  /**
@@ -712,8 +703,6 @@ const zIssueResponse = z.object({
712
703
  has_seen: z.boolean().nullish(),
713
704
  id: z.uuid(),
714
705
  is_bookmarked: z.boolean().nullish(),
715
- is_muted: z.boolean(),
716
- is_resolved: z.boolean(),
717
706
  is_subscribed: z.boolean().nullish(),
718
707
  issue_category: z.string(),
719
708
  issue_type: z.string(),
@@ -852,6 +841,21 @@ const zMcpStatus = z.object({
852
841
  url: z.string().nullable()
853
842
  });
854
843
  /**
844
+ * Someone who can be made a member.
845
+ */
846
+ const zMemberCandidate = z.object({
847
+ email: z.string(),
848
+ id: z.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })
849
+ });
850
+ /**
851
+ * A role someone holds on a project.
852
+ */
853
+ const zMemberRole = z.object({
854
+ id: z.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
855
+ inherited: z.boolean(),
856
+ name: z.string()
857
+ });
858
+ /**
855
859
  * A counter measured over the requested window alongside the same counter
856
860
  * over the window immediately before it.
857
861
  *
@@ -974,6 +978,14 @@ const zProjectListStats = z.object({
974
978
  open_issues: z.int(),
975
979
  trend: z.array(z.int())
976
980
  });
981
+ /**
982
+ * A member of one project: someone holding a role on it or on every project.
983
+ */
984
+ const zProjectMember = z.object({
985
+ email: z.string(),
986
+ roles: z.array(zMemberRole),
987
+ user_id: z.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })
988
+ });
977
989
  const zProjectRepository = z.object({
978
990
  auto_create_conditions: z.record(z.string(), z.unknown()),
979
991
  auto_create_issues: z.boolean(),
@@ -994,7 +1006,7 @@ const zProjectResponse = z.object({
994
1006
  created_at: z.iso.datetime({ offset: true }),
995
1007
  digested_event_count: z.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
996
1008
  disabled_products: z.array(zProduct),
997
- dsn: z.string(),
1009
+ dsn: z.string().nullable(),
998
1010
  id: z.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
999
1011
  name: z.string(),
1000
1012
  platform: z.string().nullable(),
@@ -1002,7 +1014,7 @@ const zProjectResponse = z.object({
1002
1014
  rate_limit_per_hour: z.int().nullable(),
1003
1015
  rate_limit_per_minute: z.int().nullable(),
1004
1016
  rate_limited_event_count: z.int(),
1005
- sentry_key: z.string(),
1017
+ sentry_key: z.string().nullable(),
1006
1018
  slug: z.string(),
1007
1019
  stats: zProjectListStats.nullish(),
1008
1020
  stored_event_count: z.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
@@ -1019,33 +1031,6 @@ const zProjectRetention = z.object({
1019
1031
  transactions_days: z.int().nullable()
1020
1032
  });
1021
1033
  /**
1022
- * Per-project capability level for a member.
1023
- *
1024
- * Ordered by privilege: `Viewer` < `Editor` < `Admin` (derived `Ord` uses
1025
- * declaration order). An `Action` maps to the minimum role that may perform it.
1026
- */
1027
- const zProjectRole = z.enum([
1028
- "viewer",
1029
- "editor",
1030
- "admin"
1031
- ]);
1032
- const zProjectMember = z.object({
1033
- created_at: z.iso.datetime({ offset: true }),
1034
- id: z.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
1035
- project_id: z.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
1036
- role: zProjectRole,
1037
- user_id: z.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })
1038
- });
1039
- /**
1040
- * Member row joined with the user's email, for listing a project's team.
1041
- */
1042
- const zProjectMemberResponse = z.object({
1043
- created_at: z.iso.datetime({ offset: true }),
1044
- email: z.string(),
1045
- role: zProjectRole,
1046
- user_id: z.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })
1047
- });
1048
- /**
1049
1034
  * Project-wide counters for the overview page, each with its previous-period
1050
1035
  * comparison.
1051
1036
  */
@@ -1103,7 +1088,6 @@ const zCreateAlertIntegration = z.object({
1103
1088
  provider_type: zProviderType
1104
1089
  });
1105
1090
  /**
1106
- * Configure project routes
1107
1091
  * The server's per-project event limits (`MAX_EVENTS_PER_PROJECT_*`).
1108
1092
  */
1109
1093
  const zRateLimitsResponse = z.object({
@@ -1179,6 +1163,95 @@ const zIssueGitHub = z.object({
1179
1163
  suspect_commits: z.array(zRepoCommit)
1180
1164
  });
1181
1165
  /**
1166
+ * Every resource a permission can name.
1167
+ */
1168
+ const zResource = z.enum([
1169
+ "projects",
1170
+ "users",
1171
+ "invitations",
1172
+ "roles",
1173
+ "api-tokens",
1174
+ "integrations",
1175
+ "github-app",
1176
+ "storage",
1177
+ "mcp",
1178
+ "telemetry",
1179
+ "issues",
1180
+ "performance",
1181
+ "logs",
1182
+ "sessions",
1183
+ "releases",
1184
+ "source-maps",
1185
+ "alert-rules",
1186
+ "monitors",
1187
+ "project",
1188
+ "client-keys",
1189
+ "project-members",
1190
+ "project-github"
1191
+ ]);
1192
+ /**
1193
+ * One `(resource, action)` grant.
1194
+ */
1195
+ const zPermission = z.object({
1196
+ action: zAction,
1197
+ resource: zResource
1198
+ });
1199
+ /**
1200
+ * Response that includes the full token (only on creation)
1201
+ */
1202
+ const zAuthTokenCreatedResponse = z.object({
1203
+ created_at: z.iso.datetime({ offset: true }),
1204
+ description: z.string().nullable(),
1205
+ expires_at: z.iso.datetime({ offset: true }).nullable(),
1206
+ id: z.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
1207
+ permissions: z.array(zPermission).nullable(),
1208
+ project_ids: z.array(z.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })).nullable(),
1209
+ token: z.string()
1210
+ });
1211
+ /**
1212
+ * Response for listing (token is masked)
1213
+ */
1214
+ const zAuthTokenResponse = z.object({
1215
+ created_at: z.iso.datetime({ offset: true }),
1216
+ description: z.string().nullable(),
1217
+ expires_at: z.iso.datetime({ offset: true }).nullable(),
1218
+ id: z.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
1219
+ last_used_at: z.iso.datetime({ offset: true }).nullable(),
1220
+ permissions: z.array(zPermission).nullable(),
1221
+ project_ids: z.array(z.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })).nullable(),
1222
+ token_prefix: z.string(),
1223
+ user_id: z.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }).nullable()
1224
+ });
1225
+ /**
1226
+ * DTO for creating a new token
1227
+ */
1228
+ const zCreateAuthToken = z.object({
1229
+ description: z.string().nullish(),
1230
+ expires_at: z.iso.datetime({ offset: true }).nullish(),
1231
+ permissions: z.array(zPermission).nullish(),
1232
+ project_ids: z.array(z.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })).nullish()
1233
+ });
1234
+ /**
1235
+ * Permissions given to one person directly, without a role of the list.
1236
+ */
1237
+ const zPersonalAccess = z.object({
1238
+ permissions: z.array(zPermission),
1239
+ project_ids: z.array(z.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })).nullish()
1240
+ });
1241
+ const zProjectPermissions = z.object({
1242
+ permissions: z.array(zPermission),
1243
+ project_id: z.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })
1244
+ });
1245
+ /**
1246
+ * What the caller may do. An owner may do everything and gets empty lists.
1247
+ */
1248
+ const zMyAccess = z.object({
1249
+ all_projects: z.array(zPermission),
1250
+ instance: z.array(zPermission),
1251
+ is_owner: z.boolean(),
1252
+ projects: z.array(zProjectPermissions)
1253
+ });
1254
+ /**
1182
1255
  * How the last retention cleanup went.
1183
1256
  */
1184
1257
  const zRetentionRun = z.object({
@@ -1218,6 +1291,46 @@ const zRetentionResponse = z.object({
1218
1291
  next_run_at: z.iso.datetime({ offset: true }).nullable(),
1219
1292
  settings: zRetentionSettings
1220
1293
  });
1294
+ /**
1295
+ * A named set of permissions, given to users by an assignment.
1296
+ */
1297
+ const zRole = z.object({
1298
+ assignment_count: z.int(),
1299
+ created_at: z.iso.datetime({ offset: true }),
1300
+ description: z.string(),
1301
+ id: z.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
1302
+ name: z.string(),
1303
+ permissions: z.array(zPermission)
1304
+ });
1305
+ /**
1306
+ * A role given to a user. `project_id = null` reaches every project. A role's
1307
+ * workspace permissions apply wherever it is held.
1308
+ */
1309
+ const zRoleAssignment = z.object({
1310
+ created_at: z.iso.datetime({ offset: true }),
1311
+ id: z.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
1312
+ is_personal: z.boolean(),
1313
+ project_id: z.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }).nullable(),
1314
+ role_id: z.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
1315
+ role_name: z.string(),
1316
+ user_id: z.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })
1317
+ });
1318
+ const zRoleInput = z.object({
1319
+ description: z.string().optional(),
1320
+ name: z.string(),
1321
+ permissions: z.array(zPermission)
1322
+ });
1323
+ const zRoleRef = z.object({
1324
+ id: z.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
1325
+ name: z.string()
1326
+ });
1327
+ /**
1328
+ * What the caller can choose from when setting a member's roles.
1329
+ */
1330
+ const zMemberCandidates = z.object({
1331
+ roles: z.array(zRoleRef),
1332
+ users: z.array(zMemberCandidate)
1333
+ });
1221
1334
  const zSchedule = z.union([z.object({
1222
1335
  type: z.enum(["crontab"]),
1223
1336
  value: z.string()
@@ -1277,6 +1390,17 @@ const zPreviewSchedule = z.object({
1277
1390
  * expect their check-ins and scheduled jobs fire at exactly these instants.
1278
1391
  */
1279
1392
  const zSchedulePreview = z.object({ next_runs: z.array(z.iso.datetime({ offset: true })) });
1393
+ /**
1394
+ * Whether a resource belongs to the workspace or to one project.
1395
+ */
1396
+ const zScope = z.enum(["instance", "project"]);
1397
+ const zCatalogResource = z.object({
1398
+ actions: z.array(zAction),
1399
+ key: z.string(),
1400
+ module: z.string(),
1401
+ scope: zScope
1402
+ });
1403
+ const zCatalog = z.object({ resources: z.array(zCatalogResource) });
1280
1404
  const zSeenResponse = z.object({ has_seen: z.boolean() });
1281
1405
  /**
1282
1406
  * `GroupProjectResponse` (`api/serializers/models/group.py`).
@@ -1432,6 +1556,17 @@ const zSessionTimeseriesPoint = z.object({
1432
1556
  total: z.int()
1433
1557
  });
1434
1558
  /**
1559
+ * Everything a user holds.
1560
+ */
1561
+ const zSetAccess = z.object({
1562
+ assignments: z.array(zAssignmentInput),
1563
+ personal: zPersonalAccess.nullish()
1564
+ });
1565
+ const zSetProjectMember = z.object({
1566
+ role_ids: z.array(z.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
1567
+ user_id: z.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })
1568
+ });
1569
+ /**
1435
1570
  * Sort order direction
1436
1571
  */
1437
1572
  const zSortOrder = z.enum(["asc", "desc"]);
@@ -1677,15 +1812,11 @@ const zUpdateAlertRule = z.object({
1677
1812
  /**
1678
1813
  * Request to update issue state.
1679
1814
  *
1680
- * `status`/`substatus`/`priority`/assignment are the canonical fields.
1681
- * `is_resolved`/`is_muted` are accepted as a deprecated compatibility shim
1682
- * and mapped onto `status`.
1815
+ * `status`/`substatus`/`priority`/assignment, as in Sentry.
1683
1816
  */
1684
1817
  const zUpdateIssueState = z.object({
1685
1818
  assigned_to: z.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }).nullish(),
1686
1819
  assignee_type: z.string().nullish(),
1687
- is_muted: z.boolean().nullish(),
1688
- is_resolved: z.boolean().nullish(),
1689
1820
  priority: zIssuePriority.nullish(),
1690
1821
  status: zIssueStatusUpdate.nullish(),
1691
1822
  substatus: z.string().nullish()
@@ -1742,9 +1873,12 @@ const zUpdateRelease = z.object({
1742
1873
  ref: z.string().nullish(),
1743
1874
  url: z.string().nullish()
1744
1875
  });
1745
- const zUpsertProjectMember = z.object({
1746
- role: zProjectRole,
1747
- user_id: z.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })
1876
+ /**
1877
+ * Everything a user holds.
1878
+ */
1879
+ const zUserAccess = z.object({
1880
+ assignments: z.array(zRoleAssignment),
1881
+ personal_permissions: z.array(zPermission)
1748
1882
  });
1749
1883
  /**
1750
1884
  * A user feedback report attached to a project/issue/event.
@@ -1777,7 +1911,10 @@ const zUserReportRequest = z.object({
1777
1911
  const zUserRole = z.enum(["admin", "member"]);
1778
1912
  const zCreateInvitation = z.object({
1779
1913
  email: z.string(),
1780
- role: zUserRole
1914
+ project_id: z.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }).nullish(),
1915
+ role: zUserRole,
1916
+ role_id: z.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }).nullish(),
1917
+ send_email: z.boolean().optional()
1781
1918
  });
1782
1919
  /**
1783
1920
  * Public-facing invitation info for the accept page.
@@ -1794,10 +1931,14 @@ const zInvitationInfoResponse = z.object({
1794
1931
  const zInvitationResponse = z.object({
1795
1932
  created_at: z.iso.datetime({ offset: true }),
1796
1933
  email: z.string(),
1934
+ email_sent_at: z.iso.datetime({ offset: true }).nullable(),
1797
1935
  expires_at: z.iso.datetime({ offset: true }),
1936
+ id: z.string(),
1937
+ project_id: z.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }).nullable(),
1798
1938
  role: zUserRole,
1939
+ role_id: z.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }).nullable(),
1799
1940
  status: z.string(),
1800
- token: z.string()
1941
+ token: z.string().nullable()
1801
1942
  });
1802
1943
  /**
1803
1944
  * A user as exposed on the team roster.
@@ -1957,6 +2098,14 @@ const zSentrySubmitUserFeedbackPath = z.object({
1957
2098
  */
1958
2099
  const zSentrySubmitUserFeedbackResponse = zSentryUserReport;
1959
2100
  /**
2101
+ * Every resource a permission can name
2102
+ */
2103
+ const zAccessCatalogResponse = zCatalog;
2104
+ /**
2105
+ * What the caller may do
2106
+ */
2107
+ const zAccessMeResponse = zMyAccess;
2108
+ /**
1960
2109
  * GitHub App removed
1961
2110
  */
1962
2111
  const zGithubDisconnectResponse = z.void();
@@ -2046,11 +2195,20 @@ const zInvitationsCreateBody = zCreateInvitation;
2046
2195
  * Invitation created
2047
2196
  */
2048
2197
  const zInvitationsCreateResponse = zInvitationResponse;
2049
- const zInvitationsRevokePath = z.object({ token: z.string() });
2198
+ /**
2199
+ * Whether invitation emails can be sent
2200
+ */
2201
+ const zInvitationsEmailStatusResponse = zEmailStatusResponse;
2202
+ const zInvitationsRevokePath = z.object({ id: z.string() });
2050
2203
  /**
2051
2204
  * Invitation revoked
2052
2205
  */
2053
2206
  const zInvitationsRevokeResponse = z.void();
2207
+ const zInvitationsResendPath = z.object({ id: z.string() });
2208
+ /**
2209
+ * Invitation email sent
2210
+ */
2211
+ const zInvitationsResendResponse = zInvitationResponse;
2054
2212
  const zOauthGetAuthorizationQuery = z.object({
2055
2213
  response_type: z.string(),
2056
2214
  client_id: z.string(),
@@ -2092,7 +2250,7 @@ const zProjectsListResponse = z.object({
2092
2250
  created_at: z.iso.datetime({ offset: true }),
2093
2251
  digested_event_count: z.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
2094
2252
  disabled_products: z.array(zProduct),
2095
- dsn: z.string(),
2253
+ dsn: z.string().nullable(),
2096
2254
  id: z.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
2097
2255
  name: z.string(),
2098
2256
  platform: z.string().nullable(),
@@ -2100,7 +2258,7 @@ const zProjectsListResponse = z.object({
2100
2258
  rate_limit_per_hour: z.int().nullable(),
2101
2259
  rate_limit_per_minute: z.int().nullable(),
2102
2260
  rate_limited_event_count: z.int(),
2103
- sentry_key: z.string(),
2261
+ sentry_key: z.string().nullable(),
2104
2262
  slug: z.string(),
2105
2263
  stats: zProjectListStats.nullish(),
2106
2264
  stored_event_count: z.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
@@ -2459,8 +2617,6 @@ const zIssuesListResponse = z.object({
2459
2617
  has_seen: z.boolean().nullish(),
2460
2618
  id: z.uuid(),
2461
2619
  is_bookmarked: z.boolean().nullish(),
2462
- is_muted: z.boolean(),
2463
- is_resolved: z.boolean(),
2464
2620
  is_subscribed: z.boolean().nullish(),
2465
2621
  issue_category: z.string(),
2466
2622
  issue_type: z.string(),
@@ -2769,21 +2925,26 @@ const zLogsGetPath = z.object({
2769
2925
  const zLogsGetResponse = zLogResponse;
2770
2926
  const zMembersListPath = z.object({ project_id: z.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }) });
2771
2927
  /**
2772
- * List of project members
2928
+ * Project members
2773
2929
  */
2774
- const zMembersListResponse = z.array(zProjectMemberResponse);
2775
- const zMembersUpsertBody = zUpsertProjectMember;
2930
+ const zMembersListResponse = z.array(zProjectMember);
2931
+ const zMembersUpsertBody = zSetProjectMember;
2776
2932
  const zMembersUpsertPath = z.object({ project_id: z.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }) });
2777
2933
  /**
2778
- * Member added or updated
2934
+ * Project members now
2935
+ */
2936
+ const zMembersUpsertResponse = z.array(zProjectMember);
2937
+ const zMembersCandidatesPath = z.object({ project_id: z.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }) });
2938
+ /**
2939
+ * People and roles the caller can give
2779
2940
  */
2780
- const zMembersUpsertResponse = zProjectMember;
2941
+ const zMembersCandidatesResponse = zMemberCandidates;
2781
2942
  const zMembersRemovePath = z.object({
2782
2943
  project_id: z.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
2783
2944
  user_id: z.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })
2784
2945
  });
2785
2946
  /**
2786
- * Member removed
2947
+ * Removed
2787
2948
  */
2788
2949
  const zMembersRemoveResponse = z.void();
2789
2950
  const zMonitorsStatsPath = z.object({ project_id: z.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }) });
@@ -3164,6 +3325,26 @@ const zTransactionsGetSpansResponse = z.array(z.object({
3164
3325
  * The server's per-project limits
3165
3326
  */
3166
3327
  const zProjectsGetRateLimitsResponse = zRateLimitsResponse;
3328
+ /**
3329
+ * Every role
3330
+ */
3331
+ const zRolesListResponse = z.array(zRole);
3332
+ const zRolesCreateBody = zRoleInput;
3333
+ /**
3334
+ * Created
3335
+ */
3336
+ const zRolesCreateResponse = zRole;
3337
+ const zRolesDeletePath = z.object({ id: z.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }) });
3338
+ /**
3339
+ * Deleted
3340
+ */
3341
+ const zRolesDeleteResponse = z.void();
3342
+ const zRolesUpdateBody = zRoleInput;
3343
+ const zRolesUpdatePath = z.object({ id: z.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }) });
3344
+ /**
3345
+ * Updated
3346
+ */
3347
+ const zRolesUpdateResponse = zRole;
3167
3348
  const zSchedulesPreviewBody = zPreviewSchedule;
3168
3349
  /**
3169
3350
  * The next five runs
@@ -3285,9 +3466,20 @@ const zTokensDeletePath = z.object({ id: z.int().min(-2147483648, { error: "Inva
3285
3466
  const zTokensDeleteResponse = z.void();
3286
3467
  const zTokensGetPath = z.object({ id: z.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }) });
3287
3468
  /**
3288
- * Token details (full token value)
3469
+ * Token details (masked)
3470
+ */
3471
+ const zTokensGetResponse = zAuthTokenResponse;
3472
+ const zUsersAssignmentsPath = z.object({ id: z.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }) });
3473
+ /**
3474
+ * What the user holds
3475
+ */
3476
+ const zUsersAssignmentsResponse = zUserAccess;
3477
+ const zUsersSetAssignmentsBody = zSetAccess;
3478
+ const zUsersSetAssignmentsPath = z.object({ id: z.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }) });
3479
+ /**
3480
+ * What the user holds now
3289
3481
  */
3290
- const zTokensGetResponse = zAuthTokenCreatedResponse;
3482
+ const zUsersSetAssignmentsResponse = zUserAccess;
3291
3483
  const zAuthAcceptInvitationBody = zAcceptInvitation;
3292
3484
  /**
3293
3485
  * Invitation accepted and user created; signed in unless password login is disabled
@@ -3321,7 +3513,6 @@ const zAuthChangePasswordBody = zChangePasswordRequest;
3321
3513
  * Password changed
3322
3514
  */
3323
3515
  const zAuthChangePasswordResponse = z.void();
3324
- const zAuthRegisterBody = zCreateUserRequest;
3325
3516
  const zAuthSsoCallbackQuery = z.object({
3326
3517
  code: z.string().nullish(),
3327
3518
  state: z.string().nullish(),
@@ -3365,6 +3556,6 @@ const zSentryOpenIssuePath = z.object({
3365
3556
  project_slug: z.string(),
3366
3557
  issue_id: z.string().regex(/^[0-9]+$/)
3367
3558
  });
3368
- export { zAcceptInvitation, zAcceptInvitationResponse, 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, zAttachmentBytes, zAttachmentInfo, zAuthAcceptInvitationBody, zAuthAcceptInvitationResponse, zAuthChangePasswordBody, zAuthChangePasswordResponse, zAuthConfirmSsoLinkBody, zAuthConfirmSsoLinkResponse, zAuthGetCurrentUserResponse, zAuthGetInvitationPath, zAuthGetInvitationResponse, zAuthLoginBody, zAuthLoginResponse, zAuthLogoutResponse, zAuthRegisterBody, zAuthResponse, zAuthSsoCallbackQuery, zAuthSsoCallbackResponse, zAuthSsoConfigResponse, zAuthSsoLinkResponse, zAuthSsoStartResponse, zAuthTokenCreatedResponse, zAuthTokenResponse, zAuthUpdateCurrentUserBody, zAuthUpdateCurrentUserResponse, zAuthorizationDecision, zAuthorizationInfo, zAuthorizationRedirect, zAuthorizationRequest, zBookmarkResponse, zBulkDeleteIssues, zBulkDeleteResponse, zBulkUpdateIssues, zBulkUpdateResponse, zChangePasswordRequest, zCheckInResponse, zCheckInStatus, zChunkUploadBody, zChunkUploadOptions, zCleanupCounts, zCleanupFrequency, zCleanupKind, zCleanupRequest, zCleanupState, zCleanupStatus, zCodeMapping, zCommentRequest, zCompaction, zConfirmSsoLinkRequest, zConversationSpan, zCreateAlertIntegration, zCreateAlertRule, zCreateAuthToken, zCreateGitHubIssue, zCreateInvitation, zCreateMonitor, zCreateProject, zCreateRelease, zCreateUserRequest, zDebugFileResponse, zDebugFilesAssembleBody, zDebugFilesAssemblePath, zDebugFilesAssembleResponse, zDebugFilesUploadBody, zDebugFilesUploadPath, zDebugFilesUploadResponse, zDifAssembleFile, zDifUploadBody, 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, zInvitationsListResponse, 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, 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, zOAuthGrant, zOauthDecideAuthorizationBody, zOauthDecideAuthorizationResponse, zOauthGetAuthorizationQuery, zOauthGetAuthorizationResponse, zOauthListGrantsResponse, zOauthRevokeGrantPath, zOauthRevokeGrantResponse, zOrgDetails, zPreviewSchedule, zPreviewTemplateBody, zPreviewTemplateResponse, zProduct, zProjectAge, zProjectListStats, zProjectMember, zProjectMemberResponse, zProjectRepository, zProjectResponse, zProjectRetention, zProjectRole, 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, zRetentionResponse, zRetentionRun, zRetentionSettings, zRetentionWindows, zSchedule, zSchedulePreview, zSchedulesPreviewBody, zSchedulesPreviewResponse, 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, 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, zUpsertProjectMember, zUserReport, zUserReportRequest, zUserResponse, zUserRole, zVersionResponse };
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 };
3369
3560
 
3370
3561
  //# sourceMappingURL=zod.gen.mjs.map