@keystrokehq/sentry 0.0.10 → 0.0.12

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/dist/_official/index.d.mts +2 -2
  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 +22 -22
  6. package/dist/alerts.mjs +12 -12
  7. package/dist/connection.d.mts +1 -1
  8. package/dist/connection.mjs +1 -1
  9. package/dist/dashboards.d.mts +10 -10
  10. package/dist/dashboards.mjs +6 -6
  11. package/dist/debug-files.d.mts +6 -6
  12. package/dist/debug-files.mjs +4 -4
  13. package/dist/deploys.d.mts +4 -4
  14. package/dist/deploys.mjs +3 -3
  15. package/dist/discover.d.mts +10 -10
  16. package/dist/discover.mjs +6 -6
  17. package/dist/{endpoint-factory-BKyte5gU.mjs → endpoint-factory-C0WIFmtK.mjs} +1 -2
  18. package/dist/environments.d.mts +8 -8
  19. package/dist/environments.mjs +4 -4
  20. package/dist/events-api.d.mts +14 -14
  21. package/dist/events-api.mjs +8 -8
  22. package/dist/feedback.d.mts +4 -4
  23. package/dist/feedback.mjs +3 -3
  24. package/dist/integration-DCNn_9vz.mjs +356 -0
  25. package/dist/{integration-BaLZqIqf.d.mts → integration-rmp485nJ.d.mts} +2 -3
  26. package/dist/issues.d.mts +36 -36
  27. package/dist/issues.mjs +14 -14
  28. package/dist/members.d.mts +14 -14
  29. package/dist/members.mjs +8 -8
  30. package/dist/monitors.d.mts +32 -32
  31. package/dist/monitors.mjs +11 -11
  32. package/dist/notifications.d.mts +10 -10
  33. package/dist/notifications.mjs +6 -6
  34. package/dist/organizations.d.mts +32 -32
  35. package/dist/organizations.mjs +16 -16
  36. package/dist/project-keys.d.mts +10 -10
  37. package/dist/project-keys.mjs +6 -6
  38. package/dist/projects.d.mts +38 -38
  39. package/dist/projects.mjs +20 -20
  40. package/dist/releases.d.mts +44 -44
  41. package/dist/releases.mjs +22 -22
  42. package/dist/replays.d.mts +18 -18
  43. package/dist/replays.mjs +10 -10
  44. package/dist/schemas.d.mts +4 -4
  45. package/dist/scim.d.mts +22 -22
  46. package/dist/scim.mjs +12 -12
  47. package/dist/teams.d.mts +28 -28
  48. package/dist/teams.mjs +15 -15
  49. package/dist/triggers.d.mts +59 -3
  50. package/dist/triggers.mjs +51 -1
  51. package/dist/user-emails.d.mts +8 -8
  52. package/dist/user-emails.mjs +5 -5
  53. package/dist/webhooks.d.mts +10 -10
  54. package/dist/webhooks.mjs +6 -6
  55. package/package.json +5 -5
  56. package/dist/integration-DQ-PSbHu.mjs +0 -156
package/dist/teams.d.mts CHANGED
@@ -15,7 +15,7 @@ declare const listTeamsInOrganization: _keystrokehq_core0.Operation<z.ZodObject<
15
15
  name: z.ZodString;
16
16
  dateCreated: z.ZodOptional<z.ZodISODateTime>;
17
17
  isMember: z.ZodOptional<z.ZodBoolean>;
18
- }, z.core.$loose>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
18
+ }, z.core.$loose>>, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
19
19
  SENTRY_ACCESS_TOKEN: z.ZodString;
20
20
  SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
21
21
  SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
@@ -32,7 +32,7 @@ declare const listOrganizationUserTeams: _keystrokehq_core0.Operation<z.ZodObjec
32
32
  name: z.ZodString;
33
33
  dateCreated: z.ZodOptional<z.ZodISODateTime>;
34
34
  isMember: z.ZodOptional<z.ZodBoolean>;
35
- }, z.core.$loose>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
35
+ }, z.core.$loose>>, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
36
36
  SENTRY_ACCESS_TOKEN: z.ZodString;
37
37
  SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
38
38
  SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
@@ -52,7 +52,7 @@ declare const createOrganizationTeam: _keystrokehq_core0.Operation<z.ZodObject<{
52
52
  name: z.ZodString;
53
53
  dateCreated: z.ZodOptional<z.ZodISODateTime>;
54
54
  isMember: z.ZodOptional<z.ZodBoolean>;
55
- }, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
55
+ }, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
56
56
  SENTRY_ACCESS_TOKEN: z.ZodString;
57
57
  SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
58
58
  SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
@@ -70,7 +70,7 @@ declare const retrieveTeamInfoViaOrganizationIdOrSlug: _keystrokehq_core0.Operat
70
70
  name: z.ZodString;
71
71
  dateCreated: z.ZodOptional<z.ZodISODateTime>;
72
72
  isMember: z.ZodOptional<z.ZodBoolean>;
73
- }, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
73
+ }, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
74
74
  SENTRY_ACCESS_TOKEN: z.ZodString;
75
75
  SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
76
76
  SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
@@ -90,7 +90,7 @@ declare const updateTeamInformationByOrganizationId: _keystrokehq_core0.Operatio
90
90
  name: z.ZodString;
91
91
  dateCreated: z.ZodOptional<z.ZodISODateTime>;
92
92
  isMember: z.ZodOptional<z.ZodBoolean>;
93
- }, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
93
+ }, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
94
94
  SENTRY_ACCESS_TOKEN: z.ZodString;
95
95
  SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
96
96
  SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
@@ -102,7 +102,7 @@ declare const updateTeamInformationByOrganizationId: _keystrokehq_core0.Operatio
102
102
  declare const deleteTeamByOrganizationOrTeamSlug: _keystrokehq_core0.Operation<z.ZodObject<{
103
103
  organization_slug: z.ZodOptional<z.ZodString>;
104
104
  team_slug: z.ZodString;
105
- }, z.core.$strip>, z.ZodUnknown, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
105
+ }, z.core.$strip>, z.ZodUnknown, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
106
106
  SENTRY_ACCESS_TOKEN: z.ZodString;
107
107
  SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
108
108
  SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
@@ -130,7 +130,7 @@ declare const addTeamMemberInOrganization: _keystrokehq_core0.Operation<z.ZodObj
130
130
  email: z.ZodOptional<z.ZodString>;
131
131
  name: z.ZodOptional<z.ZodString>;
132
132
  }, z.core.$loose>>>;
133
- }, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
133
+ }, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
134
134
  SENTRY_ACCESS_TOKEN: z.ZodString;
135
135
  SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
136
136
  SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
@@ -160,7 +160,7 @@ declare const getTeamMembersByIdOrSlug: _keystrokehq_core0.Operation<z.ZodObject
160
160
  email: z.ZodOptional<z.ZodString>;
161
161
  name: z.ZodOptional<z.ZodString>;
162
162
  }, z.core.$loose>>>;
163
- }, z.core.$loose>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
163
+ }, z.core.$loose>>, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
164
164
  SENTRY_ACCESS_TOKEN: z.ZodString;
165
165
  SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
166
166
  SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
@@ -173,7 +173,7 @@ declare const deleteMemberFromTeam: _keystrokehq_core0.Operation<z.ZodObject<{
173
173
  organization_slug: z.ZodOptional<z.ZodString>;
174
174
  team_slug: z.ZodString;
175
175
  member_id: z.ZodString;
176
- }, z.core.$strip>, z.ZodUnknown, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
176
+ }, z.core.$strip>, z.ZodUnknown, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
177
177
  SENTRY_ACCESS_TOKEN: z.ZodString;
178
178
  SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
179
179
  SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
@@ -202,7 +202,7 @@ declare const switchTeamRoleForMember: _keystrokehq_core0.Operation<z.ZodObject<
202
202
  email: z.ZodOptional<z.ZodString>;
203
203
  name: z.ZodOptional<z.ZodString>;
204
204
  }, z.core.$loose>>>;
205
- }, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
205
+ }, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
206
206
  SENTRY_ACCESS_TOKEN: z.ZodString;
207
207
  SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
208
208
  SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
@@ -225,7 +225,7 @@ declare const retrieveTeamProjects: _keystrokehq_core0.Operation<z.ZodObject<{
225
225
  dateCreated: z.ZodOptional<z.ZodISODateTime>;
226
226
  isMember: z.ZodOptional<z.ZodBoolean>;
227
227
  status: z.ZodOptional<z.ZodString>;
228
- }, z.core.$loose>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
228
+ }, z.core.$loose>>, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
229
229
  SENTRY_ACCESS_TOKEN: z.ZodString;
230
230
  SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
231
231
  SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
@@ -241,7 +241,7 @@ declare const manageTeamExternalIntegrations: _keystrokehq_core0.Operation<z.Zod
241
241
  provider: z.ZodString;
242
242
  externalId: z.ZodOptional<z.ZodString>;
243
243
  integrationId: z.ZodOptional<z.ZodString>;
244
- }, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodUnknown>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
244
+ }, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodUnknown>, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
245
245
  SENTRY_ACCESS_TOKEN: z.ZodString;
246
246
  SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
247
247
  SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
@@ -257,7 +257,7 @@ declare const updateExternalTeamIntegration: _keystrokehq_core0.Operation<z.ZodO
257
257
  externalName: z.ZodOptional<z.ZodString>;
258
258
  integrationId: z.ZodOptional<z.ZodString>;
259
259
  externalId: z.ZodOptional<z.ZodString>;
260
- }, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodUnknown>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
260
+ }, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodUnknown>, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
261
261
  SENTRY_ACCESS_TOKEN: z.ZodString;
262
262
  SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
263
263
  SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
@@ -270,7 +270,7 @@ declare const deleteExternalTeamById: _keystrokehq_core0.Operation<z.ZodObject<{
270
270
  organization_slug: z.ZodOptional<z.ZodString>;
271
271
  team_slug: z.ZodString;
272
272
  external_team_id: z.ZodString;
273
- }, z.core.$strip>, z.ZodUnknown, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
273
+ }, z.core.$strip>, z.ZodUnknown, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
274
274
  SENTRY_ACCESS_TOKEN: z.ZodString;
275
275
  SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
276
276
  SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
@@ -292,7 +292,7 @@ declare const sentryTeamOperations: {
292
292
  name: z.ZodString;
293
293
  dateCreated: z.ZodOptional<z.ZodISODateTime>;
294
294
  isMember: z.ZodOptional<z.ZodBoolean>;
295
- }, z.core.$loose>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
295
+ }, z.core.$loose>>, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
296
296
  SENTRY_ACCESS_TOKEN: z.ZodString;
297
297
  SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
298
298
  SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
@@ -309,7 +309,7 @@ declare const sentryTeamOperations: {
309
309
  name: z.ZodString;
310
310
  dateCreated: z.ZodOptional<z.ZodISODateTime>;
311
311
  isMember: z.ZodOptional<z.ZodBoolean>;
312
- }, z.core.$loose>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
312
+ }, z.core.$loose>>, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
313
313
  SENTRY_ACCESS_TOKEN: z.ZodString;
314
314
  SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
315
315
  SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
@@ -329,7 +329,7 @@ declare const sentryTeamOperations: {
329
329
  name: z.ZodString;
330
330
  dateCreated: z.ZodOptional<z.ZodISODateTime>;
331
331
  isMember: z.ZodOptional<z.ZodBoolean>;
332
- }, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
332
+ }, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
333
333
  SENTRY_ACCESS_TOKEN: z.ZodString;
334
334
  SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
335
335
  SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
@@ -347,7 +347,7 @@ declare const sentryTeamOperations: {
347
347
  name: z.ZodString;
348
348
  dateCreated: z.ZodOptional<z.ZodISODateTime>;
349
349
  isMember: z.ZodOptional<z.ZodBoolean>;
350
- }, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
350
+ }, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
351
351
  SENTRY_ACCESS_TOKEN: z.ZodString;
352
352
  SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
353
353
  SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
@@ -367,7 +367,7 @@ declare const sentryTeamOperations: {
367
367
  name: z.ZodString;
368
368
  dateCreated: z.ZodOptional<z.ZodISODateTime>;
369
369
  isMember: z.ZodOptional<z.ZodBoolean>;
370
- }, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
370
+ }, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
371
371
  SENTRY_ACCESS_TOKEN: z.ZodString;
372
372
  SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
373
373
  SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
@@ -379,7 +379,7 @@ declare const sentryTeamOperations: {
379
379
  readonly deleteTeamByOrganizationOrTeamSlug: _keystrokehq_core0.Operation<z.ZodObject<{
380
380
  organization_slug: z.ZodOptional<z.ZodString>;
381
381
  team_slug: z.ZodString;
382
- }, z.core.$strip>, z.ZodUnknown, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
382
+ }, z.core.$strip>, z.ZodUnknown, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
383
383
  SENTRY_ACCESS_TOKEN: z.ZodString;
384
384
  SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
385
385
  SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
@@ -407,7 +407,7 @@ declare const sentryTeamOperations: {
407
407
  email: z.ZodOptional<z.ZodString>;
408
408
  name: z.ZodOptional<z.ZodString>;
409
409
  }, z.core.$loose>>>;
410
- }, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
410
+ }, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
411
411
  SENTRY_ACCESS_TOKEN: z.ZodString;
412
412
  SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
413
413
  SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
@@ -437,7 +437,7 @@ declare const sentryTeamOperations: {
437
437
  email: z.ZodOptional<z.ZodString>;
438
438
  name: z.ZodOptional<z.ZodString>;
439
439
  }, z.core.$loose>>>;
440
- }, z.core.$loose>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
440
+ }, z.core.$loose>>, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
441
441
  SENTRY_ACCESS_TOKEN: z.ZodString;
442
442
  SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
443
443
  SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
@@ -450,7 +450,7 @@ declare const sentryTeamOperations: {
450
450
  organization_slug: z.ZodOptional<z.ZodString>;
451
451
  team_slug: z.ZodString;
452
452
  member_id: z.ZodString;
453
- }, z.core.$strip>, z.ZodUnknown, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
453
+ }, z.core.$strip>, z.ZodUnknown, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
454
454
  SENTRY_ACCESS_TOKEN: z.ZodString;
455
455
  SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
456
456
  SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
@@ -479,7 +479,7 @@ declare const sentryTeamOperations: {
479
479
  email: z.ZodOptional<z.ZodString>;
480
480
  name: z.ZodOptional<z.ZodString>;
481
481
  }, z.core.$loose>>>;
482
- }, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
482
+ }, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
483
483
  SENTRY_ACCESS_TOKEN: z.ZodString;
484
484
  SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
485
485
  SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
@@ -502,7 +502,7 @@ declare const sentryTeamOperations: {
502
502
  dateCreated: z.ZodOptional<z.ZodISODateTime>;
503
503
  isMember: z.ZodOptional<z.ZodBoolean>;
504
504
  status: z.ZodOptional<z.ZodString>;
505
- }, z.core.$loose>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
505
+ }, z.core.$loose>>, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
506
506
  SENTRY_ACCESS_TOKEN: z.ZodString;
507
507
  SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
508
508
  SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
@@ -518,7 +518,7 @@ declare const sentryTeamOperations: {
518
518
  provider: z.ZodString;
519
519
  externalId: z.ZodOptional<z.ZodString>;
520
520
  integrationId: z.ZodOptional<z.ZodString>;
521
- }, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodUnknown>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
521
+ }, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodUnknown>, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
522
522
  SENTRY_ACCESS_TOKEN: z.ZodString;
523
523
  SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
524
524
  SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
@@ -534,7 +534,7 @@ declare const sentryTeamOperations: {
534
534
  externalName: z.ZodOptional<z.ZodString>;
535
535
  integrationId: z.ZodOptional<z.ZodString>;
536
536
  externalId: z.ZodOptional<z.ZodString>;
537
- }, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodUnknown>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
537
+ }, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodUnknown>, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
538
538
  SENTRY_ACCESS_TOKEN: z.ZodString;
539
539
  SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
540
540
  SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
@@ -547,7 +547,7 @@ declare const sentryTeamOperations: {
547
547
  organization_slug: z.ZodOptional<z.ZodString>;
548
548
  team_slug: z.ZodString;
549
549
  external_team_id: z.ZodString;
550
- }, z.core.$strip>, z.ZodUnknown, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
550
+ }, z.core.$strip>, z.ZodUnknown, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
551
551
  SENTRY_ACCESS_TOKEN: z.ZodString;
552
552
  SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
553
553
  SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
package/dist/teams.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import { orgScopeInputSchema, orgTeamScopeInputSchema, sentryIdSchema, sentryJsonObjectSchema, sentryListInputSchema, sentryMemberSchema, sentryProjectSummarySchema, sentrySlugSchema, sentryTeamSchema } from "./schemas.mjs";
2
- import { t as defineSentryEndpoint } from "./endpoint-factory-BKyte5gU.mjs";
2
+ import { t as defineSentryEndpoint } from "./endpoint-factory-C0WIFmtK.mjs";
3
3
  import { t as SENTRY_SCOPE } from "./scopes-RRU0vt-a.mjs";
4
4
  import { z } from "zod";
5
5
 
@@ -20,7 +20,7 @@ const ORG_TEAM_MEMBER = [...ORG_TEAM, {
20
20
  placeholder: "{member_id}"
21
21
  }];
22
22
  const listTeamsInOrganization = defineSentryEndpoint({
23
- id: "list_teams_in_organization",
23
+ id: "sentry.list-teams-in-organization",
24
24
  name: "List Teams In Organization",
25
25
  description: "List the teams in an organization with pagination.",
26
26
  method: "GET",
@@ -38,7 +38,7 @@ const listTeamsInOrganization = defineSentryEndpoint({
38
38
  requiredOAuthScopes: [...SENTRY_SCOPE.teamRead]
39
39
  });
40
40
  const listOrganizationUserTeams = defineSentryEndpoint({
41
- id: "list_organization_user_teams",
41
+ id: "sentry.list-organization-user-teams",
42
42
  name: "List Teams For Current User",
43
43
  description: "List the teams the authenticated user belongs to in this organization.",
44
44
  method: "GET",
@@ -49,7 +49,7 @@ const listOrganizationUserTeams = defineSentryEndpoint({
49
49
  requiredOAuthScopes: [...SENTRY_SCOPE.teamRead]
50
50
  });
51
51
  const createOrganizationTeam = defineSentryEndpoint({
52
- id: "create_organization_team",
52
+ id: "sentry.create-organization-team",
53
53
  name: "Create Organization Team",
54
54
  description: "Create a new team inside the organization.",
55
55
  method: "POST",
@@ -70,7 +70,7 @@ const createOrganizationTeam = defineSentryEndpoint({
70
70
  requiredOAuthScopes: [...SENTRY_SCOPE.teamWrite]
71
71
  });
72
72
  const retrieveTeamInfoViaOrganizationIdOrSlug = defineSentryEndpoint({
73
- id: "retrieve_team_info_via_organization_id_or_slug",
73
+ id: "sentry.retrieve-team-info-via-organization-id-or-slug",
74
74
  name: "Retrieve Team Info",
75
75
  description: "Fetch a single team by its slug.",
76
76
  method: "GET",
@@ -81,7 +81,7 @@ const retrieveTeamInfoViaOrganizationIdOrSlug = defineSentryEndpoint({
81
81
  requiredOAuthScopes: [...SENTRY_SCOPE.teamRead]
82
82
  });
83
83
  const updateTeamInformationByOrganizationId = defineSentryEndpoint({
84
- id: "update_team_information_by_organization_id",
84
+ id: "sentry.update-team-information-by-organization-id",
85
85
  name: "Update Team",
86
86
  description: "Update a team’s slug or display name.",
87
87
  method: "PUT",
@@ -97,7 +97,7 @@ const updateTeamInformationByOrganizationId = defineSentryEndpoint({
97
97
  requiredOAuthScopes: [...SENTRY_SCOPE.teamWrite]
98
98
  });
99
99
  const deleteTeamByOrganizationOrTeamSlug = defineSentryEndpoint({
100
- id: "delete_team_by_organization_or_team_slug",
100
+ id: "sentry.delete-team-by-organization-or-team-slug",
101
101
  name: "Delete Team",
102
102
  description: "Delete a team by slug.",
103
103
  method: "DELETE",
@@ -109,7 +109,7 @@ const deleteTeamByOrganizationOrTeamSlug = defineSentryEndpoint({
109
109
  requiredOAuthScopes: [...SENTRY_SCOPE.teamAdmin]
110
110
  });
111
111
  const addTeamMemberInOrganization = defineSentryEndpoint({
112
- id: "add_team_member_in_organization",
112
+ id: "sentry.add-team-member-in-organization",
113
113
  name: "Add Team Member",
114
114
  description: "Add a member to a team.",
115
115
  method: "POST",
@@ -121,7 +121,7 @@ const addTeamMemberInOrganization = defineSentryEndpoint({
121
121
  requiredOAuthScopes: [...SENTRY_SCOPE.teamWrite]
122
122
  });
123
123
  const getTeamMembersByIdOrSlug = defineSentryEndpoint({
124
- id: "get_team_members_by_id_or_slug",
124
+ id: "sentry.get-team-members-by-id-or-slug",
125
125
  name: "Get Team Members",
126
126
  description: "List the members of a team.",
127
127
  method: "GET",
@@ -138,7 +138,7 @@ const getTeamMembersByIdOrSlug = defineSentryEndpoint({
138
138
  requiredOAuthScopes: [...SENTRY_SCOPE.teamRead]
139
139
  });
140
140
  const deleteMemberFromTeam = defineSentryEndpoint({
141
- id: "delete_member_from_team",
141
+ id: "sentry.delete-member-from-team",
142
142
  name: "Remove Member From Team",
143
143
  description: "Remove a member from a team.",
144
144
  method: "DELETE",
@@ -150,7 +150,7 @@ const deleteMemberFromTeam = defineSentryEndpoint({
150
150
  requiredOAuthScopes: [...SENTRY_SCOPE.teamWrite]
151
151
  });
152
152
  const switchTeamRoleForMember = defineSentryEndpoint({
153
- id: "switch_team_role_for_member",
153
+ id: "sentry.switch-team-role-for-member",
154
154
  name: "Switch Member Team Role",
155
155
  description: "Update a member’s role within a team.",
156
156
  method: "PUT",
@@ -166,7 +166,7 @@ const switchTeamRoleForMember = defineSentryEndpoint({
166
166
  requiredOAuthScopes: [...SENTRY_SCOPE.teamWrite]
167
167
  });
168
168
  const retrieveTeamProjects = defineSentryEndpoint({
169
- id: "retrieve_team_projects",
169
+ id: "sentry.retrieve-team-projects",
170
170
  name: "Retrieve Team Projects",
171
171
  description: "List the projects owned by a team.",
172
172
  method: "GET",
@@ -183,7 +183,7 @@ const retrieveTeamProjects = defineSentryEndpoint({
183
183
  requiredOAuthScopes: [...SENTRY_SCOPE.projectRead]
184
184
  });
185
185
  const manageTeamExternalIntegrations = defineSentryEndpoint({
186
- id: "manage_team_external_integrations",
186
+ id: "sentry.manage-team-external-integrations",
187
187
  name: "Manage Team External Integrations",
188
188
  description: "Create an external-team link between a Sentry team and a third-party team (Slack, PagerDuty, etc.).",
189
189
  method: "POST",
@@ -206,7 +206,7 @@ const manageTeamExternalIntegrations = defineSentryEndpoint({
206
206
  requiredOAuthScopes: [...SENTRY_SCOPE.teamWrite]
207
207
  });
208
208
  const updateExternalTeamIntegration = defineSentryEndpoint({
209
- id: "update_external_team_integration",
209
+ id: "sentry.update-external-team-integration",
210
210
  name: "Update External Team Integration",
211
211
  description: "Update an existing external-team link by id.",
212
212
  method: "PUT",
@@ -231,7 +231,7 @@ const updateExternalTeamIntegration = defineSentryEndpoint({
231
231
  requiredOAuthScopes: [...SENTRY_SCOPE.teamWrite]
232
232
  });
233
233
  const deleteExternalTeamById = defineSentryEndpoint({
234
- id: "delete_external_team_by_id",
234
+ id: "sentry.delete-external-team-by-id",
235
235
  name: "Delete External Team",
236
236
  description: "Remove an external-team link by id.",
237
237
  method: "DELETE",
@@ -1,9 +1,65 @@
1
1
  import { createSentryClient } from "./client.mjs";
2
2
  import { SentryDiscoverEventsPollResponse } from "./events.mjs";
3
- import { BoundTrigger } from "@keystrokehq/core";
4
- import { IntegrationTriggerBindingOptions, createPollingTriggerBindingFactory } from "@keystrokehq/integration-authoring";
5
- import { PollingTriggerManifest } from "@keystrokehq/core/trigger";
3
+ import { BoundTrigger, Operation, TriggerBindOptions, TriggerManifest } from "@keystrokehq/core";
4
+ import { z } from "zod";
5
+ import { PollingTriggerManifest, pollingTrigger } from "@keystrokehq/core/trigger";
6
+ import { AnyCredentialSet, InferCredentialSetAuth } from "@keystrokehq/core/credential-set";
6
7
 
8
+ //#region ../../packages/integration-authoring/dist/index.d.mts
9
+ //#endregion
10
+ //#region src/triggers/types.d.ts
11
+ interface IntegrationTriggerMetadata {
12
+ readonly id?: string;
13
+ readonly description?: string;
14
+ }
15
+ interface IntegrationTriggerBindingOptions<TPayload, TOutput = TPayload, TRequest = undefined> extends IntegrationTriggerMetadata {
16
+ readonly transform?: TriggerBindOptions<TPayload, TOutput, TRequest>['transform'];
17
+ }
18
+ type IntegrationTriggerBindingFactory<TAuthorPayload, TCredentialSets extends readonly AnyCredentialSet[] | undefined, TManifest extends TriggerManifest = TriggerManifest, TRuntimePayload = TAuthorPayload, TRequest = undefined> = <TOutput = TAuthorPayload>(options?: IntegrationTriggerBindingOptions<TAuthorPayload, TOutput, TRequest>) => BoundTrigger<TRuntimePayload, TCredentialSets, TManifest, TOutput, TRequest>; //#endregion
19
+ //#region src/triggers/shared.d.ts
20
+ type MappedPayloadFn<TPayload, TMappedPayload> = (payload: TPayload) => TMappedPayload | null; //#endregion
21
+ //#region src/triggers/polling.d.ts
22
+ type PollingPrimitiveConfig<TResponseSchema extends z.ZodTypeAny, TCredentialSets extends readonly AnyCredentialSet[] = readonly []> = Parameters<typeof pollingTrigger<TResponseSchema, TCredentialSets>>[0];
23
+ /**
24
+ * Authoring config for an integration polling trigger binding.
25
+ *
26
+ * Notes about the new core surface:
27
+ * - Polling no longer supports any form of `idempotencyKey` (only webhook does).
28
+ * - `filter` must be a pure Zod schema (no `.refine`, `.transform`, etc.).
29
+ * - `mapPayload` curates the validated polling response into the friendlier
30
+ * shape surfaced to authors. It is applied as a default `transform` at bind
31
+ * time; authors can still pass their own `transform` to override or compose.
32
+ */
33
+ interface IntegrationPollingTriggerBindingConfig<TResponseSchema extends z.ZodTypeAny, TEvent = z.output<TResponseSchema>, TCredentialSets extends readonly AnyCredentialSet[] = readonly []> {
34
+ readonly defaultId: string;
35
+ readonly defaultDescription: string;
36
+ readonly schedule: PollingPrimitiveConfig<TResponseSchema, TCredentialSets>['schedule'];
37
+ readonly response: TResponseSchema;
38
+ readonly poll: PollingPrimitiveConfig<TResponseSchema, TCredentialSets>['poll'];
39
+ readonly credentialSets?: TCredentialSets;
40
+ readonly filter?: z.ZodTypeAny;
41
+ readonly mapPayload?: MappedPayloadFn<z.output<TResponseSchema>, TEvent>;
42
+ }
43
+ declare function createPollingTriggerBindingFactory<TResponseSchema extends z.ZodTypeAny, TEvent = z.output<TResponseSchema>, TCredentialSets extends readonly AnyCredentialSet[] = readonly []>(config: IntegrationPollingTriggerBindingConfig<TResponseSchema, TEvent, TCredentialSets>): IntegrationTriggerBindingFactory<TEvent, TCredentialSets, PollingTriggerManifest, z.output<TResponseSchema>>; //#endregion
44
+ //#region src/triggers/webhook.d.ts
45
+ /**
46
+ * Authoring config for an integration webhook trigger binding.
47
+ *
48
+ * Notes about the new core surface:
49
+ * - The platform owns the HTTP surface for `source: { type: 'custom' }` webhooks
50
+ * and authenticates with a Keystroke-issued secret. There is no `path`,
51
+ * `method`, `verify`, or `response` here anymore.
52
+ * - `filter` must be a pure Zod schema (no `.refine`, `.transform`, etc.).
53
+ * Use it to narrow the raw payload to the events this binding is interested
54
+ * in. Filtering happens server-side before any VM hop.
55
+ * - `idempotencyKey` is declarative (`IdempotencyKeyConfig`) — point it at a
56
+ * payload path or a header. Function-style idempotency is no longer
57
+ * supported.
58
+ * - `mapPayload` curates the validated raw payload into the friendlier shape
59
+ * surfaced to authors. It is applied as a default `transform` at bind time;
60
+ * authors can still pass their own `transform` to override or compose.
61
+ */
62
+ //#endregion
7
63
  //#region src/triggers.d.ts
8
64
  type Schedule = Parameters<typeof createPollingTriggerBindingFactory>[0]['schedule'];
9
65
  interface DiscoverEventsPollParams {
package/dist/triggers.mjs CHANGED
@@ -1,7 +1,57 @@
1
1
  import { createSentryClient } from "./client.mjs";
2
2
  import { sentryDiscoverEventsPollResponseSchema } from "./events.mjs";
3
- import { createPollingTriggerBindingFactory } from "@keystrokehq/integration-authoring";
3
+ import { Operation } from "@keystrokehq/core";
4
+ import { z } from "zod";
5
+ import { pollingTrigger } from "@keystrokehq/core/trigger";
4
6
 
7
+ //#region ../../packages/integration-authoring/dist/index.mjs
8
+ const IntegrationConfigSchema = z.object({
9
+ id: z.string().min(1),
10
+ name: z.string().min(1),
11
+ description: z.string().optional()
12
+ });
13
+ function resolveMetadata(metadata, defaults) {
14
+ return {
15
+ id: metadata?.id ?? defaults.defaultId,
16
+ description: metadata?.description ?? defaults.defaultDescription
17
+ };
18
+ }
19
+ function resolveAuthorPayload(payload, mapPayload) {
20
+ if (!mapPayload) return payload;
21
+ return mapPayload(payload);
22
+ }
23
+ function createIntegrationTriggerBindingFactory(config) {
24
+ const bind = (options) => {
25
+ const resolvedMetadata = resolveMetadata(options, config);
26
+ const baseTrigger = config.createBaseTrigger(resolvedMetadata);
27
+ const userTransform = options?.transform;
28
+ return baseTrigger({ transform: userTransform || config.mapPayload ? (runtimePayload, request) => {
29
+ const authorPayload = resolveAuthorPayload(runtimePayload, config.mapPayload);
30
+ if (authorPayload === null) throw new Error(`Trigger "${resolvedMetadata.id}" mapPayload returned null after the trigger filter passed; tighten the trigger filter schema.`);
31
+ if (!userTransform) return authorPayload;
32
+ return userTransform(authorPayload, request);
33
+ } : void 0 });
34
+ };
35
+ return Object.freeze(bind);
36
+ }
37
+ function createPollingTriggerBindingFactory(config) {
38
+ return createIntegrationTriggerBindingFactory({
39
+ defaultId: config.defaultId,
40
+ defaultDescription: config.defaultDescription,
41
+ mapPayload: config.mapPayload,
42
+ createBaseTrigger: (metadata) => pollingTrigger({
43
+ id: metadata.id,
44
+ description: metadata.description,
45
+ schedule: config.schedule,
46
+ response: config.response,
47
+ poll: config.poll,
48
+ ...config.credentialSets ? { credentialSets: config.credentialSets } : {},
49
+ ...config.filter ? { filter: config.filter } : {}
50
+ })
51
+ });
52
+ }
53
+
54
+ //#endregion
5
55
  //#region src/triggers.ts
6
56
  function withDefaultSchedule(schedule) {
7
57
  if (schedule === void 0) return "5m";
@@ -7,7 +7,7 @@ declare const retrieveUserEmailInformation: _keystrokehq_core0.Operation<z.ZodOb
7
7
  email: z.ZodString;
8
8
  isPrimary: z.ZodOptional<z.ZodBoolean>;
9
9
  isVerified: z.ZodOptional<z.ZodBoolean>;
10
- }, z.core.$loose>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
10
+ }, z.core.$loose>>, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
11
11
  SENTRY_ACCESS_TOKEN: z.ZodString;
12
12
  SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
13
13
  SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
@@ -22,7 +22,7 @@ declare const addRemoveUserEmailById: _keystrokehq_core0.Operation<z.ZodObject<{
22
22
  email: z.ZodString;
23
23
  isPrimary: z.ZodOptional<z.ZodBoolean>;
24
24
  isVerified: z.ZodOptional<z.ZodBoolean>;
25
- }, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
25
+ }, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
26
26
  SENTRY_ACCESS_TOKEN: z.ZodString;
27
27
  SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
28
28
  SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
@@ -37,7 +37,7 @@ declare const updateUserEmail: _keystrokehq_core0.Operation<z.ZodObject<{
37
37
  email: z.ZodString;
38
38
  isPrimary: z.ZodOptional<z.ZodBoolean>;
39
39
  isVerified: z.ZodOptional<z.ZodBoolean>;
40
- }, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
40
+ }, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
41
41
  SENTRY_ACCESS_TOKEN: z.ZodString;
42
42
  SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
43
43
  SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
@@ -48,7 +48,7 @@ declare const updateUserEmail: _keystrokehq_core0.Operation<z.ZodObject<{
48
48
  }, z.core.$strip>>[] | undefined>], undefined>;
49
49
  declare const deleteUserEmailsById: _keystrokehq_core0.Operation<z.ZodObject<{
50
50
  email: z.ZodString;
51
- }, z.core.$strip>, z.ZodUnknown, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
51
+ }, z.core.$strip>, z.ZodUnknown, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
52
52
  SENTRY_ACCESS_TOKEN: z.ZodString;
53
53
  SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
54
54
  SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
@@ -62,7 +62,7 @@ declare const sentryUserEmailOperations: {
62
62
  email: z.ZodString;
63
63
  isPrimary: z.ZodOptional<z.ZodBoolean>;
64
64
  isVerified: z.ZodOptional<z.ZodBoolean>;
65
- }, z.core.$loose>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
65
+ }, z.core.$loose>>, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
66
66
  SENTRY_ACCESS_TOKEN: z.ZodString;
67
67
  SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
68
68
  SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
@@ -77,7 +77,7 @@ declare const sentryUserEmailOperations: {
77
77
  email: z.ZodString;
78
78
  isPrimary: z.ZodOptional<z.ZodBoolean>;
79
79
  isVerified: z.ZodOptional<z.ZodBoolean>;
80
- }, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
80
+ }, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
81
81
  SENTRY_ACCESS_TOKEN: z.ZodString;
82
82
  SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
83
83
  SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
@@ -92,7 +92,7 @@ declare const sentryUserEmailOperations: {
92
92
  email: z.ZodString;
93
93
  isPrimary: z.ZodOptional<z.ZodBoolean>;
94
94
  isVerified: z.ZodOptional<z.ZodBoolean>;
95
- }, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
95
+ }, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
96
96
  SENTRY_ACCESS_TOKEN: z.ZodString;
97
97
  SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
98
98
  SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
@@ -103,7 +103,7 @@ declare const sentryUserEmailOperations: {
103
103
  }, z.core.$strip>>[] | undefined>], undefined>;
104
104
  readonly deleteUserEmailsById: _keystrokehq_core0.Operation<z.ZodObject<{
105
105
  email: z.ZodString;
106
- }, z.core.$strip>, z.ZodUnknown, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
106
+ }, z.core.$strip>, z.ZodUnknown, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
107
107
  SENTRY_ACCESS_TOKEN: z.ZodString;
108
108
  SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
109
109
  SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
@@ -1,5 +1,5 @@
1
1
  import { sentryUserEmailSchema } from "./schemas.mjs";
2
- import { t as defineSentryEndpoint } from "./endpoint-factory-BKyte5gU.mjs";
2
+ import { t as defineSentryEndpoint } from "./endpoint-factory-C0WIFmtK.mjs";
3
3
  import { z } from "zod";
4
4
 
5
5
  //#region src/user-emails.ts
@@ -8,7 +8,7 @@ import { z } from "zod";
8
8
  * Maps to PLAN.md §6.21 (4 actions).
9
9
  */
10
10
  const retrieveUserEmailInformation = defineSentryEndpoint({
11
- id: "retrieve_user_email_information",
11
+ id: "sentry.retrieve-user-email-information",
12
12
  name: "Retrieve User Emails",
13
13
  description: "List the emails on the authenticated Sentry account.",
14
14
  method: "GET",
@@ -17,7 +17,7 @@ const retrieveUserEmailInformation = defineSentryEndpoint({
17
17
  output: z.array(sentryUserEmailSchema)
18
18
  });
19
19
  const addRemoveUserEmailById = defineSentryEndpoint({
20
- id: "add_remove_user_email_by_id",
20
+ id: "sentry.add-remove-user-email-by-id",
21
21
  name: "Add User Email",
22
22
  description: "Add a new email to the authenticated Sentry account.",
23
23
  method: "POST",
@@ -28,7 +28,7 @@ const addRemoveUserEmailById = defineSentryEndpoint({
28
28
  needsApproval: true
29
29
  });
30
30
  const updateUserEmail = defineSentryEndpoint({
31
- id: "update_user_email",
31
+ id: "sentry.update-user-email",
32
32
  name: "Set Primary Email",
33
33
  description: "Mark an email as the primary address on the authenticated account.",
34
34
  method: "PUT",
@@ -39,7 +39,7 @@ const updateUserEmail = defineSentryEndpoint({
39
39
  needsApproval: true
40
40
  });
41
41
  const deleteUserEmailsById = defineSentryEndpoint({
42
- id: "delete_user_emails_by_id",
42
+ id: "sentry.delete-user-emails-by-id",
43
43
  name: "Delete User Email",
44
44
  description: "Remove an email from the authenticated Sentry account.",
45
45
  method: "DELETE",