@keystrokehq/sentry 0.0.12 → 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} +5 -5
  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 +9 -117
  17. package/dist/_official/index.d.mts +0 -46
  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 -551
  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 -203
  28. package/dist/dashboards.mjs +0 -122
  29. package/dist/debug-files.d.mts +0 -127
  30. package/dist/debug-files.mjs +0 -73
  31. package/dist/deploys.d.mts +0 -103
  32. package/dist/deploys.mjs +0 -67
  33. package/dist/discover.d.mts +0 -235
  34. package/dist/discover.mjs +0 -138
  35. package/dist/endpoint-factory-C0WIFmtK.mjs +0 -95
  36. package/dist/environments.d.mts +0 -121
  37. package/dist/environments.mjs +0 -71
  38. package/dist/errors-DfEFwcTe.mjs +0 -142
  39. package/dist/events-api.d.mts +0 -311
  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 -99
  44. package/dist/feedback.mjs +0 -63
  45. package/dist/integration-DCNn_9vz.mjs +0 -356
  46. package/dist/integration-rmp485nJ.d.mts +0 -57
  47. package/dist/issues.d.mts +0 -563
  48. package/dist/issues.mjs +0 -324
  49. package/dist/members.d.mts +0 -365
  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 -539
  54. package/dist/monitors.mjs +0 -234
  55. package/dist/notifications.d.mts +0 -221
  56. package/dist/notifications.mjs +0 -133
  57. package/dist/organizations.d.mts +0 -563
  58. package/dist/organizations.mjs +0 -334
  59. package/dist/pagination-PlgAqbZt.mjs +0 -116
  60. package/dist/project-keys.d.mts +0 -287
  61. package/dist/project-keys.mjs +0 -122
  62. package/dist/projects.d.mts +0 -687
  63. package/dist/projects.mjs +0 -378
  64. package/dist/releases.d.mts +0 -949
  65. package/dist/releases.mjs +0 -479
  66. package/dist/replays.d.mts +0 -307
  67. package/dist/replays.mjs +0 -192
  68. package/dist/scim.d.mts +0 -413
  69. package/dist/scim.mjs +0 -249
  70. package/dist/scopes-RRU0vt-a.mjs +0 -36
  71. package/dist/teams.d.mts +0 -561
  72. package/dist/teams.mjs +0 -266
  73. package/dist/triggers.d.mts +0 -97
  74. package/dist/triggers.mjs +0 -106
  75. package/dist/user-emails.d.mts +0 -117
  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 -199
  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-C0WIFmtK.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,365 +0,0 @@
1
- import * as _keystrokehq_core0 from "@keystrokehq/core";
2
- import { z } from "zod";
3
- import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
4
-
5
- //#region src/members.d.ts
6
- declare const listOrganizationMembers: _keystrokehq_core0.Operation<z.ZodObject<{
7
- cursor: z.ZodOptional<z.ZodString>;
8
- per_page: z.ZodOptional<z.ZodNumber>;
9
- query: z.ZodOptional<z.ZodString>;
10
- organization_slug: z.ZodOptional<z.ZodString>;
11
- }, z.core.$strip>, z.ZodArray<z.ZodObject<{
12
- id: z.ZodString;
13
- email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
- role: z.ZodOptional<z.ZodString>;
16
- orgRole: z.ZodOptional<z.ZodString>;
17
- teamRoles: z.ZodOptional<z.ZodArray<z.ZodObject<{
18
- teamSlug: z.ZodString;
19
- role: z.ZodNullable<z.ZodString>;
20
- }, z.core.$loose>>>;
21
- user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
22
- id: z.ZodString;
23
- email: z.ZodOptional<z.ZodString>;
24
- name: z.ZodOptional<z.ZodString>;
25
- }, z.core.$loose>>>;
26
- }, z.core.$loose>>, readonly [_keystrokehq_core0.CredentialSet<"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>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
31
- SENTRY_ACCESS_TOKEN: z.ZodString;
32
- SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
33
- SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
34
- }, z.core.$strip>>[] | undefined>], undefined>;
35
- declare const retrieveOrganizationMember: _keystrokehq_core0.Operation<z.ZodObject<{
36
- organization_slug: z.ZodOptional<z.ZodString>;
37
- member_id: z.ZodString;
38
- }, z.core.$strip>, z.ZodObject<{
39
- id: z.ZodString;
40
- email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
42
- role: z.ZodOptional<z.ZodString>;
43
- orgRole: z.ZodOptional<z.ZodString>;
44
- teamRoles: z.ZodOptional<z.ZodArray<z.ZodObject<{
45
- teamSlug: z.ZodString;
46
- role: z.ZodNullable<z.ZodString>;
47
- }, z.core.$loose>>>;
48
- user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
49
- id: z.ZodString;
50
- email: z.ZodOptional<z.ZodString>;
51
- name: z.ZodOptional<z.ZodString>;
52
- }, z.core.$loose>>>;
53
- }, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
54
- SENTRY_ACCESS_TOKEN: z.ZodString;
55
- SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
56
- SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
57
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
58
- SENTRY_ACCESS_TOKEN: z.ZodString;
59
- SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
60
- SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
61
- }, z.core.$strip>>[] | undefined>], undefined>;
62
- declare const addOrganizationMemberViaEmail: _keystrokehq_core0.Operation<z.ZodObject<{
63
- organization_slug: z.ZodOptional<z.ZodString>;
64
- email: z.ZodString;
65
- role: z.ZodOptional<z.ZodString>;
66
- orgRole: z.ZodOptional<z.ZodString>;
67
- teams: z.ZodOptional<z.ZodArray<z.ZodString>>;
68
- teamRoles: z.ZodOptional<z.ZodArray<z.ZodObject<{
69
- teamSlug: z.ZodString;
70
- role: z.ZodNullable<z.ZodString>;
71
- }, z.core.$strip>>>;
72
- sendInvite: z.ZodOptional<z.ZodBoolean>;
73
- reinvite: z.ZodOptional<z.ZodBoolean>;
74
- }, z.core.$strip>, z.ZodObject<{
75
- id: z.ZodString;
76
- email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
77
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
78
- role: z.ZodOptional<z.ZodString>;
79
- orgRole: z.ZodOptional<z.ZodString>;
80
- teamRoles: z.ZodOptional<z.ZodArray<z.ZodObject<{
81
- teamSlug: z.ZodString;
82
- role: z.ZodNullable<z.ZodString>;
83
- }, z.core.$loose>>>;
84
- user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
85
- id: z.ZodString;
86
- email: z.ZodOptional<z.ZodString>;
87
- name: z.ZodOptional<z.ZodString>;
88
- }, z.core.$loose>>>;
89
- }, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"sentry", 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>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
94
- SENTRY_ACCESS_TOKEN: z.ZodString;
95
- SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
96
- SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
97
- }, z.core.$strip>>[] | undefined>], undefined>;
98
- declare const updateOrganizationMemberRole: _keystrokehq_core0.Operation<z.ZodObject<{
99
- organization_slug: z.ZodOptional<z.ZodString>;
100
- member_id: z.ZodString;
101
- role: z.ZodOptional<z.ZodString>;
102
- orgRole: z.ZodOptional<z.ZodString>;
103
- teams: z.ZodOptional<z.ZodArray<z.ZodString>>;
104
- teamRoles: z.ZodOptional<z.ZodArray<z.ZodObject<{
105
- teamSlug: z.ZodString;
106
- role: z.ZodNullable<z.ZodString>;
107
- }, z.core.$strip>>>;
108
- }, z.core.$strip>, z.ZodObject<{
109
- id: z.ZodString;
110
- email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
111
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
112
- role: z.ZodOptional<z.ZodString>;
113
- orgRole: z.ZodOptional<z.ZodString>;
114
- teamRoles: z.ZodOptional<z.ZodArray<z.ZodObject<{
115
- teamSlug: z.ZodString;
116
- role: z.ZodNullable<z.ZodString>;
117
- }, z.core.$loose>>>;
118
- user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
119
- id: z.ZodString;
120
- email: z.ZodOptional<z.ZodString>;
121
- name: z.ZodOptional<z.ZodString>;
122
- }, z.core.$loose>>>;
123
- }, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
124
- SENTRY_ACCESS_TOKEN: z.ZodString;
125
- SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
126
- SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
127
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
128
- SENTRY_ACCESS_TOKEN: z.ZodString;
129
- SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
130
- SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
131
- }, z.core.$strip>>[] | undefined>], undefined>;
132
- declare const deleteOrganizationMember: _keystrokehq_core0.Operation<z.ZodObject<{
133
- organization_slug: z.ZodOptional<z.ZodString>;
134
- member_id: z.ZodString;
135
- }, z.core.$strip>, z.ZodUnknown, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
136
- SENTRY_ACCESS_TOKEN: z.ZodString;
137
- SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
138
- SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
139
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
140
- SENTRY_ACCESS_TOKEN: z.ZodString;
141
- SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
142
- SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
143
- }, z.core.$strip>>[] | undefined>], undefined>;
144
- declare const patchUserActiveStatusInOrganization: _keystrokehq_core0.Operation<z.ZodObject<{
145
- organization_slug: z.ZodOptional<z.ZodString>;
146
- member_id: z.ZodString;
147
- active: z.ZodBoolean;
148
- }, z.core.$strip>, z.ZodObject<{
149
- id: z.ZodString;
150
- email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
151
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
152
- role: z.ZodOptional<z.ZodString>;
153
- orgRole: z.ZodOptional<z.ZodString>;
154
- teamRoles: z.ZodOptional<z.ZodArray<z.ZodObject<{
155
- teamSlug: z.ZodString;
156
- role: z.ZodNullable<z.ZodString>;
157
- }, z.core.$loose>>>;
158
- user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
159
- id: z.ZodString;
160
- email: z.ZodOptional<z.ZodString>;
161
- name: z.ZodOptional<z.ZodString>;
162
- }, z.core.$loose>>>;
163
- }, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
164
- SENTRY_ACCESS_TOKEN: z.ZodString;
165
- SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
166
- SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
167
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
168
- SENTRY_ACCESS_TOKEN: z.ZodString;
169
- SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
170
- SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
171
- }, z.core.$strip>>[] | undefined>], undefined>;
172
- declare const deleteUserFromOrg: _keystrokehq_core0.Operation<z.ZodObject<{
173
- organization_slug: z.ZodOptional<z.ZodString>;
174
- member_id: z.ZodString;
175
- }, z.core.$strip>, z.ZodUnknown, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
176
- SENTRY_ACCESS_TOKEN: z.ZodString;
177
- SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
178
- SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
179
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
180
- SENTRY_ACCESS_TOKEN: z.ZodString;
181
- SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
182
- SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
183
- }, z.core.$strip>>[] | undefined>], undefined>;
184
- declare const sentryMemberOperations: {
185
- readonly listOrganizationMembers: _keystrokehq_core0.Operation<z.ZodObject<{
186
- cursor: z.ZodOptional<z.ZodString>;
187
- per_page: z.ZodOptional<z.ZodNumber>;
188
- query: z.ZodOptional<z.ZodString>;
189
- organization_slug: z.ZodOptional<z.ZodString>;
190
- }, z.core.$strip>, z.ZodArray<z.ZodObject<{
191
- id: z.ZodString;
192
- email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
193
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
194
- role: z.ZodOptional<z.ZodString>;
195
- orgRole: z.ZodOptional<z.ZodString>;
196
- teamRoles: z.ZodOptional<z.ZodArray<z.ZodObject<{
197
- teamSlug: z.ZodString;
198
- role: z.ZodNullable<z.ZodString>;
199
- }, z.core.$loose>>>;
200
- user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
201
- id: z.ZodString;
202
- email: z.ZodOptional<z.ZodString>;
203
- name: z.ZodOptional<z.ZodString>;
204
- }, z.core.$loose>>>;
205
- }, z.core.$loose>>, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
206
- SENTRY_ACCESS_TOKEN: z.ZodString;
207
- SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
208
- SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
209
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
210
- SENTRY_ACCESS_TOKEN: z.ZodString;
211
- SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
212
- SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
213
- }, z.core.$strip>>[] | undefined>], undefined>;
214
- readonly retrieveOrganizationMember: _keystrokehq_core0.Operation<z.ZodObject<{
215
- organization_slug: z.ZodOptional<z.ZodString>;
216
- member_id: z.ZodString;
217
- }, z.core.$strip>, z.ZodObject<{
218
- id: z.ZodString;
219
- email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
220
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
221
- role: z.ZodOptional<z.ZodString>;
222
- orgRole: z.ZodOptional<z.ZodString>;
223
- teamRoles: z.ZodOptional<z.ZodArray<z.ZodObject<{
224
- teamSlug: z.ZodString;
225
- role: z.ZodNullable<z.ZodString>;
226
- }, z.core.$loose>>>;
227
- user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
228
- id: z.ZodString;
229
- email: z.ZodOptional<z.ZodString>;
230
- name: z.ZodOptional<z.ZodString>;
231
- }, z.core.$loose>>>;
232
- }, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
233
- SENTRY_ACCESS_TOKEN: z.ZodString;
234
- SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
235
- SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
236
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
237
- SENTRY_ACCESS_TOKEN: z.ZodString;
238
- SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
239
- SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
240
- }, z.core.$strip>>[] | undefined>], undefined>;
241
- readonly addOrganizationMemberViaEmail: _keystrokehq_core0.Operation<z.ZodObject<{
242
- organization_slug: z.ZodOptional<z.ZodString>;
243
- email: z.ZodString;
244
- role: z.ZodOptional<z.ZodString>;
245
- orgRole: z.ZodOptional<z.ZodString>;
246
- teams: z.ZodOptional<z.ZodArray<z.ZodString>>;
247
- teamRoles: z.ZodOptional<z.ZodArray<z.ZodObject<{
248
- teamSlug: z.ZodString;
249
- role: z.ZodNullable<z.ZodString>;
250
- }, z.core.$strip>>>;
251
- sendInvite: z.ZodOptional<z.ZodBoolean>;
252
- reinvite: z.ZodOptional<z.ZodBoolean>;
253
- }, z.core.$strip>, z.ZodObject<{
254
- id: z.ZodString;
255
- email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
256
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
257
- role: z.ZodOptional<z.ZodString>;
258
- orgRole: z.ZodOptional<z.ZodString>;
259
- teamRoles: z.ZodOptional<z.ZodArray<z.ZodObject<{
260
- teamSlug: z.ZodString;
261
- role: z.ZodNullable<z.ZodString>;
262
- }, z.core.$loose>>>;
263
- user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
264
- id: z.ZodString;
265
- email: z.ZodOptional<z.ZodString>;
266
- name: z.ZodOptional<z.ZodString>;
267
- }, z.core.$loose>>>;
268
- }, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
269
- SENTRY_ACCESS_TOKEN: z.ZodString;
270
- SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
271
- SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
272
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
273
- SENTRY_ACCESS_TOKEN: z.ZodString;
274
- SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
275
- SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
276
- }, z.core.$strip>>[] | undefined>], undefined>;
277
- readonly updateOrganizationMemberRole: _keystrokehq_core0.Operation<z.ZodObject<{
278
- organization_slug: z.ZodOptional<z.ZodString>;
279
- member_id: z.ZodString;
280
- role: z.ZodOptional<z.ZodString>;
281
- orgRole: z.ZodOptional<z.ZodString>;
282
- teams: z.ZodOptional<z.ZodArray<z.ZodString>>;
283
- teamRoles: z.ZodOptional<z.ZodArray<z.ZodObject<{
284
- teamSlug: z.ZodString;
285
- role: z.ZodNullable<z.ZodString>;
286
- }, z.core.$strip>>>;
287
- }, z.core.$strip>, z.ZodObject<{
288
- id: z.ZodString;
289
- email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
290
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
291
- role: z.ZodOptional<z.ZodString>;
292
- orgRole: z.ZodOptional<z.ZodString>;
293
- teamRoles: z.ZodOptional<z.ZodArray<z.ZodObject<{
294
- teamSlug: z.ZodString;
295
- role: z.ZodNullable<z.ZodString>;
296
- }, z.core.$loose>>>;
297
- user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
298
- id: z.ZodString;
299
- email: z.ZodOptional<z.ZodString>;
300
- name: z.ZodOptional<z.ZodString>;
301
- }, z.core.$loose>>>;
302
- }, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
303
- SENTRY_ACCESS_TOKEN: z.ZodString;
304
- SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
305
- SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
306
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
307
- SENTRY_ACCESS_TOKEN: z.ZodString;
308
- SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
309
- SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
310
- }, z.core.$strip>>[] | undefined>], undefined>;
311
- readonly deleteOrganizationMember: _keystrokehq_core0.Operation<z.ZodObject<{
312
- organization_slug: z.ZodOptional<z.ZodString>;
313
- member_id: z.ZodString;
314
- }, z.core.$strip>, z.ZodUnknown, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
315
- SENTRY_ACCESS_TOKEN: z.ZodString;
316
- SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
317
- SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
318
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
319
- SENTRY_ACCESS_TOKEN: z.ZodString;
320
- SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
321
- SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
322
- }, z.core.$strip>>[] | undefined>], undefined>;
323
- readonly patchUserActiveStatusInOrganization: _keystrokehq_core0.Operation<z.ZodObject<{
324
- organization_slug: z.ZodOptional<z.ZodString>;
325
- member_id: z.ZodString;
326
- active: z.ZodBoolean;
327
- }, z.core.$strip>, z.ZodObject<{
328
- id: z.ZodString;
329
- email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
330
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
331
- role: z.ZodOptional<z.ZodString>;
332
- orgRole: z.ZodOptional<z.ZodString>;
333
- teamRoles: z.ZodOptional<z.ZodArray<z.ZodObject<{
334
- teamSlug: z.ZodString;
335
- role: z.ZodNullable<z.ZodString>;
336
- }, z.core.$loose>>>;
337
- user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
338
- id: z.ZodString;
339
- email: z.ZodOptional<z.ZodString>;
340
- name: z.ZodOptional<z.ZodString>;
341
- }, z.core.$loose>>>;
342
- }, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
343
- SENTRY_ACCESS_TOKEN: z.ZodString;
344
- SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
345
- SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
346
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
347
- SENTRY_ACCESS_TOKEN: z.ZodString;
348
- SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
349
- SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
350
- }, z.core.$strip>>[] | undefined>], undefined>;
351
- readonly deleteUserFromOrg: _keystrokehq_core0.Operation<z.ZodObject<{
352
- organization_slug: z.ZodOptional<z.ZodString>;
353
- member_id: z.ZodString;
354
- }, z.core.$strip>, z.ZodUnknown, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
355
- SENTRY_ACCESS_TOKEN: z.ZodString;
356
- SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
357
- SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
358
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
359
- SENTRY_ACCESS_TOKEN: z.ZodString;
360
- SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
361
- SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
362
- }, z.core.$strip>>[] | undefined>], undefined>;
363
- };
364
- //#endregion
365
- export { addOrganizationMemberViaEmail, deleteOrganizationMember, deleteUserFromOrg, listOrganizationMembers, patchUserActiveStatusInOrganization, retrieveOrganizationMember, sentryMemberOperations, updateOrganizationMemberRole };