@keystrokehq/sentry 0.0.12 → 0.0.15

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 (57) hide show
  1. package/dist/_official/index.d.mts +2 -7
  2. package/dist/_official/index.mjs +1 -1
  3. package/dist/_runtime/index.d.mts +1 -1
  4. package/dist/_runtime/index.mjs +1 -1
  5. package/dist/alerts.d.mts +44 -133
  6. package/dist/alerts.mjs +1 -1
  7. package/dist/connection.d.mts +1 -1
  8. package/dist/connection.mjs +1 -1
  9. package/dist/dashboards.d.mts +20 -61
  10. package/dist/dashboards.mjs +1 -1
  11. package/dist/debug-files.d.mts +12 -37
  12. package/dist/debug-files.mjs +1 -1
  13. package/dist/deploys.d.mts +8 -25
  14. package/dist/deploys.mjs +1 -1
  15. package/dist/discover.d.mts +20 -61
  16. package/dist/discover.mjs +1 -1
  17. package/dist/{endpoint-factory-C0WIFmtK.mjs → endpoint-factory-DcT49a8O.mjs} +2 -1
  18. package/dist/environments.d.mts +12 -37
  19. package/dist/environments.mjs +1 -1
  20. package/dist/events-api.d.mts +30 -87
  21. package/dist/events-api.mjs +1 -1
  22. package/dist/feedback.d.mts +8 -25
  23. package/dist/feedback.mjs +1 -1
  24. package/dist/integration-D7KCM1-p.mjs +75 -0
  25. package/dist/integration-veqa_7yB.d.mts +33 -0
  26. package/dist/issues.d.mts +60 -165
  27. package/dist/issues.mjs +1 -1
  28. package/dist/members.d.mts +28 -85
  29. package/dist/members.mjs +1 -1
  30. package/dist/monitors.d.mts +40 -121
  31. package/dist/monitors.mjs +1 -1
  32. package/dist/notifications.d.mts +20 -61
  33. package/dist/notifications.mjs +1 -1
  34. package/dist/organizations.d.mts +60 -181
  35. package/dist/organizations.mjs +1 -1
  36. package/dist/project-keys.d.mts +20 -61
  37. package/dist/project-keys.mjs +1 -1
  38. package/dist/projects.d.mts +76 -229
  39. package/dist/projects.mjs +1 -1
  40. package/dist/releases.d.mts +86 -255
  41. package/dist/releases.mjs +1 -1
  42. package/dist/replays.d.mts +36 -109
  43. package/dist/replays.mjs +1 -1
  44. package/dist/schemas.d.mts +2 -2
  45. package/dist/scim.d.mts +44 -133
  46. package/dist/scim.mjs +1 -1
  47. package/dist/teams.d.mts +56 -169
  48. package/dist/teams.mjs +1 -1
  49. package/dist/triggers.d.mts +3 -59
  50. package/dist/triggers.mjs +1 -51
  51. package/dist/user-emails.d.mts +16 -49
  52. package/dist/user-emails.mjs +1 -1
  53. package/dist/webhooks.d.mts +20 -61
  54. package/dist/webhooks.mjs +1 -1
  55. package/package.json +5 -6
  56. package/dist/integration-DCNn_9vz.mjs +0 -356
  57. package/dist/integration-rmp485nJ.d.mts +0 -57
@@ -1,6 +1,5 @@
1
1
  import * as _keystrokehq_core0 from "@keystrokehq/core";
2
2
  import { z } from "zod";
3
- import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
4
3
 
5
4
  //#region src/events-api.d.ts
6
5
  declare const fetchIssueEventById: _keystrokehq_core0.Operation<z.ZodObject<{
@@ -15,15 +14,11 @@ declare const fetchIssueEventById: _keystrokehq_core0.Operation<z.ZodObject<{
15
14
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
15
  platform: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
16
  type: z.ZodOptional<z.ZodString>;
18
- }, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
17
+ }, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
19
18
  SENTRY_ACCESS_TOKEN: z.ZodString;
20
19
  SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
21
20
  SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
22
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
23
- SENTRY_ACCESS_TOKEN: z.ZodString;
24
- SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
25
- SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
26
- }, z.core.$strip>>[] | undefined>], undefined>;
21
+ }, z.core.$strip>>], undefined>;
27
22
  declare const retrieveProjectEventById: _keystrokehq_core0.Operation<z.ZodObject<{
28
23
  organization_slug: z.ZodOptional<z.ZodString>;
29
24
  project_slug: z.ZodString;
@@ -36,15 +31,11 @@ declare const retrieveProjectEventById: _keystrokehq_core0.Operation<z.ZodObject
36
31
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
32
  platform: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
33
  type: z.ZodOptional<z.ZodString>;
39
- }, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
40
- SENTRY_ACCESS_TOKEN: z.ZodString;
41
- SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
42
- SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
43
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
34
+ }, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
44
35
  SENTRY_ACCESS_TOKEN: z.ZodString;
45
36
  SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
46
37
  SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
47
- }, z.core.$strip>>[] | undefined>], undefined>;
38
+ }, z.core.$strip>>], undefined>;
48
39
  declare const getProjectEvents: _keystrokehq_core0.Operation<z.ZodObject<{
49
40
  cursor: z.ZodOptional<z.ZodString>;
50
41
  per_page: z.ZodOptional<z.ZodNumber>;
@@ -61,36 +52,28 @@ declare const getProjectEvents: _keystrokehq_core0.Operation<z.ZodObject<{
61
52
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
62
53
  platform: z.ZodOptional<z.ZodNullable<z.ZodString>>;
63
54
  type: z.ZodOptional<z.ZodString>;
64
- }, z.core.$loose>>, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
55
+ }, z.core.$loose>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
65
56
  SENTRY_ACCESS_TOKEN: z.ZodString;
66
57
  SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
67
58
  SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
68
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
69
- SENTRY_ACCESS_TOKEN: z.ZodString;
70
- SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
71
- SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
72
- }, z.core.$strip>>[] | undefined>], undefined>;
59
+ }, z.core.$strip>>], undefined>;
73
60
  declare const getProjectEventStats: _keystrokehq_core0.Operation<z.ZodObject<{
74
61
  organization_slug: z.ZodOptional<z.ZodString>;
75
62
  project_slug: z.ZodString;
76
63
  stat: z.ZodOptional<z.ZodEnum<{
77
- generated: "generated";
78
64
  received: "received";
79
65
  rejected: "rejected";
80
66
  blacklisted: "blacklisted";
67
+ generated: "generated";
81
68
  }>>;
82
69
  since: z.ZodOptional<z.ZodString>;
83
70
  until: z.ZodOptional<z.ZodString>;
84
71
  resolution: z.ZodOptional<z.ZodString>;
85
- }, z.core.$strip>, z.ZodArray<z.ZodUnknown>, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
72
+ }, z.core.$strip>, z.ZodArray<z.ZodUnknown>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
86
73
  SENTRY_ACCESS_TOKEN: z.ZodString;
87
74
  SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
88
75
  SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
89
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
90
- SENTRY_ACCESS_TOKEN: z.ZodString;
91
- SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
92
- SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
93
- }, z.core.$strip>>[] | undefined>], undefined>;
76
+ }, z.core.$strip>>], undefined>;
94
77
  declare const retrieveOrganizationEvents: _keystrokehq_core0.Operation<z.ZodObject<{
95
78
  cursor: z.ZodOptional<z.ZodString>;
96
79
  per_page: z.ZodOptional<z.ZodNumber>;
@@ -110,15 +93,11 @@ declare const retrieveOrganizationEvents: _keystrokehq_core0.Operation<z.ZodObje
110
93
  issuePlatform: "issuePlatform";
111
94
  }>>;
112
95
  orderby: z.ZodOptional<z.ZodString>;
113
- }, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodUnknown>, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
114
- SENTRY_ACCESS_TOKEN: z.ZodString;
115
- SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
116
- SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
117
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
96
+ }, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodUnknown>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
118
97
  SENTRY_ACCESS_TOKEN: z.ZodString;
119
98
  SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
120
99
  SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
121
- }, z.core.$strip>>[] | undefined>], undefined>;
100
+ }, z.core.$strip>>], undefined>;
122
101
  declare const retrieveEventIdForOrganization: _keystrokehq_core0.Operation<z.ZodObject<{
123
102
  organization_slug: z.ZodOptional<z.ZodString>;
124
103
  event_id: z.ZodString;
@@ -130,30 +109,22 @@ declare const retrieveEventIdForOrganization: _keystrokehq_core0.Operation<z.Zod
130
109
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
131
110
  platform: z.ZodOptional<z.ZodNullable<z.ZodString>>;
132
111
  type: z.ZodOptional<z.ZodString>;
133
- }, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
112
+ }, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
134
113
  SENTRY_ACCESS_TOKEN: z.ZodString;
135
114
  SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
136
115
  SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
137
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
138
- SENTRY_ACCESS_TOKEN: z.ZodString;
139
- SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
140
- SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
141
- }, z.core.$strip>>[] | undefined>], undefined>;
116
+ }, z.core.$strip>>], undefined>;
142
117
  declare const retrieveSourceMapDebugEvent: _keystrokehq_core0.Operation<z.ZodObject<{
143
118
  organization_slug: z.ZodOptional<z.ZodString>;
144
119
  project_slug: z.ZodString;
145
120
  event_id: z.ZodString;
146
121
  frame_idx: z.ZodOptional<z.ZodNumber>;
147
122
  exception_idx: z.ZodOptional<z.ZodNumber>;
148
- }, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodUnknown>, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
149
- SENTRY_ACCESS_TOKEN: z.ZodString;
150
- SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
151
- SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
152
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
123
+ }, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodUnknown>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
153
124
  SENTRY_ACCESS_TOKEN: z.ZodString;
154
125
  SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
155
126
  SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
156
- }, z.core.$strip>>[] | undefined>], undefined>;
127
+ }, z.core.$strip>>], undefined>;
157
128
  declare const sentryEventOperations: {
158
129
  readonly fetchIssueEventById: _keystrokehq_core0.Operation<z.ZodObject<{
159
130
  organization_slug: z.ZodOptional<z.ZodString>;
@@ -167,15 +138,11 @@ declare const sentryEventOperations: {
167
138
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
168
139
  platform: z.ZodOptional<z.ZodNullable<z.ZodString>>;
169
140
  type: z.ZodOptional<z.ZodString>;
170
- }, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
141
+ }, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
171
142
  SENTRY_ACCESS_TOKEN: z.ZodString;
172
143
  SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
173
144
  SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
174
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
175
- SENTRY_ACCESS_TOKEN: z.ZodString;
176
- SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
177
- SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
178
- }, z.core.$strip>>[] | undefined>], undefined>;
145
+ }, z.core.$strip>>], undefined>;
179
146
  readonly retrieveProjectEventById: _keystrokehq_core0.Operation<z.ZodObject<{
180
147
  organization_slug: z.ZodOptional<z.ZodString>;
181
148
  project_slug: z.ZodString;
@@ -188,15 +155,11 @@ declare const sentryEventOperations: {
188
155
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
189
156
  platform: z.ZodOptional<z.ZodNullable<z.ZodString>>;
190
157
  type: z.ZodOptional<z.ZodString>;
191
- }, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
192
- SENTRY_ACCESS_TOKEN: z.ZodString;
193
- SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
194
- SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
195
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
158
+ }, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
196
159
  SENTRY_ACCESS_TOKEN: z.ZodString;
197
160
  SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
198
161
  SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
199
- }, z.core.$strip>>[] | undefined>], undefined>;
162
+ }, z.core.$strip>>], undefined>;
200
163
  readonly getProjectEvents: _keystrokehq_core0.Operation<z.ZodObject<{
201
164
  cursor: z.ZodOptional<z.ZodString>;
202
165
  per_page: z.ZodOptional<z.ZodNumber>;
@@ -213,36 +176,28 @@ declare const sentryEventOperations: {
213
176
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
214
177
  platform: z.ZodOptional<z.ZodNullable<z.ZodString>>;
215
178
  type: z.ZodOptional<z.ZodString>;
216
- }, z.core.$loose>>, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
179
+ }, z.core.$loose>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
217
180
  SENTRY_ACCESS_TOKEN: z.ZodString;
218
181
  SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
219
182
  SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
220
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
221
- SENTRY_ACCESS_TOKEN: z.ZodString;
222
- SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
223
- SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
224
- }, z.core.$strip>>[] | undefined>], undefined>;
183
+ }, z.core.$strip>>], undefined>;
225
184
  readonly getProjectEventStats: _keystrokehq_core0.Operation<z.ZodObject<{
226
185
  organization_slug: z.ZodOptional<z.ZodString>;
227
186
  project_slug: z.ZodString;
228
187
  stat: z.ZodOptional<z.ZodEnum<{
229
- generated: "generated";
230
188
  received: "received";
231
189
  rejected: "rejected";
232
190
  blacklisted: "blacklisted";
191
+ generated: "generated";
233
192
  }>>;
234
193
  since: z.ZodOptional<z.ZodString>;
235
194
  until: z.ZodOptional<z.ZodString>;
236
195
  resolution: z.ZodOptional<z.ZodString>;
237
- }, z.core.$strip>, z.ZodArray<z.ZodUnknown>, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
196
+ }, z.core.$strip>, z.ZodArray<z.ZodUnknown>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
238
197
  SENTRY_ACCESS_TOKEN: z.ZodString;
239
198
  SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
240
199
  SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
241
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
242
- SENTRY_ACCESS_TOKEN: z.ZodString;
243
- SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
244
- SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
245
- }, z.core.$strip>>[] | undefined>], undefined>;
200
+ }, z.core.$strip>>], undefined>;
246
201
  readonly retrieveOrganizationEvents: _keystrokehq_core0.Operation<z.ZodObject<{
247
202
  cursor: z.ZodOptional<z.ZodString>;
248
203
  per_page: z.ZodOptional<z.ZodNumber>;
@@ -262,15 +217,11 @@ declare const sentryEventOperations: {
262
217
  issuePlatform: "issuePlatform";
263
218
  }>>;
264
219
  orderby: z.ZodOptional<z.ZodString>;
265
- }, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodUnknown>, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
266
- SENTRY_ACCESS_TOKEN: z.ZodString;
267
- SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
268
- SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
269
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
220
+ }, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodUnknown>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
270
221
  SENTRY_ACCESS_TOKEN: z.ZodString;
271
222
  SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
272
223
  SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
273
- }, z.core.$strip>>[] | undefined>], undefined>;
224
+ }, z.core.$strip>>], undefined>;
274
225
  readonly retrieveEventIdForOrganization: _keystrokehq_core0.Operation<z.ZodObject<{
275
226
  organization_slug: z.ZodOptional<z.ZodString>;
276
227
  event_id: z.ZodString;
@@ -282,30 +233,22 @@ declare const sentryEventOperations: {
282
233
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
283
234
  platform: z.ZodOptional<z.ZodNullable<z.ZodString>>;
284
235
  type: z.ZodOptional<z.ZodString>;
285
- }, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
236
+ }, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
286
237
  SENTRY_ACCESS_TOKEN: z.ZodString;
287
238
  SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
288
239
  SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
289
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
290
- SENTRY_ACCESS_TOKEN: z.ZodString;
291
- SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
292
- SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
293
- }, z.core.$strip>>[] | undefined>], undefined>;
240
+ }, z.core.$strip>>], undefined>;
294
241
  readonly retrieveSourceMapDebugEvent: _keystrokehq_core0.Operation<z.ZodObject<{
295
242
  organization_slug: z.ZodOptional<z.ZodString>;
296
243
  project_slug: z.ZodString;
297
244
  event_id: z.ZodString;
298
245
  frame_idx: z.ZodOptional<z.ZodNumber>;
299
246
  exception_idx: z.ZodOptional<z.ZodNumber>;
300
- }, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodUnknown>, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
301
- SENTRY_ACCESS_TOKEN: z.ZodString;
302
- SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
303
- SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
304
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
247
+ }, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodUnknown>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
305
248
  SENTRY_ACCESS_TOKEN: z.ZodString;
306
249
  SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
307
250
  SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
308
- }, z.core.$strip>>[] | undefined>], undefined>;
251
+ }, z.core.$strip>>], undefined>;
309
252
  };
310
253
  //#endregion
311
254
  export { fetchIssueEventById, getProjectEventStats, getProjectEvents, retrieveEventIdForOrganization, retrieveOrganizationEvents, retrieveProjectEventById, retrieveSourceMapDebugEvent, sentryEventOperations };
@@ -1,5 +1,5 @@
1
1
  import { orgIssueScopeInputSchema, orgProjectScopeInputSchema, orgScopeInputSchema, sentryEventSchema, sentryIdSchema, sentryJsonArraySchema, sentryJsonObjectSchema, sentryListInputSchema } from "./schemas.mjs";
2
- import { t as defineSentryEndpoint } from "./endpoint-factory-C0WIFmtK.mjs";
2
+ import { t as defineSentryEndpoint } from "./endpoint-factory-DcT49a8O.mjs";
3
3
  import { t as SENTRY_SCOPE } from "./scopes-RRU0vt-a.mjs";
4
4
  import { z } from "zod";
5
5
 
@@ -1,6 +1,5 @@
1
1
  import * as _keystrokehq_core0 from "@keystrokehq/core";
2
2
  import { z } from "zod";
3
- import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
4
3
 
5
4
  //#region src/feedback.d.ts
6
5
  declare const retrieveUserFeedbackForProject: _keystrokehq_core0.Operation<z.ZodObject<{
@@ -16,15 +15,11 @@ declare const retrieveUserFeedbackForProject: _keystrokehq_core0.Operation<z.Zod
16
15
  email: z.ZodOptional<z.ZodString>;
17
16
  comments: z.ZodOptional<z.ZodString>;
18
17
  dateCreated: z.ZodOptional<z.ZodISODateTime>;
19
- }, z.core.$loose>>, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
18
+ }, z.core.$loose>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
20
19
  SENTRY_ACCESS_TOKEN: z.ZodString;
21
20
  SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
22
21
  SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
23
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
24
- SENTRY_ACCESS_TOKEN: z.ZodString;
25
- SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
26
- SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
27
- }, z.core.$strip>>[] | undefined>], undefined>;
22
+ }, z.core.$strip>>], undefined>;
28
23
  declare const submitProjectUserFeedback: _keystrokehq_core0.Operation<z.ZodObject<{
29
24
  organization_slug: z.ZodOptional<z.ZodString>;
30
25
  project_slug: z.ZodString;
@@ -39,15 +34,11 @@ declare const submitProjectUserFeedback: _keystrokehq_core0.Operation<z.ZodObjec
39
34
  email: z.ZodOptional<z.ZodString>;
40
35
  comments: z.ZodOptional<z.ZodString>;
41
36
  dateCreated: z.ZodOptional<z.ZodISODateTime>;
42
- }, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
43
- SENTRY_ACCESS_TOKEN: z.ZodString;
44
- SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
45
- SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
46
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
37
+ }, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
47
38
  SENTRY_ACCESS_TOKEN: z.ZodString;
48
39
  SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
49
40
  SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
50
- }, z.core.$strip>>[] | undefined>], undefined>;
41
+ }, z.core.$strip>>], undefined>;
51
42
  declare const sentryFeedbackOperations: {
52
43
  readonly retrieveUserFeedbackForProject: _keystrokehq_core0.Operation<z.ZodObject<{
53
44
  cursor: z.ZodOptional<z.ZodString>;
@@ -62,15 +53,11 @@ declare const sentryFeedbackOperations: {
62
53
  email: z.ZodOptional<z.ZodString>;
63
54
  comments: z.ZodOptional<z.ZodString>;
64
55
  dateCreated: z.ZodOptional<z.ZodISODateTime>;
65
- }, z.core.$loose>>, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
56
+ }, z.core.$loose>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
66
57
  SENTRY_ACCESS_TOKEN: z.ZodString;
67
58
  SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
68
59
  SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
69
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
70
- SENTRY_ACCESS_TOKEN: z.ZodString;
71
- SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
72
- SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
73
- }, z.core.$strip>>[] | undefined>], undefined>;
60
+ }, z.core.$strip>>], undefined>;
74
61
  readonly submitProjectUserFeedback: _keystrokehq_core0.Operation<z.ZodObject<{
75
62
  organization_slug: z.ZodOptional<z.ZodString>;
76
63
  project_slug: z.ZodString;
@@ -85,15 +72,11 @@ declare const sentryFeedbackOperations: {
85
72
  email: z.ZodOptional<z.ZodString>;
86
73
  comments: z.ZodOptional<z.ZodString>;
87
74
  dateCreated: z.ZodOptional<z.ZodISODateTime>;
88
- }, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
89
- SENTRY_ACCESS_TOKEN: z.ZodString;
90
- SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
91
- SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
92
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
75
+ }, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
93
76
  SENTRY_ACCESS_TOKEN: z.ZodString;
94
77
  SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
95
78
  SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
96
- }, z.core.$strip>>[] | undefined>], undefined>;
79
+ }, z.core.$strip>>], undefined>;
97
80
  };
98
81
  //#endregion
99
82
  export { retrieveUserFeedbackForProject, sentryFeedbackOperations, submitProjectUserFeedback };
package/dist/feedback.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import { orgProjectScopeInputSchema, sentryFeedbackSchema, sentryIdSchema, sentryListInputSchema } from "./schemas.mjs";
2
- import { t as defineSentryEndpoint } from "./endpoint-factory-C0WIFmtK.mjs";
2
+ import { t as defineSentryEndpoint } from "./endpoint-factory-DcT49a8O.mjs";
3
3
  import { t as SENTRY_SCOPE } from "./scopes-RRU0vt-a.mjs";
4
4
  import { z } from "zod";
5
5
 
@@ -0,0 +1,75 @@
1
+ import { CredentialSet } from "@keystrokehq/core";
2
+ import { defineOfficialIntegration, officialCredentialSetId } from "@keystrokehq/integration-authoring/official";
3
+ import { z } from "zod";
4
+
5
+ //#region src/_official/provider-app.ts
6
+ /**
7
+ * Internal Keystroke-owned Sentry app credentials.
8
+ *
9
+ * For Sentry, `clientSecret` doubles as the webhook signing secret per
10
+ * <https://docs.sentry.io/organization/integrations/integration-platform/webhooks/>,
11
+ * so `webhookSecret` is kept as a discrete field for symmetry with other
12
+ * integrations even though in practice platforms will populate both from the
13
+ * same Sentry-issued value.
14
+ */
15
+ const sentryAppCredentialSet = new CredentialSet({
16
+ id: officialCredentialSetId("sentry-app"),
17
+ credentialType: "manual",
18
+ exposure: "platform-only",
19
+ name: "Sentry App",
20
+ auth: z.object({
21
+ clientId: z.string(),
22
+ clientSecret: z.string(),
23
+ webhookSecret: z.string()
24
+ })
25
+ });
26
+ const sentryOfficialProviderSeed = {
27
+ provider: "sentry",
28
+ appRef: "sentry-official",
29
+ displayName: "Sentry Platform",
30
+ credentialSetName: "Keystroke Sentry Platform App",
31
+ envShape: {
32
+ KEYSTROKE_OFFICIAL_SENTRY_CLIENT_ID: z.string().optional(),
33
+ KEYSTROKE_OFFICIAL_SENTRY_CLIENT_SECRET: z.string().optional(),
34
+ KEYSTROKE_OFFICIAL_SENTRY_WEBHOOK_SECRET: z.string().optional()
35
+ },
36
+ requiredEnvKeys: [
37
+ "KEYSTROKE_OFFICIAL_SENTRY_CLIENT_ID",
38
+ "KEYSTROKE_OFFICIAL_SENTRY_CLIENT_SECRET",
39
+ "KEYSTROKE_OFFICIAL_SENTRY_WEBHOOK_SECRET"
40
+ ],
41
+ externalAppIdEnvKey: "KEYSTROKE_OFFICIAL_SENTRY_CLIENT_ID",
42
+ buildCredentials: (env) => ({
43
+ clientId: env.KEYSTROKE_OFFICIAL_SENTRY_CLIENT_ID,
44
+ clientSecret: env.KEYSTROKE_OFFICIAL_SENTRY_CLIENT_SECRET,
45
+ webhookSecret: env.KEYSTROKE_OFFICIAL_SENTRY_WEBHOOK_SECRET
46
+ })
47
+ };
48
+
49
+ //#endregion
50
+ //#region src/integration.ts
51
+ const sentryAuthSchema = z.object({
52
+ SENTRY_ACCESS_TOKEN: z.string().min(1),
53
+ SENTRY_REGION_URL: z.string().url().optional(),
54
+ SENTRY_ORG_SLUG: z.string().min(1).optional()
55
+ });
56
+ const sentryOfficialIntegration = {
57
+ id: "sentry",
58
+ name: "Sentry",
59
+ description: "Sentry — issue lifecycle, release tracking, alerts, monitors, replays, feedback, and integration-platform webhook triggers",
60
+ auth: sentryAuthSchema,
61
+ proxy: { hosts: [
62
+ "sentry.io",
63
+ "us.sentry.io",
64
+ "de.sentry.io"
65
+ ] },
66
+ credentialType: "oauth"
67
+ };
68
+ const sentryBundle = defineOfficialIntegration({
69
+ ...sentryOfficialIntegration,
70
+ internal: { providerApp: sentryAppCredentialSet }
71
+ });
72
+ const sentry = sentryBundle.credentialSet;
73
+
74
+ //#endregion
75
+ export { sentryOfficialProviderSeed as a, sentryAppCredentialSet as i, sentryBundle as n, sentryOfficialIntegration as r, sentry as t };
@@ -0,0 +1,33 @@
1
+ import * as _keystrokehq_core0 from "@keystrokehq/core";
2
+ import * as _keystrokehq_integration_authoring_official0 from "@keystrokehq/integration-authoring/official";
3
+ import { z } from "zod";
4
+ import { InferCredentialSetAuth } from "@keystrokehq/core/credential-set";
5
+
6
+ //#region src/integration.d.ts
7
+ declare const sentryOfficialIntegration: {
8
+ id: "sentry";
9
+ name: string;
10
+ description: string;
11
+ auth: z.ZodObject<{
12
+ SENTRY_ACCESS_TOKEN: z.ZodString;
13
+ SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
14
+ SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
15
+ }, z.core.$strip>;
16
+ proxy: {
17
+ hosts: string[];
18
+ };
19
+ credentialType: "oauth";
20
+ };
21
+ declare const sentryBundle: _keystrokehq_integration_authoring_official0.OfficialIntegrationBundle<"sentry", z.ZodObject<{
22
+ SENTRY_ACCESS_TOKEN: z.ZodString;
23
+ SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
24
+ SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
25
+ }, z.core.$strip>>;
26
+ declare const sentry: _keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
27
+ SENTRY_ACCESS_TOKEN: z.ZodString;
28
+ SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
29
+ SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
30
+ }, z.core.$strip>>;
31
+ type SentryIntegrationCredentials = InferCredentialSetAuth<typeof sentry>;
32
+ //#endregion
33
+ export { sentryOfficialIntegration as i, sentry as n, sentryBundle as r, SentryIntegrationCredentials as t };