@sentry/mcp-server 0.11.0 → 0.12.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 (213) hide show
  1. package/dist/api-client/client.cjs +2 -2
  2. package/dist/api-client/client.d.cts +3 -3
  3. package/dist/api-client/client.d.ts +3 -3
  4. package/dist/api-client/client.js +2 -2
  5. package/dist/api-client/client.test.cjs +2 -2
  6. package/dist/api-client/client.test.js +2 -2
  7. package/dist/api-client/index.cjs +3 -2
  8. package/dist/api-client/index.d.cts +4 -4
  9. package/dist/api-client/index.d.ts +4 -4
  10. package/dist/api-client/index.js +3 -3
  11. package/dist/api-client/schema.cjs +2 -1
  12. package/dist/api-client/schema.d.cts +2 -2
  13. package/dist/api-client/schema.d.ts +2 -2
  14. package/dist/api-client/schema.js +2 -2
  15. package/dist/api-client/types.d.cts +3 -3
  16. package/dist/api-client/types.d.ts +3 -3
  17. package/dist/client-4jq_wVgn.d.ts +522 -0
  18. package/dist/client-4jq_wVgn.d.ts.map +1 -0
  19. package/dist/client-B7vZ6JMk.cjs +572 -0
  20. package/dist/client-B7vZ6JMk.cjs.map +1 -0
  21. package/dist/client-CAoHZbyK.js +561 -0
  22. package/dist/client-CAoHZbyK.js.map +1 -0
  23. package/dist/client-DkY0ifZf.d.cts +522 -0
  24. package/dist/client-DkY0ifZf.d.cts.map +1 -0
  25. package/dist/formatting-BaARL2gT.js.map +1 -1
  26. package/dist/formatting-C2kN0ok6.cjs.map +1 -1
  27. package/dist/index.cjs +13 -13
  28. package/dist/index.cjs.map +1 -1
  29. package/dist/index.js +13 -13
  30. package/dist/index.js.map +1 -1
  31. package/dist/internal/formatting.d.cts +4 -3
  32. package/dist/internal/formatting.d.cts.map +1 -1
  33. package/dist/internal/formatting.d.ts +4 -3
  34. package/dist/internal/formatting.d.ts.map +1 -1
  35. package/dist/internal/issue-helpers.cjs +1 -1
  36. package/dist/internal/issue-helpers.d.cts +8 -0
  37. package/dist/internal/issue-helpers.d.cts.map +1 -1
  38. package/dist/internal/issue-helpers.d.ts +8 -0
  39. package/dist/internal/issue-helpers.d.ts.map +1 -1
  40. package/dist/internal/issue-helpers.js +1 -1
  41. package/dist/internal/issue-helpers.test.cjs +1 -1
  42. package/dist/internal/issue-helpers.test.js +1 -1
  43. package/dist/{issue-helpers-CSNNO03f.js → issue-helpers-BMVLc3mR.js} +9 -1
  44. package/dist/issue-helpers-BMVLc3mR.js.map +1 -0
  45. package/dist/{issue-helpers-71XgJVXC.cjs → issue-helpers-D712fGT2.cjs} +9 -1
  46. package/dist/issue-helpers-D712fGT2.cjs.map +1 -0
  47. package/dist/logging-ByvSjT6V.cjs.map +1 -1
  48. package/dist/logging-CXLD0FFB.js.map +1 -1
  49. package/dist/logging.d.cts +30 -1
  50. package/dist/logging.d.cts.map +1 -1
  51. package/dist/logging.d.ts +30 -1
  52. package/dist/logging.d.ts.map +1 -1
  53. package/dist/{promptDefinitions-D3ll3qCd.cjs → promptDefinitions-BTLIBcGt.cjs} +9 -2
  54. package/dist/promptDefinitions-BTLIBcGt.cjs.map +1 -0
  55. package/dist/{promptDefinitions-H0q1_X-K.d.ts → promptDefinitions-CF2VWdQ6.d.cts} +9 -1
  56. package/dist/promptDefinitions-CF2VWdQ6.d.cts.map +1 -0
  57. package/dist/{promptDefinitions-DMucOchd.d.cts → promptDefinitions-D5FSQckL.d.ts} +9 -1
  58. package/dist/promptDefinitions-D5FSQckL.d.ts.map +1 -0
  59. package/dist/{promptDefinitions-aKmUZWWO.js → promptDefinitions-D8yow1m0.js} +9 -2
  60. package/dist/promptDefinitions-D8yow1m0.js.map +1 -0
  61. package/dist/promptDefinitions.cjs +2 -2
  62. package/dist/promptDefinitions.d.cts +1 -1
  63. package/dist/promptDefinitions.d.ts +1 -1
  64. package/dist/promptDefinitions.js +2 -2
  65. package/dist/{prompts-DMwoay8l.cjs → prompts-CDbQrutV.cjs} +3 -2
  66. package/dist/prompts-CDbQrutV.cjs.map +1 -0
  67. package/dist/{prompts-CzD0yl7Z.js → prompts-Dt3A8Qfl.js} +4 -2
  68. package/dist/prompts-Dt3A8Qfl.js.map +1 -0
  69. package/dist/prompts.cjs +2 -1
  70. package/dist/prompts.d.cts +3 -3
  71. package/dist/prompts.d.cts.map +1 -1
  72. package/dist/prompts.d.ts +3 -3
  73. package/dist/prompts.d.ts.map +1 -1
  74. package/dist/prompts.js +2 -1
  75. package/dist/{resources-x-GaokG8.js → resources-Bol20Xuo.js} +13 -1
  76. package/dist/resources-Bol20Xuo.js.map +1 -0
  77. package/dist/{resources-D6TW2ER0.cjs → resources-DNyoutxH.cjs} +13 -1
  78. package/dist/resources-DNyoutxH.cjs.map +1 -0
  79. package/dist/resources.cjs +1 -1
  80. package/dist/resources.d.cts +9 -0
  81. package/dist/resources.d.cts.map +1 -1
  82. package/dist/resources.d.ts +9 -0
  83. package/dist/resources.d.ts.map +1 -1
  84. package/dist/resources.js +1 -1
  85. package/dist/{schema-C-MLkWMc.d.ts → schema-BJv7kREf.d.cts} +178 -66
  86. package/dist/schema-BJv7kREf.d.cts.map +1 -0
  87. package/dist/{schema-B8lT632E.cjs → schema-BTfISwFu.cjs} +29 -2
  88. package/dist/schema-BTfISwFu.cjs.map +1 -0
  89. package/dist/{schema-DqxkW9Tx.d.cts → schema-BnxGHL_i.d.ts} +178 -66
  90. package/dist/schema-BnxGHL_i.d.ts.map +1 -0
  91. package/dist/{schema-DkyWSqp_.cjs → schema-BsvGMALe.cjs} +37 -6
  92. package/dist/schema-BsvGMALe.cjs.map +1 -0
  93. package/dist/{schema-CewAKS9A.js → schema-C_hp0BR7.js} +32 -7
  94. package/dist/schema-C_hp0BR7.js.map +1 -0
  95. package/dist/schema-Dv6aLZgz.js +32 -0
  96. package/dist/schema-Dv6aLZgz.js.map +1 -0
  97. package/dist/schema.cjs +3 -1
  98. package/dist/schema.d.cts +13 -3
  99. package/dist/schema.d.cts.map +1 -1
  100. package/dist/schema.d.ts +13 -3
  101. package/dist/schema.d.ts.map +1 -1
  102. package/dist/schema.js +2 -2
  103. package/dist/{server-qpWdf-ST.js → server-C7cHq_pc.js} +57 -9
  104. package/dist/server-C7cHq_pc.js.map +1 -0
  105. package/dist/{server-pGtEIwE3.cjs → server-DeutbO8v.cjs} +57 -9
  106. package/dist/server-DeutbO8v.cjs.map +1 -0
  107. package/dist/server.cjs +10 -10
  108. package/dist/server.d.cts +23 -4
  109. package/dist/server.d.cts.map +1 -1
  110. package/dist/server.d.ts +23 -4
  111. package/dist/server.d.ts.map +1 -1
  112. package/dist/server.js +10 -10
  113. package/dist/stdio-B73CCTly.cjs +47 -0
  114. package/dist/stdio-B73CCTly.cjs.map +1 -0
  115. package/dist/stdio-ZQLC-i5Q.js +41 -0
  116. package/dist/stdio-ZQLC-i5Q.js.map +1 -0
  117. package/dist/test-setup.cjs +420 -257
  118. package/dist/test-setup.cjs.map +1 -1
  119. package/dist/test-setup.js +420 -257
  120. package/dist/test-setup.js.map +1 -1
  121. package/dist/{toolDefinitions-Dp13BpEu.d.cts → toolDefinitions-BOMF-zIC.d.ts} +115 -17
  122. package/dist/toolDefinitions-BOMF-zIC.d.ts.map +1 -0
  123. package/dist/{toolDefinitions-BtHN8t_d.cjs → toolDefinitions-CUegGcWU.cjs} +117 -6
  124. package/dist/toolDefinitions-CUegGcWU.cjs.map +1 -0
  125. package/dist/{toolDefinitions-BSC2D_S-.js → toolDefinitions-DFAxp3nr.js} +117 -6
  126. package/dist/toolDefinitions-DFAxp3nr.js.map +1 -0
  127. package/dist/{toolDefinitions-fQrpWznJ.d.ts → toolDefinitions-Ipvr4Acw.d.cts} +115 -17
  128. package/dist/toolDefinitions-Ipvr4Acw.d.cts.map +1 -0
  129. package/dist/toolDefinitions.cjs +2 -2
  130. package/dist/toolDefinitions.d.cts +1 -1
  131. package/dist/toolDefinitions.d.ts +1 -1
  132. package/dist/toolDefinitions.js +2 -2
  133. package/dist/toolDefinitions.test.cjs +2 -2
  134. package/dist/toolDefinitions.test.js +2 -2
  135. package/dist/{tools-4Rtn4WEf.js → tools-DpiQwSTY.js} +137 -11
  136. package/dist/tools-DpiQwSTY.js.map +1 -0
  137. package/dist/{tools-DHHqAqP9.cjs → tools-DyOqlsCW.cjs} +137 -11
  138. package/dist/tools-DyOqlsCW.cjs.map +1 -0
  139. package/dist/tools.cjs +4 -4
  140. package/dist/tools.d.cts +91 -7
  141. package/dist/tools.d.cts.map +1 -1
  142. package/dist/tools.d.ts +91 -7
  143. package/dist/tools.d.ts.map +1 -1
  144. package/dist/tools.js +4 -4
  145. package/dist/tools.test.cjs +290 -10
  146. package/dist/tools.test.cjs.map +1 -1
  147. package/dist/tools.test.js +290 -10
  148. package/dist/tools.test.js.map +1 -1
  149. package/dist/transports/stdio.cjs +11 -11
  150. package/dist/transports/stdio.d.cts +26 -4
  151. package/dist/transports/stdio.d.cts.map +1 -1
  152. package/dist/transports/stdio.d.ts +26 -4
  153. package/dist/transports/stdio.d.ts.map +1 -1
  154. package/dist/transports/stdio.js +11 -11
  155. package/dist/{types-CfJ51LyL.d.ts → types-D5TPcOfv.d.ts} +4 -3
  156. package/dist/types-D5TPcOfv.d.ts.map +1 -0
  157. package/dist/{types-CbLyQvVe.d.cts → types-DRF2IoP_.d.cts} +4 -3
  158. package/dist/types-DRF2IoP_.d.cts.map +1 -0
  159. package/dist/{types-DuUmV9zh.d.ts → types-Daq2fm0E.d.ts} +5 -3
  160. package/dist/types-Daq2fm0E.d.ts.map +1 -0
  161. package/dist/{types-CcffrLXB.d.cts → types-NIQW7KyF.d.cts} +5 -3
  162. package/dist/types-NIQW7KyF.d.cts.map +1 -0
  163. package/dist/types.d.cts +3 -3
  164. package/dist/types.d.ts +3 -3
  165. package/dist/{version-CRzAHHGZ.cjs → version-BNmubeQI.cjs} +2 -2
  166. package/dist/{version-CRzAHHGZ.cjs.map → version-BNmubeQI.cjs.map} +1 -1
  167. package/dist/version-CRto5Sn_.js +6 -0
  168. package/dist/{version-BT9r_3jm.js.map → version-CRto5Sn_.js.map} +1 -1
  169. package/dist/version.cjs +1 -1
  170. package/dist/version.js +1 -1
  171. package/package.json +3 -3
  172. package/dist/client-Bxf4MxOz.d.cts +0 -179
  173. package/dist/client-Bxf4MxOz.d.cts.map +0 -1
  174. package/dist/client-D5xFZtxK.js +0 -224
  175. package/dist/client-D5xFZtxK.js.map +0 -1
  176. package/dist/client-DOhBiaMJ.d.ts +0 -179
  177. package/dist/client-DOhBiaMJ.d.ts.map +0 -1
  178. package/dist/client-GKHZSXgV.cjs +0 -235
  179. package/dist/client-GKHZSXgV.cjs.map +0 -1
  180. package/dist/issue-helpers-71XgJVXC.cjs.map +0 -1
  181. package/dist/issue-helpers-CSNNO03f.js.map +0 -1
  182. package/dist/promptDefinitions-D3ll3qCd.cjs.map +0 -1
  183. package/dist/promptDefinitions-DMucOchd.d.cts.map +0 -1
  184. package/dist/promptDefinitions-H0q1_X-K.d.ts.map +0 -1
  185. package/dist/promptDefinitions-aKmUZWWO.js.map +0 -1
  186. package/dist/prompts-CzD0yl7Z.js.map +0 -1
  187. package/dist/prompts-DMwoay8l.cjs.map +0 -1
  188. package/dist/resources-D6TW2ER0.cjs.map +0 -1
  189. package/dist/resources-x-GaokG8.js.map +0 -1
  190. package/dist/schema-B8lT632E.cjs.map +0 -1
  191. package/dist/schema-BkHf97d7.js +0 -17
  192. package/dist/schema-BkHf97d7.js.map +0 -1
  193. package/dist/schema-C-MLkWMc.d.ts.map +0 -1
  194. package/dist/schema-CewAKS9A.js.map +0 -1
  195. package/dist/schema-DkyWSqp_.cjs.map +0 -1
  196. package/dist/schema-DqxkW9Tx.d.cts.map +0 -1
  197. package/dist/server-pGtEIwE3.cjs.map +0 -1
  198. package/dist/server-qpWdf-ST.js.map +0 -1
  199. package/dist/stdio-D8u2W847.js +0 -19
  200. package/dist/stdio-D8u2W847.js.map +0 -1
  201. package/dist/stdio-DydB2Pxu.cjs +0 -25
  202. package/dist/stdio-DydB2Pxu.cjs.map +0 -1
  203. package/dist/toolDefinitions-BSC2D_S-.js.map +0 -1
  204. package/dist/toolDefinitions-BtHN8t_d.cjs.map +0 -1
  205. package/dist/toolDefinitions-Dp13BpEu.d.cts.map +0 -1
  206. package/dist/toolDefinitions-fQrpWznJ.d.ts.map +0 -1
  207. package/dist/tools-4Rtn4WEf.js.map +0 -1
  208. package/dist/tools-DHHqAqP9.cjs.map +0 -1
  209. package/dist/types-CbLyQvVe.d.cts.map +0 -1
  210. package/dist/types-CcffrLXB.d.cts.map +0 -1
  211. package/dist/types-CfJ51LyL.d.ts.map +0 -1
  212. package/dist/types-DuUmV9zh.d.ts.map +0 -1
  213. package/dist/version-BT9r_3jm.js +0 -6
@@ -1,6 +1,13 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/api-client/schema.d.ts
4
+
5
+ /**
6
+ * Schema for Sentry API error responses.
7
+ *
8
+ * Uses .passthrough() to allow additional fields that may be present
9
+ * in different error scenarios.
10
+ */
4
11
  declare const ApiErrorSchema: z.ZodObject<{
5
12
  detail: z.ZodString;
6
13
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
@@ -43,67 +50,74 @@ declare const UserRegionsSchema: z.ZodObject<{
43
50
  url: string;
44
51
  }[];
45
52
  }>;
53
+ /**
54
+ * Schema for Sentry organization API responses.
55
+ *
56
+ * Handles organizations from both Sentry's Cloud Service and self-hosted installations.
57
+ * The links object and regionUrl field are optional to support self-hosted Sentry
58
+ * instances that may not include these fields or return empty values.
59
+ */
46
60
  declare const OrganizationSchema: z.ZodObject<{
47
61
  id: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
48
62
  slug: z.ZodString;
49
63
  name: z.ZodString;
50
- links: z.ZodObject<{
51
- regionUrl: z.ZodString;
64
+ links: z.ZodOptional<z.ZodObject<{
65
+ regionUrl: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
52
66
  organizationUrl: z.ZodString;
53
67
  }, "strip", z.ZodTypeAny, {
54
- regionUrl: string;
55
68
  organizationUrl: string;
69
+ regionUrl?: string | undefined;
56
70
  }, {
57
- regionUrl: string;
58
71
  organizationUrl: string;
59
- }>;
72
+ regionUrl?: string | undefined;
73
+ }>>;
60
74
  }, "strip", z.ZodTypeAny, {
61
75
  name: string;
62
76
  id: string | number;
63
77
  slug: string;
64
- links: {
65
- regionUrl: string;
78
+ links?: {
66
79
  organizationUrl: string;
67
- };
80
+ regionUrl?: string | undefined;
81
+ } | undefined;
68
82
  }, {
69
83
  name: string;
70
84
  id: string | number;
71
85
  slug: string;
72
- links: {
73
- regionUrl: string;
86
+ links?: {
74
87
  organizationUrl: string;
75
- };
88
+ regionUrl?: string | undefined;
89
+ } | undefined;
76
90
  }>;
77
91
  declare const OrganizationListSchema: z.ZodArray<z.ZodObject<{
78
92
  id: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
79
93
  slug: z.ZodString;
80
94
  name: z.ZodString;
81
- links: z.ZodObject<{
82
- regionUrl: z.ZodString;
95
+ links: z.ZodOptional<z.ZodObject<{
96
+ regionUrl: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
83
97
  organizationUrl: z.ZodString;
84
98
  }, "strip", z.ZodTypeAny, {
85
- regionUrl: string;
86
99
  organizationUrl: string;
100
+ regionUrl?: string | undefined;
87
101
  }, {
88
- regionUrl: string;
89
102
  organizationUrl: string;
90
- }>;
103
+ regionUrl?: string | undefined;
104
+ }>>;
91
105
  }, "strip", z.ZodTypeAny, {
92
106
  name: string;
93
107
  id: string | number;
94
108
  slug: string;
95
- links: {
96
- regionUrl: string;
109
+ links?: {
97
110
  organizationUrl: string;
98
- };
111
+ regionUrl?: string | undefined;
112
+ } | undefined;
99
113
  }, {
100
114
  name: string;
101
115
  id: string | number;
102
116
  slug: string;
103
- links: {
104
- regionUrl: string;
117
+ links?: {
105
118
  organizationUrl: string;
106
- };
119
+ regionUrl?: string | undefined;
120
+ } | undefined;
107
121
  }>, "many">;
108
122
  declare const TeamSchema: z.ZodObject<{
109
123
  id: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
@@ -135,27 +149,33 @@ declare const ProjectSchema: z.ZodObject<{
135
149
  id: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
136
150
  slug: z.ZodString;
137
151
  name: z.ZodString;
152
+ platform: z.ZodNullable<z.ZodString>;
138
153
  }, "strip", z.ZodTypeAny, {
139
154
  name: string;
140
155
  id: string | number;
141
156
  slug: string;
157
+ platform: string | null;
142
158
  }, {
143
159
  name: string;
144
160
  id: string | number;
145
161
  slug: string;
162
+ platform: string | null;
146
163
  }>;
147
164
  declare const ProjectListSchema: z.ZodArray<z.ZodObject<{
148
165
  id: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
149
166
  slug: z.ZodString;
150
167
  name: z.ZodString;
168
+ platform: z.ZodNullable<z.ZodString>;
151
169
  }, "strip", z.ZodTypeAny, {
152
170
  name: string;
153
171
  id: string | number;
154
172
  slug: string;
173
+ platform: string | null;
155
174
  }, {
156
175
  name: string;
157
176
  id: string | number;
158
177
  slug: string;
178
+ platform: string | null;
159
179
  }>, "many">;
160
180
  declare const ClientKeySchema: z.ZodObject<{
161
181
  id: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
@@ -172,19 +192,19 @@ declare const ClientKeySchema: z.ZodObject<{
172
192
  }, "strip", z.ZodTypeAny, {
173
193
  name: string;
174
194
  id: string | number;
175
- dateCreated: string;
176
195
  dsn: {
177
196
  public: string;
178
197
  };
179
198
  isActive: boolean;
199
+ dateCreated: string;
180
200
  }, {
181
201
  name: string;
182
202
  id: string | number;
183
- dateCreated: string;
184
203
  dsn: {
185
204
  public: string;
186
205
  };
187
206
  isActive: boolean;
207
+ dateCreated: string;
188
208
  }>;
189
209
  declare const ClientKeyListSchema: z.ZodArray<z.ZodObject<{
190
210
  id: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
@@ -201,19 +221,19 @@ declare const ClientKeyListSchema: z.ZodArray<z.ZodObject<{
201
221
  }, "strip", z.ZodTypeAny, {
202
222
  name: string;
203
223
  id: string | number;
204
- dateCreated: string;
205
224
  dsn: {
206
225
  public: string;
207
226
  };
208
227
  isActive: boolean;
228
+ dateCreated: string;
209
229
  }, {
210
230
  name: string;
211
231
  id: string | number;
212
- dateCreated: string;
213
232
  dsn: {
214
233
  public: string;
215
234
  };
216
235
  isActive: boolean;
236
+ dateCreated: string;
217
237
  }>, "many">;
218
238
  declare const ReleaseSchema: z.ZodObject<{
219
239
  id: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
@@ -275,14 +295,17 @@ declare const ReleaseSchema: z.ZodObject<{
275
295
  id: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
276
296
  slug: z.ZodString;
277
297
  name: z.ZodString;
298
+ platform: z.ZodNullable<z.ZodString>;
278
299
  }, "strip", z.ZodTypeAny, {
279
300
  name: string;
280
301
  id: string | number;
281
302
  slug: string;
303
+ platform: string | null;
282
304
  }, {
283
305
  name: string;
284
306
  id: string | number;
285
307
  slug: string;
308
+ platform: string | null;
286
309
  }>, "many">;
287
310
  }, "strip", z.ZodTypeAny, {
288
311
  id: string | number;
@@ -312,6 +335,7 @@ declare const ReleaseSchema: z.ZodObject<{
312
335
  name: string;
313
336
  id: string | number;
314
337
  slug: string;
338
+ platform: string | null;
315
339
  }[];
316
340
  }, {
317
341
  id: string | number;
@@ -341,6 +365,7 @@ declare const ReleaseSchema: z.ZodObject<{
341
365
  name: string;
342
366
  id: string | number;
343
367
  slug: string;
368
+ platform: string | null;
344
369
  }[];
345
370
  }>;
346
371
  declare const ReleaseListSchema: z.ZodArray<z.ZodObject<{
@@ -403,14 +428,17 @@ declare const ReleaseListSchema: z.ZodArray<z.ZodObject<{
403
428
  id: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
404
429
  slug: z.ZodString;
405
430
  name: z.ZodString;
431
+ platform: z.ZodNullable<z.ZodString>;
406
432
  }, "strip", z.ZodTypeAny, {
407
433
  name: string;
408
434
  id: string | number;
409
435
  slug: string;
436
+ platform: string | null;
410
437
  }, {
411
438
  name: string;
412
439
  id: string | number;
413
440
  slug: string;
441
+ platform: string | null;
414
442
  }>, "many">;
415
443
  }, "strip", z.ZodTypeAny, {
416
444
  id: string | number;
@@ -440,6 +468,7 @@ declare const ReleaseListSchema: z.ZodArray<z.ZodObject<{
440
468
  name: string;
441
469
  id: string | number;
442
470
  slug: string;
471
+ platform: string | null;
443
472
  }[];
444
473
  }, {
445
474
  id: string | number;
@@ -469,6 +498,7 @@ declare const ReleaseListSchema: z.ZodArray<z.ZodObject<{
469
498
  name: string;
470
499
  id: string | number;
471
500
  slug: string;
501
+ platform: string | null;
472
502
  }[];
473
503
  }>, "many">;
474
504
  declare const TagSchema: z.ZodObject<{
@@ -497,6 +527,22 @@ declare const TagListSchema: z.ZodArray<z.ZodObject<{
497
527
  key: string;
498
528
  totalValues: number;
499
529
  }>, "many">;
530
+ declare const AssignedToSchema: z.ZodUnion<[z.ZodNull, z.ZodString, z.ZodObject<{
531
+ type: z.ZodEnum<["user", "team"]>;
532
+ id: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
533
+ name: z.ZodString;
534
+ email: z.ZodOptional<z.ZodString>;
535
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
536
+ type: z.ZodEnum<["user", "team"]>;
537
+ id: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
538
+ name: z.ZodString;
539
+ email: z.ZodOptional<z.ZodString>;
540
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
541
+ type: z.ZodEnum<["user", "team"]>;
542
+ id: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
543
+ name: z.ZodString;
544
+ email: z.ZodOptional<z.ZodString>;
545
+ }, z.ZodTypeAny, "passthrough">>]>;
500
546
  declare const IssueSchema: z.ZodObject<{
501
547
  id: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
502
548
  shortId: z.ZodString;
@@ -510,55 +556,88 @@ declare const IssueSchema: z.ZodObject<{
510
556
  id: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
511
557
  slug: z.ZodString;
512
558
  name: z.ZodString;
559
+ platform: z.ZodNullable<z.ZodString>;
513
560
  }, "strip", z.ZodTypeAny, {
514
561
  name: string;
515
562
  id: string | number;
516
563
  slug: string;
564
+ platform: string | null;
517
565
  }, {
518
566
  name: string;
519
567
  id: string | number;
520
568
  slug: string;
569
+ platform: string | null;
521
570
  }>;
522
- platform: z.ZodString;
571
+ platform: z.ZodNullable<z.ZodString>;
523
572
  status: z.ZodString;
524
573
  culprit: z.ZodString;
525
574
  type: z.ZodUnion<[z.ZodLiteral<"error">, z.ZodLiteral<"transaction">, z.ZodUnknown]>;
575
+ assignedTo: z.ZodOptional<z.ZodUnion<[z.ZodNull, z.ZodString, z.ZodObject<{
576
+ type: z.ZodEnum<["user", "team"]>;
577
+ id: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
578
+ name: z.ZodString;
579
+ email: z.ZodOptional<z.ZodString>;
580
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
581
+ type: z.ZodEnum<["user", "team"]>;
582
+ id: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
583
+ name: z.ZodString;
584
+ email: z.ZodOptional<z.ZodString>;
585
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
586
+ type: z.ZodEnum<["user", "team"]>;
587
+ id: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
588
+ name: z.ZodString;
589
+ email: z.ZodOptional<z.ZodString>;
590
+ }, z.ZodTypeAny, "passthrough">>]>>;
526
591
  }, "strip", z.ZodTypeAny, {
527
592
  status: string;
528
- count: string | number;
529
- userCount: string | number;
530
593
  id: string | number;
531
- platform: string;
532
594
  shortId: string;
533
595
  title: string;
534
596
  firstSeen: string;
535
597
  lastSeen: string;
598
+ count: string | number;
599
+ userCount: string | number;
536
600
  permalink: string;
601
+ platform: string | null;
537
602
  project: {
538
603
  name: string;
539
604
  id: string | number;
540
605
  slug: string;
606
+ platform: string | null;
541
607
  };
542
608
  culprit: string;
543
609
  type?: unknown;
610
+ assignedTo?: string | z.objectOutputType<{
611
+ type: z.ZodEnum<["user", "team"]>;
612
+ id: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
613
+ name: z.ZodString;
614
+ email: z.ZodOptional<z.ZodString>;
615
+ }, z.ZodTypeAny, "passthrough"> | null | undefined;
544
616
  }, {
545
617
  status: string;
546
- count: string | number;
547
- userCount: string | number;
548
618
  id: string | number;
549
- platform: string;
550
619
  shortId: string;
551
620
  title: string;
552
621
  firstSeen: string;
553
622
  lastSeen: string;
623
+ count: string | number;
624
+ userCount: string | number;
554
625
  permalink: string;
626
+ platform: string | null;
555
627
  project: {
556
628
  name: string;
557
629
  id: string | number;
558
630
  slug: string;
631
+ platform: string | null;
559
632
  };
560
633
  culprit: string;
561
634
  type?: unknown;
635
+ assignedTo?: string | z.objectInputType<{
636
+ type: z.ZodEnum<["user", "team"]>;
637
+ id: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
638
+ name: z.ZodString;
639
+ email: z.ZodOptional<z.ZodString>;
640
+ }, z.ZodTypeAny, "passthrough"> | null | undefined;
562
641
  }>;
563
642
  declare const IssueListSchema: z.ZodArray<z.ZodObject<{
564
643
  id: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
@@ -573,55 +652,88 @@ declare const IssueListSchema: z.ZodArray<z.ZodObject<{
573
652
  id: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
574
653
  slug: z.ZodString;
575
654
  name: z.ZodString;
655
+ platform: z.ZodNullable<z.ZodString>;
576
656
  }, "strip", z.ZodTypeAny, {
577
657
  name: string;
578
658
  id: string | number;
579
659
  slug: string;
660
+ platform: string | null;
580
661
  }, {
581
662
  name: string;
582
663
  id: string | number;
583
664
  slug: string;
665
+ platform: string | null;
584
666
  }>;
585
- platform: z.ZodString;
667
+ platform: z.ZodNullable<z.ZodString>;
586
668
  status: z.ZodString;
587
669
  culprit: z.ZodString;
588
670
  type: z.ZodUnion<[z.ZodLiteral<"error">, z.ZodLiteral<"transaction">, z.ZodUnknown]>;
671
+ assignedTo: z.ZodOptional<z.ZodUnion<[z.ZodNull, z.ZodString, z.ZodObject<{
672
+ type: z.ZodEnum<["user", "team"]>;
673
+ id: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
674
+ name: z.ZodString;
675
+ email: z.ZodOptional<z.ZodString>;
676
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
677
+ type: z.ZodEnum<["user", "team"]>;
678
+ id: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
679
+ name: z.ZodString;
680
+ email: z.ZodOptional<z.ZodString>;
681
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
682
+ type: z.ZodEnum<["user", "team"]>;
683
+ id: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
684
+ name: z.ZodString;
685
+ email: z.ZodOptional<z.ZodString>;
686
+ }, z.ZodTypeAny, "passthrough">>]>>;
589
687
  }, "strip", z.ZodTypeAny, {
590
688
  status: string;
591
- count: string | number;
592
- userCount: string | number;
593
689
  id: string | number;
594
- platform: string;
595
690
  shortId: string;
596
691
  title: string;
597
692
  firstSeen: string;
598
693
  lastSeen: string;
694
+ count: string | number;
695
+ userCount: string | number;
599
696
  permalink: string;
697
+ platform: string | null;
600
698
  project: {
601
699
  name: string;
602
700
  id: string | number;
603
701
  slug: string;
702
+ platform: string | null;
604
703
  };
605
704
  culprit: string;
606
705
  type?: unknown;
706
+ assignedTo?: string | z.objectOutputType<{
707
+ type: z.ZodEnum<["user", "team"]>;
708
+ id: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
709
+ name: z.ZodString;
710
+ email: z.ZodOptional<z.ZodString>;
711
+ }, z.ZodTypeAny, "passthrough"> | null | undefined;
607
712
  }, {
608
713
  status: string;
609
- count: string | number;
610
- userCount: string | number;
611
714
  id: string | number;
612
- platform: string;
613
715
  shortId: string;
614
716
  title: string;
615
717
  firstSeen: string;
616
718
  lastSeen: string;
719
+ count: string | number;
720
+ userCount: string | number;
617
721
  permalink: string;
722
+ platform: string | null;
618
723
  project: {
619
724
  name: string;
620
725
  id: string | number;
621
726
  slug: string;
727
+ platform: string | null;
622
728
  };
623
729
  culprit: string;
624
730
  type?: unknown;
731
+ assignedTo?: string | z.objectInputType<{
732
+ type: z.ZodEnum<["user", "team"]>;
733
+ id: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
734
+ name: z.ZodString;
735
+ email: z.ZodOptional<z.ZodString>;
736
+ }, z.ZodTypeAny, "passthrough"> | null | undefined;
625
737
  }>, "many">;
626
738
  declare const FrameInterface: z.ZodObject<{
627
739
  filename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1502,8 +1614,8 @@ declare const ErrorEventSchema: z.ZodObject<Omit<{
1502
1614
  data?: unknown;
1503
1615
  })[];
1504
1616
  id: string;
1505
- platform: string | null;
1506
1617
  title: string;
1618
+ platform: string | null;
1507
1619
  culprit: string | null;
1508
1620
  dateCreated: string;
1509
1621
  contexts?: Record<string, z.objectOutputType<{
@@ -1568,8 +1680,8 @@ declare const ErrorEventSchema: z.ZodObject<Omit<{
1568
1680
  data?: unknown;
1569
1681
  })[];
1570
1682
  id: string;
1571
- platform: string | null;
1572
1683
  title: string;
1684
+ platform: string | null;
1573
1685
  culprit: string | null;
1574
1686
  dateCreated: string;
1575
1687
  contexts?: Record<string, z.objectInputType<{
@@ -2057,8 +2169,8 @@ declare const TransactionEventSchema: z.ZodObject<Omit<{
2057
2169
  data?: unknown;
2058
2170
  })[];
2059
2171
  id: string;
2060
- platform: string | null;
2061
2172
  title: string;
2173
+ platform: string | null;
2062
2174
  occurrence: {
2063
2175
  culprit: string | null;
2064
2176
  issueTitle: string;
@@ -2125,8 +2237,8 @@ declare const TransactionEventSchema: z.ZodObject<Omit<{
2125
2237
  data?: unknown;
2126
2238
  })[];
2127
2239
  id: string;
2128
- platform: string | null;
2129
2240
  title: string;
2241
+ platform: string | null;
2130
2242
  occurrence: {
2131
2243
  culprit: string | null;
2132
2244
  issueTitle: string;
@@ -2605,8 +2717,8 @@ declare const UnknownEventSchema: z.ZodObject<Omit<{
2605
2717
  data?: unknown;
2606
2718
  })[];
2607
2719
  id: string;
2608
- platform: string | null;
2609
2720
  title: string;
2721
+ platform: string | null;
2610
2722
  type?: unknown;
2611
2723
  contexts?: Record<string, z.objectOutputType<{
2612
2724
  type: z.ZodUnion<[z.ZodLiteral<"default">, z.ZodLiteral<"runtime">, z.ZodLiteral<"os">, z.ZodLiteral<"trace">, z.ZodUnknown]>;
@@ -2669,8 +2781,8 @@ declare const UnknownEventSchema: z.ZodObject<Omit<{
2669
2781
  data?: unknown;
2670
2782
  })[];
2671
2783
  id: string;
2672
- platform: string | null;
2673
2784
  title: string;
2785
+ platform: string | null;
2674
2786
  type?: unknown;
2675
2787
  contexts?: Record<string, z.objectInputType<{
2676
2788
  type: z.ZodUnion<[z.ZodLiteral<"default">, z.ZodLiteral<"runtime">, z.ZodLiteral<"os">, z.ZodLiteral<"trace">, z.ZodUnknown]>;
@@ -3149,8 +3261,8 @@ declare const EventSchema: z.ZodUnion<[z.ZodObject<Omit<{
3149
3261
  data?: unknown;
3150
3262
  })[];
3151
3263
  id: string;
3152
- platform: string | null;
3153
3264
  title: string;
3265
+ platform: string | null;
3154
3266
  culprit: string | null;
3155
3267
  dateCreated: string;
3156
3268
  contexts?: Record<string, z.objectOutputType<{
@@ -3215,8 +3327,8 @@ declare const EventSchema: z.ZodUnion<[z.ZodObject<Omit<{
3215
3327
  data?: unknown;
3216
3328
  })[];
3217
3329
  id: string;
3218
- platform: string | null;
3219
3330
  title: string;
3331
+ platform: string | null;
3220
3332
  culprit: string | null;
3221
3333
  dateCreated: string;
3222
3334
  contexts?: Record<string, z.objectInputType<{
@@ -3703,8 +3815,8 @@ declare const EventSchema: z.ZodUnion<[z.ZodObject<Omit<{
3703
3815
  data?: unknown;
3704
3816
  })[];
3705
3817
  id: string;
3706
- platform: string | null;
3707
3818
  title: string;
3819
+ platform: string | null;
3708
3820
  occurrence: {
3709
3821
  culprit: string | null;
3710
3822
  issueTitle: string;
@@ -3771,8 +3883,8 @@ declare const EventSchema: z.ZodUnion<[z.ZodObject<Omit<{
3771
3883
  data?: unknown;
3772
3884
  })[];
3773
3885
  id: string;
3774
- platform: string | null;
3775
3886
  title: string;
3887
+ platform: string | null;
3776
3888
  occurrence: {
3777
3889
  culprit: string | null;
3778
3890
  issueTitle: string;
@@ -4250,8 +4362,8 @@ declare const EventSchema: z.ZodUnion<[z.ZodObject<Omit<{
4250
4362
  data?: unknown;
4251
4363
  })[];
4252
4364
  id: string;
4253
- platform: string | null;
4254
4365
  title: string;
4366
+ platform: string | null;
4255
4367
  type?: unknown;
4256
4368
  contexts?: Record<string, z.objectOutputType<{
4257
4369
  type: z.ZodUnion<[z.ZodLiteral<"default">, z.ZodLiteral<"runtime">, z.ZodLiteral<"os">, z.ZodLiteral<"trace">, z.ZodUnknown]>;
@@ -4314,8 +4426,8 @@ declare const EventSchema: z.ZodUnion<[z.ZodObject<Omit<{
4314
4426
  data?: unknown;
4315
4427
  })[];
4316
4428
  id: string;
4317
- platform: string | null;
4318
4429
  title: string;
4430
+ platform: string | null;
4319
4431
  type?: unknown;
4320
4432
  contexts?: Record<string, z.objectInputType<{
4321
4433
  type: z.ZodUnion<[z.ZodLiteral<"default">, z.ZodLiteral<"runtime">, z.ZodLiteral<"os">, z.ZodLiteral<"trace">, z.ZodUnknown]>;
@@ -4362,25 +4474,25 @@ declare const ErrorsSearchResponseSchema: z.ZodObject<{
4362
4474
  "count()": z.ZodNumber;
4363
4475
  "last_seen()": z.ZodString;
4364
4476
  }, "strip", z.ZodTypeAny, {
4477
+ issue: string;
4365
4478
  title: string;
4366
4479
  project: string;
4367
- issue: string;
4368
4480
  "issue.id": string | number;
4369
4481
  "count()": number;
4370
4482
  "last_seen()": string;
4371
4483
  }, {
4484
+ issue: string;
4372
4485
  title: string;
4373
4486
  project: string;
4374
- issue: string;
4375
4487
  "issue.id": string | number;
4376
4488
  "count()": number;
4377
4489
  "last_seen()": string;
4378
4490
  }>, "many">;
4379
4491
  }, "strip", z.ZodTypeAny, {
4380
4492
  data: {
4493
+ issue: string;
4381
4494
  title: string;
4382
4495
  project: string;
4383
- issue: string;
4384
4496
  "issue.id": string | number;
4385
4497
  "count()": number;
4386
4498
  "last_seen()": string;
@@ -4392,9 +4504,9 @@ declare const ErrorsSearchResponseSchema: z.ZodObject<{
4392
4504
  };
4393
4505
  }, {
4394
4506
  data: {
4507
+ issue: string;
4395
4508
  title: string;
4396
4509
  project: string;
4397
- issue: string;
4398
4510
  "issue.id": string | number;
4399
4511
  "count()": number;
4400
4512
  "last_seen()": string;
@@ -4424,19 +4536,19 @@ declare const SpansSearchResponseSchema: z.ZodObject<{
4424
4536
  project: z.ZodString;
4425
4537
  timestamp: z.ZodString;
4426
4538
  }, "strip", z.ZodTypeAny, {
4427
- timestamp: string;
4428
4539
  id: string;
4429
- transaction: string;
4430
4540
  project: string;
4541
+ transaction: string;
4542
+ timestamp: string;
4431
4543
  trace: string;
4432
4544
  "span.op": string;
4433
4545
  "span.description": string;
4434
4546
  "span.duration": number;
4435
4547
  }, {
4436
- timestamp: string;
4437
4548
  id: string;
4438
- transaction: string;
4439
4549
  project: string;
4550
+ transaction: string;
4551
+ timestamp: string;
4440
4552
  trace: string;
4441
4553
  "span.op": string;
4442
4554
  "span.description": string;
@@ -4444,10 +4556,10 @@ declare const SpansSearchResponseSchema: z.ZodObject<{
4444
4556
  }>, "many">;
4445
4557
  }, "strip", z.ZodTypeAny, {
4446
4558
  data: {
4447
- timestamp: string;
4448
4559
  id: string;
4449
- transaction: string;
4450
4560
  project: string;
4561
+ transaction: string;
4562
+ timestamp: string;
4451
4563
  trace: string;
4452
4564
  "span.op": string;
4453
4565
  "span.description": string;
@@ -4460,10 +4572,10 @@ declare const SpansSearchResponseSchema: z.ZodObject<{
4460
4572
  };
4461
4573
  }, {
4462
4574
  data: {
4463
- timestamp: string;
4464
4575
  id: string;
4465
- transaction: string;
4466
4576
  project: string;
4577
+ transaction: string;
4578
+ timestamp: string;
4467
4579
  trace: string;
4468
4580
  "span.op": string;
4469
4581
  "span.description": string;
@@ -8656,5 +8768,5 @@ declare const AutofixRunStateSchema: z.ZodObject<{
8656
8768
  }>;
8657
8769
  //# sourceMappingURL=schema.d.ts.map
8658
8770
  //#endregion
8659
- export { ApiErrorSchema, AutofixRunSchema, AutofixRunStateSchema, AutofixRunStepDefaultSchema, AutofixRunStepRootCauseAnalysisSchema, AutofixRunStepSchema, AutofixRunStepSolutionSchema, ClientKeyListSchema, ClientKeySchema, ErrorEntrySchema, ErrorEventSchema, ErrorsSearchResponseSchema, EventSchema, EventsResponseSchema, ExceptionInterface, FrameInterface, IssueListSchema, IssueSchema, OrganizationListSchema, OrganizationSchema, ProjectListSchema, ProjectSchema, ReleaseListSchema, ReleaseSchema, RequestEntrySchema, SpansSearchResponseSchema, TagListSchema, TagSchema, TeamListSchema, TeamSchema, TransactionEventSchema, UnknownEventSchema, UserRegionsSchema, UserSchema };
8660
- //# sourceMappingURL=schema-C-MLkWMc.d.ts.map
8771
+ export { ApiErrorSchema, AssignedToSchema, AutofixRunSchema, AutofixRunStateSchema, AutofixRunStepDefaultSchema, AutofixRunStepRootCauseAnalysisSchema, AutofixRunStepSchema, AutofixRunStepSolutionSchema, ClientKeyListSchema, ClientKeySchema, ErrorEntrySchema, ErrorEventSchema, ErrorsSearchResponseSchema, EventSchema, EventsResponseSchema, ExceptionInterface, FrameInterface, IssueListSchema, IssueSchema, OrganizationListSchema, OrganizationSchema, ProjectListSchema, ProjectSchema, ReleaseListSchema, ReleaseSchema, RequestEntrySchema, SpansSearchResponseSchema, TagListSchema, TagSchema, TeamListSchema, TeamSchema, TransactionEventSchema, UnknownEventSchema, UserRegionsSchema, UserSchema };
8772
+ //# sourceMappingURL=schema-BJv7kREf.d.cts.map