@keystrokehq/sentry 0.0.10 → 0.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_official/index.d.mts +1 -1
- package/dist/_official/index.mjs +1 -1
- package/dist/_runtime/index.mjs +1 -1
- package/dist/alerts.mjs +12 -12
- package/dist/connection.mjs +1 -1
- package/dist/dashboards.mjs +6 -6
- package/dist/debug-files.mjs +4 -4
- package/dist/deploys.mjs +3 -3
- package/dist/discover.mjs +6 -6
- package/dist/{endpoint-factory-BKyte5gU.mjs → endpoint-factory-Cizk4imV.mjs} +1 -1
- package/dist/environments.d.mts +2 -2
- package/dist/environments.mjs +4 -4
- package/dist/events-api.mjs +8 -8
- package/dist/feedback.mjs +3 -3
- package/dist/{integration-DQ-PSbHu.mjs → integration-Q9y2TMhZ.mjs} +1 -1
- package/dist/issues.d.mts +2 -2
- package/dist/issues.mjs +14 -14
- package/dist/members.mjs +8 -8
- package/dist/monitors.d.mts +36 -36
- package/dist/monitors.mjs +11 -11
- package/dist/notifications.mjs +6 -6
- package/dist/organizations.d.mts +2 -2
- package/dist/organizations.mjs +16 -16
- package/dist/project-keys.mjs +6 -6
- package/dist/projects.mjs +20 -20
- package/dist/releases.mjs +22 -22
- package/dist/replays.mjs +10 -10
- package/dist/schemas.d.mts +6 -6
- package/dist/scim.mjs +12 -12
- package/dist/teams.mjs +15 -15
- package/dist/user-emails.mjs +5 -5
- package/dist/webhooks.mjs +6 -6
- package/package.json +4 -4
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-
|
|
2
|
+
import { t as defineSentryEndpoint } from "./endpoint-factory-Cizk4imV.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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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",
|
package/dist/user-emails.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { sentryUserEmailSchema } from "./schemas.mjs";
|
|
2
|
-
import { t as defineSentryEndpoint } from "./endpoint-factory-
|
|
2
|
+
import { t as defineSentryEndpoint } from "./endpoint-factory-Cizk4imV.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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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",
|
package/dist/webhooks.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { orgProjectScopeInputSchema, sentryIdSchema, sentryListInputSchema, sentryProjectHookSchema } from "./schemas.mjs";
|
|
2
|
-
import { t as defineSentryEndpoint } from "./endpoint-factory-
|
|
2
|
+
import { t as defineSentryEndpoint } from "./endpoint-factory-Cizk4imV.mjs";
|
|
3
3
|
import { t as SENTRY_SCOPE } from "./scopes-RRU0vt-a.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
@@ -19,7 +19,7 @@ const ORG_PROJECT_HOOK = [...ORG_PROJECT, {
|
|
|
19
19
|
placeholder: "{hook_id}"
|
|
20
20
|
}];
|
|
21
21
|
const createProjectWebhookSubscription = defineSentryEndpoint({
|
|
22
|
-
id: "
|
|
22
|
+
id: "sentry.create-project-webhook-subscription",
|
|
23
23
|
name: "Create Project Service Hook",
|
|
24
24
|
description: "Create a legacy per-project service hook. Prefer an integration webhook for new installs.",
|
|
25
25
|
method: "POST",
|
|
@@ -35,7 +35,7 @@ const createProjectWebhookSubscription = defineSentryEndpoint({
|
|
|
35
35
|
requiredOAuthScopes: [...SENTRY_SCOPE.projectAdmin]
|
|
36
36
|
});
|
|
37
37
|
const retrieveProjectHooks = defineSentryEndpoint({
|
|
38
|
-
id: "
|
|
38
|
+
id: "sentry.retrieve-project-hooks",
|
|
39
39
|
name: "List Project Service Hooks",
|
|
40
40
|
description: "List the service hooks configured on a project.",
|
|
41
41
|
method: "GET",
|
|
@@ -52,7 +52,7 @@ const retrieveProjectHooks = defineSentryEndpoint({
|
|
|
52
52
|
requiredOAuthScopes: [...SENTRY_SCOPE.projectRead]
|
|
53
53
|
});
|
|
54
54
|
const getProjectHook = defineSentryEndpoint({
|
|
55
|
-
id: "
|
|
55
|
+
id: "sentry.get-project-hook",
|
|
56
56
|
name: "Get Project Service Hook",
|
|
57
57
|
description: "Fetch a project service hook by id.",
|
|
58
58
|
method: "GET",
|
|
@@ -63,7 +63,7 @@ const getProjectHook = defineSentryEndpoint({
|
|
|
63
63
|
requiredOAuthScopes: [...SENTRY_SCOPE.projectRead]
|
|
64
64
|
});
|
|
65
65
|
const updateWebhookConfiguration = defineSentryEndpoint({
|
|
66
|
-
id: "
|
|
66
|
+
id: "sentry.update-webhook-configuration-xp",
|
|
67
67
|
name: "Update Project Service Hook",
|
|
68
68
|
description: "Update a project service hook in place.",
|
|
69
69
|
method: "PUT",
|
|
@@ -85,7 +85,7 @@ const updateWebhookConfiguration = defineSentryEndpoint({
|
|
|
85
85
|
requiredOAuthScopes: [...SENTRY_SCOPE.projectAdmin]
|
|
86
86
|
});
|
|
87
87
|
const deleteProjectHook = defineSentryEndpoint({
|
|
88
|
-
id: "
|
|
88
|
+
id: "sentry.delete-project-hook",
|
|
89
89
|
name: "Delete Project Service Hook",
|
|
90
90
|
description: "Delete a project service hook by id.",
|
|
91
91
|
method: "DELETE",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keystrokehq/sentry",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.11",
|
|
4
4
|
"private": false,
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"type": "module",
|
|
@@ -137,7 +137,7 @@
|
|
|
137
137
|
],
|
|
138
138
|
"dependencies": {
|
|
139
139
|
"@keystrokehq/credential-connection": "^1.0.0",
|
|
140
|
-
"@keystrokehq/integration-authoring": "^0.0.
|
|
140
|
+
"@keystrokehq/integration-authoring": "^0.0.8",
|
|
141
141
|
"zod": "^4.3.6"
|
|
142
142
|
},
|
|
143
143
|
"peerDependencies": {
|
|
@@ -149,8 +149,8 @@
|
|
|
149
149
|
"typescript": "^5.9.3",
|
|
150
150
|
"vitest": "^4.0.18",
|
|
151
151
|
"@keystrokehq/core": "^0.0.8",
|
|
152
|
-
"@keystrokehq/
|
|
153
|
-
"@keystrokehq/
|
|
152
|
+
"@keystrokehq/test-utils": "0.0.0",
|
|
153
|
+
"@keystrokehq/typescript-config": "0.0.0"
|
|
154
154
|
},
|
|
155
155
|
"keywords": [
|
|
156
156
|
"sentry",
|