@keystrokehq/sentry 0.0.15 → 0.0.16-integration-id-canonicalization.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 (80) hide show
  1. package/README.md +40 -187
  2. package/dist/credential-sets/index.d.mts +2 -0
  3. package/dist/credential-sets/index.mjs +4 -0
  4. package/dist/index.d.mts +4 -1
  5. package/dist/index.mjs +6 -1
  6. package/dist/operations/index.d.mts +2 -0
  7. package/dist/operations/index.mjs +3 -0
  8. package/dist/{schemas.d.mts → schemas/index.d.mts} +3 -3
  9. package/dist/schemas/index.mjs +3 -0
  10. package/dist/{schemas.mjs → sentry-api-DjJ24hwX.mjs} +2 -2
  11. package/dist/sentry-app.credential-set-4DLRUKF9.d.mts +59 -0
  12. package/dist/sentry-app.credential-set-Cdj6Qxiz.mjs +23 -0
  13. package/dist/sentry.credential-set-2b3TPFqv.mjs +696 -0
  14. package/dist/view-organization-notification-actions.operation-BI2aB_Mj.mjs +4548 -0
  15. package/dist/view-organization-notification-actions.operation-C7pc8cl_.d.mts +6840 -0
  16. package/package.json +14 -121
  17. package/dist/_official/index.d.mts +0 -41
  18. package/dist/_official/index.mjs +0 -3
  19. package/dist/_runtime/index.d.mts +0 -2
  20. package/dist/_runtime/index.mjs +0 -3
  21. package/dist/alerts.d.mts +0 -462
  22. package/dist/alerts.mjs +0 -300
  23. package/dist/client.d.mts +0 -86
  24. package/dist/client.mjs +0 -233
  25. package/dist/connection.d.mts +0 -3
  26. package/dist/connection.mjs +0 -3
  27. package/dist/dashboards.d.mts +0 -162
  28. package/dist/dashboards.mjs +0 -122
  29. package/dist/debug-files.d.mts +0 -102
  30. package/dist/debug-files.mjs +0 -73
  31. package/dist/deploys.d.mts +0 -86
  32. package/dist/deploys.mjs +0 -67
  33. package/dist/discover.d.mts +0 -194
  34. package/dist/discover.mjs +0 -138
  35. package/dist/endpoint-factory-DcT49a8O.mjs +0 -96
  36. package/dist/environments.d.mts +0 -96
  37. package/dist/environments.mjs +0 -71
  38. package/dist/errors-DfEFwcTe.mjs +0 -142
  39. package/dist/events-api.d.mts +0 -254
  40. package/dist/events-api.mjs +0 -184
  41. package/dist/events.d.mts +0 -754
  42. package/dist/events.mjs +0 -142
  43. package/dist/feedback.d.mts +0 -82
  44. package/dist/feedback.mjs +0 -63
  45. package/dist/integration-D7KCM1-p.mjs +0 -75
  46. package/dist/integration-veqa_7yB.d.mts +0 -33
  47. package/dist/issues.d.mts +0 -458
  48. package/dist/issues.mjs +0 -324
  49. package/dist/members.d.mts +0 -308
  50. package/dist/members.mjs +0 -156
  51. package/dist/messaging.d.mts +0 -1
  52. package/dist/messaging.mjs +0 -1
  53. package/dist/monitors.d.mts +0 -458
  54. package/dist/monitors.mjs +0 -234
  55. package/dist/notifications.d.mts +0 -180
  56. package/dist/notifications.mjs +0 -133
  57. package/dist/organizations.d.mts +0 -442
  58. package/dist/organizations.mjs +0 -334
  59. package/dist/pagination-PlgAqbZt.mjs +0 -116
  60. package/dist/project-keys.d.mts +0 -246
  61. package/dist/project-keys.mjs +0 -122
  62. package/dist/projects.d.mts +0 -534
  63. package/dist/projects.mjs +0 -378
  64. package/dist/releases.d.mts +0 -780
  65. package/dist/releases.mjs +0 -479
  66. package/dist/replays.d.mts +0 -234
  67. package/dist/replays.mjs +0 -192
  68. package/dist/scim.d.mts +0 -324
  69. package/dist/scim.mjs +0 -249
  70. package/dist/scopes-RRU0vt-a.mjs +0 -36
  71. package/dist/teams.d.mts +0 -448
  72. package/dist/teams.mjs +0 -266
  73. package/dist/triggers.d.mts +0 -41
  74. package/dist/triggers.mjs +0 -56
  75. package/dist/user-emails.d.mts +0 -84
  76. package/dist/user-emails.mjs +0 -60
  77. package/dist/verification.d.mts +0 -30
  78. package/dist/verification.mjs +0 -83
  79. package/dist/webhooks.d.mts +0 -158
  80. package/dist/webhooks.mjs +0 -108
package/dist/issues.mjs DELETED
@@ -1,324 +0,0 @@
1
- import { orgIssueScopeInputSchema, orgProjectScopeInputSchema, orgScopeInputSchema, sentryIdSchema, sentryIssueSchema, sentryIssueStatusSchema, sentryJsonArraySchema, sentryJsonObjectSchema, sentryListInputSchema } from "./schemas.mjs";
2
- import { t as defineSentryEndpoint } from "./endpoint-factory-DcT49a8O.mjs";
3
- import { t as SENTRY_SCOPE } from "./scopes-RRU0vt-a.mjs";
4
- import { z } from "zod";
5
-
6
- //#region src/issues.ts
7
- /**
8
- * Sentry issue operations. Maps to PLAN.md §6.6 (13 actions).
9
- */
10
- const ORG = [{
11
- name: "organization_slug",
12
- placeholder: "{organization_slug}"
13
- }];
14
- const ORG_PROJECT = [...ORG, {
15
- name: "project_slug",
16
- placeholder: "{project_slug}"
17
- }];
18
- const ORG_ISSUE = [...ORG, {
19
- name: "issue_id",
20
- placeholder: "{issue_id}"
21
- }];
22
- const retrieveProjectIssuesList = defineSentryEndpoint({
23
- id: "sentry.retrieve-project-issues-list",
24
- name: "List Project Issues",
25
- description: "List issues for a project.",
26
- method: "GET",
27
- path: "/api/0/projects/{organization_slug}/{project_slug}/issues/",
28
- pathParams: ORG_PROJECT,
29
- input: sentryListInputSchema.merge(orgProjectScopeInputSchema).extend({
30
- statsPeriod: z.string().optional(),
31
- query: z.string().optional(),
32
- environment: z.array(z.string()).optional(),
33
- sort: z.enum([
34
- "date",
35
- "new",
36
- "priority",
37
- "freq",
38
- "user",
39
- "trends"
40
- ]).optional(),
41
- limit: z.number().int().optional()
42
- }),
43
- queryFields: [
44
- "cursor",
45
- "per_page",
46
- "query",
47
- "statsPeriod",
48
- "environment",
49
- "sort",
50
- "limit"
51
- ],
52
- output: z.array(sentryIssueSchema),
53
- pagination: "cursor",
54
- requiredOAuthScopes: [...SENTRY_SCOPE.eventRead]
55
- });
56
- const getOrganizationIssueDetails = defineSentryEndpoint({
57
- id: "sentry.get-organization-issue-details",
58
- name: "Get Issue Details",
59
- description: "Fetch a single issue by id.",
60
- method: "GET",
61
- path: "/api/0/organizations/{organization_slug}/issues/{issue_id}/",
62
- pathParams: ORG_ISSUE,
63
- input: orgIssueScopeInputSchema,
64
- output: sentryIssueSchema,
65
- requiredOAuthScopes: [...SENTRY_SCOPE.eventRead]
66
- });
67
- const updateIssueAttributesInOrganization = defineSentryEndpoint({
68
- id: "sentry.update-issue-attributes-in-organization",
69
- name: "Update Issue Attributes (Org Scope)",
70
- description: "Update issue status, assignee, or tags on one or more issues identified by id list.",
71
- method: "PUT",
72
- path: "/api/0/organizations/{organization_slug}/issues/",
73
- pathParams: ORG,
74
- input: orgScopeInputSchema.extend({
75
- id: z.array(sentryIdSchema).optional(),
76
- status: sentryIssueStatusSchema.optional(),
77
- statusDetails: sentryJsonObjectSchema.optional(),
78
- assignedTo: z.string().nullable().optional(),
79
- hasSeen: z.boolean().optional(),
80
- isBookmarked: z.boolean().optional(),
81
- isPublic: z.boolean().optional(),
82
- merge: z.boolean().optional(),
83
- discard: z.boolean().optional(),
84
- ignoreDuration: z.number().int().optional(),
85
- ignoreCount: z.number().int().optional(),
86
- ignoreUserCount: z.number().int().optional(),
87
- ignoreWindow: z.number().int().optional(),
88
- ignoreUserWindow: z.number().int().optional()
89
- }),
90
- queryFields: ["id"],
91
- bodyFields: [
92
- "status",
93
- "statusDetails",
94
- "assignedTo",
95
- "hasSeen",
96
- "isBookmarked",
97
- "isPublic",
98
- "merge",
99
- "discard",
100
- "ignoreDuration",
101
- "ignoreCount",
102
- "ignoreUserCount",
103
- "ignoreWindow",
104
- "ignoreUserWindow"
105
- ],
106
- output: sentryJsonObjectSchema,
107
- needsApproval: true,
108
- requiredOAuthScopes: [...SENTRY_SCOPE.eventAdmin]
109
- });
110
- const updateProjectIssueStatusAndDetails = defineSentryEndpoint({
111
- id: "sentry.update-project-issue-status-and-details",
112
- name: "Update Issues (Project Scope)",
113
- description: "Bulk-update issues in a single project by id set or query.",
114
- method: "PUT",
115
- path: "/api/0/projects/{organization_slug}/{project_slug}/issues/",
116
- pathParams: ORG_PROJECT,
117
- input: orgProjectScopeInputSchema.extend({
118
- id: z.array(sentryIdSchema).optional(),
119
- status: sentryIssueStatusSchema.optional(),
120
- statusDetails: sentryJsonObjectSchema.optional(),
121
- assignedTo: z.string().nullable().optional(),
122
- hasSeen: z.boolean().optional(),
123
- isBookmarked: z.boolean().optional(),
124
- isPublic: z.boolean().optional(),
125
- merge: z.boolean().optional(),
126
- discard: z.boolean().optional(),
127
- ignoreDuration: z.number().int().optional()
128
- }),
129
- queryFields: ["id"],
130
- bodyFields: [
131
- "status",
132
- "statusDetails",
133
- "assignedTo",
134
- "hasSeen",
135
- "isBookmarked",
136
- "isPublic",
137
- "merge",
138
- "discard",
139
- "ignoreDuration"
140
- ],
141
- output: sentryJsonObjectSchema,
142
- needsApproval: true,
143
- requiredOAuthScopes: [...SENTRY_SCOPE.eventAdmin]
144
- });
145
- const deleteOrganizationIssue = defineSentryEndpoint({
146
- id: "sentry.delete-organization-issue",
147
- name: "Delete Issue (Org Scope)",
148
- description: "Delete an issue by id.",
149
- method: "DELETE",
150
- path: "/api/0/organizations/{organization_slug}/issues/{issue_id}/",
151
- pathParams: ORG_ISSUE,
152
- input: orgIssueScopeInputSchema,
153
- output: z.unknown(),
154
- needsApproval: true,
155
- requiredOAuthScopes: [...SENTRY_SCOPE.eventAdmin]
156
- });
157
- const deleteProjectIssues = defineSentryEndpoint({
158
- id: "sentry.delete-project-issues",
159
- name: "Delete Project Issues",
160
- description: "Bulk-delete issues on a project by id list or query.",
161
- method: "DELETE",
162
- path: "/api/0/projects/{organization_slug}/{project_slug}/issues/",
163
- pathParams: ORG_PROJECT,
164
- input: orgProjectScopeInputSchema.extend({
165
- id: z.array(sentryIdSchema).optional(),
166
- query: z.string().optional()
167
- }),
168
- queryFields: ["id", "query"],
169
- output: z.unknown(),
170
- needsApproval: true,
171
- requiredOAuthScopes: [...SENTRY_SCOPE.eventAdmin]
172
- });
173
- const retrieveIssueEventsById = defineSentryEndpoint({
174
- id: "sentry.retrieve-issue-events-by-id",
175
- name: "Retrieve Issue Events",
176
- description: "List events that have rolled up into an issue.",
177
- method: "GET",
178
- path: "/api/0/organizations/{organization_slug}/issues/{issue_id}/events/",
179
- pathParams: ORG_ISSUE,
180
- input: sentryListInputSchema.merge(orgIssueScopeInputSchema).extend({
181
- statsPeriod: z.string().optional(),
182
- environment: z.array(z.string()).optional(),
183
- full: z.boolean().optional()
184
- }),
185
- queryFields: [
186
- "cursor",
187
- "per_page",
188
- "query",
189
- "statsPeriod",
190
- "environment",
191
- "full"
192
- ],
193
- output: sentryJsonArraySchema,
194
- pagination: "cursor",
195
- requiredOAuthScopes: [...SENTRY_SCOPE.eventRead]
196
- });
197
- const retrieveIssueHashesForOrganization = defineSentryEndpoint({
198
- id: "sentry.retrieve-issue-hashes-for-organization",
199
- name: "Retrieve Issue Hashes",
200
- description: "List the grouping-hash keys associated with an issue.",
201
- method: "GET",
202
- path: "/api/0/organizations/{organization_slug}/issues/{issue_id}/hashes/",
203
- pathParams: ORG_ISSUE,
204
- input: orgIssueScopeInputSchema,
205
- output: sentryJsonArraySchema,
206
- requiredOAuthScopes: [...SENTRY_SCOPE.eventRead]
207
- });
208
- const retrieveIssueTagDetails = defineSentryEndpoint({
209
- id: "sentry.retrieve-issue-tag-details",
210
- name: "Retrieve Issue Tag Details",
211
- description: "Return tag key metadata for one issue.",
212
- method: "GET",
213
- path: "/api/0/organizations/{organization_slug}/issues/{issue_id}/tags/{key}/",
214
- pathParams: [...ORG_ISSUE, {
215
- name: "key",
216
- placeholder: "{key}"
217
- }],
218
- input: orgIssueScopeInputSchema.extend({ key: z.string().min(1) }),
219
- output: sentryJsonObjectSchema,
220
- requiredOAuthScopes: [...SENTRY_SCOPE.eventRead]
221
- });
222
- const fetchTagValuesForIssue = defineSentryEndpoint({
223
- id: "sentry.fetch-tag-values-for-issue",
224
- name: "Fetch Tag Values For Issue",
225
- description: "List the distinct values for a tag key within one issue.",
226
- method: "GET",
227
- path: "/api/0/organizations/{organization_slug}/issues/{issue_id}/tags/{key}/values/",
228
- pathParams: [...ORG_ISSUE, {
229
- name: "key",
230
- placeholder: "{key}"
231
- }],
232
- input: sentryListInputSchema.merge(orgIssueScopeInputSchema).extend({
233
- key: z.string().min(1),
234
- query: z.string().optional()
235
- }),
236
- queryFields: [
237
- "cursor",
238
- "per_page",
239
- "query"
240
- ],
241
- output: sentryJsonArraySchema,
242
- pagination: "cursor",
243
- requiredOAuthScopes: [...SENTRY_SCOPE.eventRead]
244
- });
245
- const createSentryExternalIssueLink = defineSentryEndpoint({
246
- id: "sentry.create-sentry-external-issue-link",
247
- name: "Create External Issue Link",
248
- description: "Link a Sentry issue to an external tracking record (Linear, Jira, etc.) by uuid.",
249
- method: "POST",
250
- path: "/api/0/sentry-app-installations/{install_uuid}/external-issues/",
251
- pathParams: [{
252
- name: "install_uuid",
253
- placeholder: "{install_uuid}"
254
- }],
255
- input: z.object({
256
- install_uuid: sentryIdSchema,
257
- issueId: sentryIdSchema,
258
- webUrl: z.string().url(),
259
- project: z.string().optional(),
260
- identifier: z.string().optional()
261
- }),
262
- bodyFields: [
263
- "issueId",
264
- "webUrl",
265
- "project",
266
- "identifier"
267
- ],
268
- output: sentryJsonObjectSchema,
269
- needsApproval: true,
270
- requiredOAuthScopes: [...SENTRY_SCOPE.eventAdmin]
271
- });
272
- const deleteExternalIssueByUuid = defineSentryEndpoint({
273
- id: "sentry.delete-external-issue-by-uuid",
274
- name: "Delete External Issue",
275
- description: "Unlink an external issue record from a Sentry issue by uuid.",
276
- method: "DELETE",
277
- path: "/api/0/sentry-app-installations/{install_uuid}/external-issues/{external_issue_id}/",
278
- pathParams: [{
279
- name: "install_uuid",
280
- placeholder: "{install_uuid}"
281
- }, {
282
- name: "external_issue_id",
283
- placeholder: "{external_issue_id}"
284
- }],
285
- input: z.object({
286
- install_uuid: sentryIdSchema,
287
- external_issue_id: sentryIdSchema
288
- }),
289
- output: z.unknown(),
290
- needsApproval: true,
291
- requiredOAuthScopes: [...SENTRY_SCOPE.eventAdmin]
292
- });
293
- const retrieveShortIdForOrganization = defineSentryEndpoint({
294
- id: "sentry.retrieve-short-id-for-organization",
295
- name: "Resolve Short ID",
296
- description: "Resolve a Sentry short id (e.g. `PROJ-123`) to its issue details.",
297
- method: "GET",
298
- path: "/api/0/organizations/{organization_slug}/shortids/{short_id}/",
299
- pathParams: [...ORG, {
300
- name: "short_id",
301
- placeholder: "{short_id}"
302
- }],
303
- input: orgScopeInputSchema.extend({ short_id: z.string().min(1) }),
304
- output: sentryJsonObjectSchema,
305
- requiredOAuthScopes: [...SENTRY_SCOPE.eventRead]
306
- });
307
- const sentryIssueOperations = {
308
- retrieveProjectIssuesList,
309
- getOrganizationIssueDetails,
310
- updateIssueAttributesInOrganization,
311
- updateProjectIssueStatusAndDetails,
312
- deleteOrganizationIssue,
313
- deleteProjectIssues,
314
- retrieveIssueEventsById,
315
- retrieveIssueHashesForOrganization,
316
- retrieveIssueTagDetails,
317
- fetchTagValuesForIssue,
318
- createSentryExternalIssueLink,
319
- deleteExternalIssueByUuid,
320
- retrieveShortIdForOrganization
321
- };
322
-
323
- //#endregion
324
- export { createSentryExternalIssueLink, deleteExternalIssueByUuid, deleteOrganizationIssue, deleteProjectIssues, fetchTagValuesForIssue, getOrganizationIssueDetails, retrieveIssueEventsById, retrieveIssueHashesForOrganization, retrieveIssueTagDetails, retrieveProjectIssuesList, retrieveShortIdForOrganization, sentryIssueOperations, updateIssueAttributesInOrganization, updateProjectIssueStatusAndDetails };
@@ -1,308 +0,0 @@
1
- import * as _keystrokehq_core0 from "@keystrokehq/core";
2
- import { z } from "zod";
3
-
4
- //#region src/members.d.ts
5
- declare const listOrganizationMembers: _keystrokehq_core0.Operation<z.ZodObject<{
6
- cursor: z.ZodOptional<z.ZodString>;
7
- per_page: z.ZodOptional<z.ZodNumber>;
8
- query: z.ZodOptional<z.ZodString>;
9
- organization_slug: z.ZodOptional<z.ZodString>;
10
- }, z.core.$strip>, z.ZodArray<z.ZodObject<{
11
- id: z.ZodString;
12
- email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
- role: z.ZodOptional<z.ZodString>;
15
- orgRole: z.ZodOptional<z.ZodString>;
16
- teamRoles: z.ZodOptional<z.ZodArray<z.ZodObject<{
17
- teamSlug: z.ZodString;
18
- role: z.ZodNullable<z.ZodString>;
19
- }, z.core.$loose>>>;
20
- user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
21
- id: z.ZodString;
22
- email: z.ZodOptional<z.ZodString>;
23
- name: z.ZodOptional<z.ZodString>;
24
- }, z.core.$loose>>>;
25
- }, z.core.$loose>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
26
- SENTRY_ACCESS_TOKEN: z.ZodString;
27
- SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
28
- SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
29
- }, z.core.$strip>>], undefined>;
30
- declare const retrieveOrganizationMember: _keystrokehq_core0.Operation<z.ZodObject<{
31
- organization_slug: z.ZodOptional<z.ZodString>;
32
- member_id: z.ZodString;
33
- }, z.core.$strip>, z.ZodObject<{
34
- id: z.ZodString;
35
- email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
- role: z.ZodOptional<z.ZodString>;
38
- orgRole: z.ZodOptional<z.ZodString>;
39
- teamRoles: z.ZodOptional<z.ZodArray<z.ZodObject<{
40
- teamSlug: z.ZodString;
41
- role: z.ZodNullable<z.ZodString>;
42
- }, z.core.$loose>>>;
43
- user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
44
- id: z.ZodString;
45
- email: z.ZodOptional<z.ZodString>;
46
- name: z.ZodOptional<z.ZodString>;
47
- }, z.core.$loose>>>;
48
- }, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
49
- SENTRY_ACCESS_TOKEN: z.ZodString;
50
- SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
51
- SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
52
- }, z.core.$strip>>], undefined>;
53
- declare const addOrganizationMemberViaEmail: _keystrokehq_core0.Operation<z.ZodObject<{
54
- organization_slug: z.ZodOptional<z.ZodString>;
55
- email: z.ZodString;
56
- role: z.ZodOptional<z.ZodString>;
57
- orgRole: z.ZodOptional<z.ZodString>;
58
- teams: z.ZodOptional<z.ZodArray<z.ZodString>>;
59
- teamRoles: z.ZodOptional<z.ZodArray<z.ZodObject<{
60
- teamSlug: z.ZodString;
61
- role: z.ZodNullable<z.ZodString>;
62
- }, z.core.$strip>>>;
63
- sendInvite: z.ZodOptional<z.ZodBoolean>;
64
- reinvite: z.ZodOptional<z.ZodBoolean>;
65
- }, z.core.$strip>, z.ZodObject<{
66
- id: z.ZodString;
67
- email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
68
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
69
- role: z.ZodOptional<z.ZodString>;
70
- orgRole: z.ZodOptional<z.ZodString>;
71
- teamRoles: z.ZodOptional<z.ZodArray<z.ZodObject<{
72
- teamSlug: z.ZodString;
73
- role: z.ZodNullable<z.ZodString>;
74
- }, z.core.$loose>>>;
75
- user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
76
- id: z.ZodString;
77
- email: z.ZodOptional<z.ZodString>;
78
- name: z.ZodOptional<z.ZodString>;
79
- }, z.core.$loose>>>;
80
- }, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
81
- SENTRY_ACCESS_TOKEN: z.ZodString;
82
- SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
83
- SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
84
- }, z.core.$strip>>], undefined>;
85
- declare const updateOrganizationMemberRole: _keystrokehq_core0.Operation<z.ZodObject<{
86
- organization_slug: z.ZodOptional<z.ZodString>;
87
- member_id: z.ZodString;
88
- role: z.ZodOptional<z.ZodString>;
89
- orgRole: z.ZodOptional<z.ZodString>;
90
- teams: z.ZodOptional<z.ZodArray<z.ZodString>>;
91
- teamRoles: z.ZodOptional<z.ZodArray<z.ZodObject<{
92
- teamSlug: z.ZodString;
93
- role: z.ZodNullable<z.ZodString>;
94
- }, z.core.$strip>>>;
95
- }, z.core.$strip>, z.ZodObject<{
96
- id: z.ZodString;
97
- email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
98
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
99
- role: z.ZodOptional<z.ZodString>;
100
- orgRole: z.ZodOptional<z.ZodString>;
101
- teamRoles: z.ZodOptional<z.ZodArray<z.ZodObject<{
102
- teamSlug: z.ZodString;
103
- role: z.ZodNullable<z.ZodString>;
104
- }, z.core.$loose>>>;
105
- user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
106
- id: z.ZodString;
107
- email: z.ZodOptional<z.ZodString>;
108
- name: z.ZodOptional<z.ZodString>;
109
- }, z.core.$loose>>>;
110
- }, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
111
- SENTRY_ACCESS_TOKEN: z.ZodString;
112
- SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
113
- SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
114
- }, z.core.$strip>>], undefined>;
115
- declare const deleteOrganizationMember: _keystrokehq_core0.Operation<z.ZodObject<{
116
- organization_slug: z.ZodOptional<z.ZodString>;
117
- member_id: z.ZodString;
118
- }, z.core.$strip>, z.ZodUnknown, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
119
- SENTRY_ACCESS_TOKEN: z.ZodString;
120
- SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
121
- SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
122
- }, z.core.$strip>>], undefined>;
123
- declare const patchUserActiveStatusInOrganization: _keystrokehq_core0.Operation<z.ZodObject<{
124
- organization_slug: z.ZodOptional<z.ZodString>;
125
- member_id: z.ZodString;
126
- active: z.ZodBoolean;
127
- }, z.core.$strip>, z.ZodObject<{
128
- id: z.ZodString;
129
- email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
130
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
131
- role: z.ZodOptional<z.ZodString>;
132
- orgRole: z.ZodOptional<z.ZodString>;
133
- teamRoles: z.ZodOptional<z.ZodArray<z.ZodObject<{
134
- teamSlug: z.ZodString;
135
- role: z.ZodNullable<z.ZodString>;
136
- }, z.core.$loose>>>;
137
- user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
138
- id: z.ZodString;
139
- email: z.ZodOptional<z.ZodString>;
140
- name: z.ZodOptional<z.ZodString>;
141
- }, z.core.$loose>>>;
142
- }, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
143
- SENTRY_ACCESS_TOKEN: z.ZodString;
144
- SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
145
- SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
146
- }, z.core.$strip>>], undefined>;
147
- declare const deleteUserFromOrg: _keystrokehq_core0.Operation<z.ZodObject<{
148
- organization_slug: z.ZodOptional<z.ZodString>;
149
- member_id: z.ZodString;
150
- }, z.core.$strip>, z.ZodUnknown, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
151
- SENTRY_ACCESS_TOKEN: z.ZodString;
152
- SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
153
- SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
154
- }, z.core.$strip>>], undefined>;
155
- declare const sentryMemberOperations: {
156
- readonly listOrganizationMembers: _keystrokehq_core0.Operation<z.ZodObject<{
157
- cursor: z.ZodOptional<z.ZodString>;
158
- per_page: z.ZodOptional<z.ZodNumber>;
159
- query: z.ZodOptional<z.ZodString>;
160
- organization_slug: z.ZodOptional<z.ZodString>;
161
- }, z.core.$strip>, z.ZodArray<z.ZodObject<{
162
- id: z.ZodString;
163
- email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
164
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
165
- role: z.ZodOptional<z.ZodString>;
166
- orgRole: z.ZodOptional<z.ZodString>;
167
- teamRoles: z.ZodOptional<z.ZodArray<z.ZodObject<{
168
- teamSlug: z.ZodString;
169
- role: z.ZodNullable<z.ZodString>;
170
- }, z.core.$loose>>>;
171
- user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
172
- id: z.ZodString;
173
- email: z.ZodOptional<z.ZodString>;
174
- name: z.ZodOptional<z.ZodString>;
175
- }, z.core.$loose>>>;
176
- }, z.core.$loose>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
177
- SENTRY_ACCESS_TOKEN: z.ZodString;
178
- SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
179
- SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
180
- }, z.core.$strip>>], undefined>;
181
- readonly retrieveOrganizationMember: _keystrokehq_core0.Operation<z.ZodObject<{
182
- organization_slug: z.ZodOptional<z.ZodString>;
183
- member_id: z.ZodString;
184
- }, z.core.$strip>, z.ZodObject<{
185
- id: z.ZodString;
186
- email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
187
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
188
- role: z.ZodOptional<z.ZodString>;
189
- orgRole: z.ZodOptional<z.ZodString>;
190
- teamRoles: z.ZodOptional<z.ZodArray<z.ZodObject<{
191
- teamSlug: z.ZodString;
192
- role: z.ZodNullable<z.ZodString>;
193
- }, z.core.$loose>>>;
194
- user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
195
- id: z.ZodString;
196
- email: z.ZodOptional<z.ZodString>;
197
- name: z.ZodOptional<z.ZodString>;
198
- }, z.core.$loose>>>;
199
- }, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
200
- SENTRY_ACCESS_TOKEN: z.ZodString;
201
- SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
202
- SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
203
- }, z.core.$strip>>], undefined>;
204
- readonly addOrganizationMemberViaEmail: _keystrokehq_core0.Operation<z.ZodObject<{
205
- organization_slug: z.ZodOptional<z.ZodString>;
206
- email: z.ZodString;
207
- role: z.ZodOptional<z.ZodString>;
208
- orgRole: z.ZodOptional<z.ZodString>;
209
- teams: z.ZodOptional<z.ZodArray<z.ZodString>>;
210
- teamRoles: z.ZodOptional<z.ZodArray<z.ZodObject<{
211
- teamSlug: z.ZodString;
212
- role: z.ZodNullable<z.ZodString>;
213
- }, z.core.$strip>>>;
214
- sendInvite: z.ZodOptional<z.ZodBoolean>;
215
- reinvite: z.ZodOptional<z.ZodBoolean>;
216
- }, z.core.$strip>, z.ZodObject<{
217
- id: z.ZodString;
218
- email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
219
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
220
- role: z.ZodOptional<z.ZodString>;
221
- orgRole: z.ZodOptional<z.ZodString>;
222
- teamRoles: z.ZodOptional<z.ZodArray<z.ZodObject<{
223
- teamSlug: z.ZodString;
224
- role: z.ZodNullable<z.ZodString>;
225
- }, z.core.$loose>>>;
226
- user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
227
- id: z.ZodString;
228
- email: z.ZodOptional<z.ZodString>;
229
- name: z.ZodOptional<z.ZodString>;
230
- }, z.core.$loose>>>;
231
- }, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
232
- SENTRY_ACCESS_TOKEN: z.ZodString;
233
- SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
234
- SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
235
- }, z.core.$strip>>], undefined>;
236
- readonly updateOrganizationMemberRole: _keystrokehq_core0.Operation<z.ZodObject<{
237
- organization_slug: z.ZodOptional<z.ZodString>;
238
- member_id: z.ZodString;
239
- role: z.ZodOptional<z.ZodString>;
240
- orgRole: z.ZodOptional<z.ZodString>;
241
- teams: z.ZodOptional<z.ZodArray<z.ZodString>>;
242
- teamRoles: z.ZodOptional<z.ZodArray<z.ZodObject<{
243
- teamSlug: z.ZodString;
244
- role: z.ZodNullable<z.ZodString>;
245
- }, z.core.$strip>>>;
246
- }, z.core.$strip>, z.ZodObject<{
247
- id: z.ZodString;
248
- email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
249
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
250
- role: z.ZodOptional<z.ZodString>;
251
- orgRole: z.ZodOptional<z.ZodString>;
252
- teamRoles: z.ZodOptional<z.ZodArray<z.ZodObject<{
253
- teamSlug: z.ZodString;
254
- role: z.ZodNullable<z.ZodString>;
255
- }, z.core.$loose>>>;
256
- user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
257
- id: z.ZodString;
258
- email: z.ZodOptional<z.ZodString>;
259
- name: z.ZodOptional<z.ZodString>;
260
- }, z.core.$loose>>>;
261
- }, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
262
- SENTRY_ACCESS_TOKEN: z.ZodString;
263
- SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
264
- SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
265
- }, z.core.$strip>>], undefined>;
266
- readonly deleteOrganizationMember: _keystrokehq_core0.Operation<z.ZodObject<{
267
- organization_slug: z.ZodOptional<z.ZodString>;
268
- member_id: z.ZodString;
269
- }, z.core.$strip>, z.ZodUnknown, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
270
- SENTRY_ACCESS_TOKEN: z.ZodString;
271
- SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
272
- SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
273
- }, z.core.$strip>>], undefined>;
274
- readonly patchUserActiveStatusInOrganization: _keystrokehq_core0.Operation<z.ZodObject<{
275
- organization_slug: z.ZodOptional<z.ZodString>;
276
- member_id: z.ZodString;
277
- active: z.ZodBoolean;
278
- }, z.core.$strip>, z.ZodObject<{
279
- id: z.ZodString;
280
- email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
281
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
282
- role: z.ZodOptional<z.ZodString>;
283
- orgRole: z.ZodOptional<z.ZodString>;
284
- teamRoles: z.ZodOptional<z.ZodArray<z.ZodObject<{
285
- teamSlug: z.ZodString;
286
- role: z.ZodNullable<z.ZodString>;
287
- }, z.core.$loose>>>;
288
- user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
289
- id: z.ZodString;
290
- email: z.ZodOptional<z.ZodString>;
291
- name: z.ZodOptional<z.ZodString>;
292
- }, z.core.$loose>>>;
293
- }, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
294
- SENTRY_ACCESS_TOKEN: z.ZodString;
295
- SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
296
- SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
297
- }, z.core.$strip>>], undefined>;
298
- readonly deleteUserFromOrg: _keystrokehq_core0.Operation<z.ZodObject<{
299
- organization_slug: z.ZodOptional<z.ZodString>;
300
- member_id: z.ZodString;
301
- }, z.core.$strip>, z.ZodUnknown, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
302
- SENTRY_ACCESS_TOKEN: z.ZodString;
303
- SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
304
- SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
305
- }, z.core.$strip>>], undefined>;
306
- };
307
- //#endregion
308
- export { addOrganizationMemberViaEmail, deleteOrganizationMember, deleteUserFromOrg, listOrganizationMembers, patchUserActiveStatusInOrganization, retrieveOrganizationMember, sentryMemberOperations, updateOrganizationMemberRole };