@keystrokehq/sentry 0.0.12 → 0.0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_official/index.d.mts +2 -7
- package/dist/_official/index.mjs +1 -1
- package/dist/_runtime/index.d.mts +1 -1
- package/dist/_runtime/index.mjs +1 -1
- package/dist/alerts.d.mts +44 -133
- package/dist/alerts.mjs +1 -1
- package/dist/connection.d.mts +1 -1
- package/dist/connection.mjs +1 -1
- package/dist/dashboards.d.mts +20 -61
- package/dist/dashboards.mjs +1 -1
- package/dist/debug-files.d.mts +12 -37
- package/dist/debug-files.mjs +1 -1
- package/dist/deploys.d.mts +8 -25
- package/dist/deploys.mjs +1 -1
- package/dist/discover.d.mts +20 -61
- package/dist/discover.mjs +1 -1
- package/dist/{endpoint-factory-C0WIFmtK.mjs → endpoint-factory-DcT49a8O.mjs} +2 -1
- package/dist/environments.d.mts +12 -37
- package/dist/environments.mjs +1 -1
- package/dist/events-api.d.mts +30 -87
- package/dist/events-api.mjs +1 -1
- package/dist/feedback.d.mts +8 -25
- package/dist/feedback.mjs +1 -1
- package/dist/integration-D7KCM1-p.mjs +75 -0
- package/dist/integration-veqa_7yB.d.mts +33 -0
- package/dist/issues.d.mts +60 -165
- package/dist/issues.mjs +1 -1
- package/dist/members.d.mts +28 -85
- package/dist/members.mjs +1 -1
- package/dist/monitors.d.mts +40 -121
- package/dist/monitors.mjs +1 -1
- package/dist/notifications.d.mts +20 -61
- package/dist/notifications.mjs +1 -1
- package/dist/organizations.d.mts +60 -181
- package/dist/organizations.mjs +1 -1
- package/dist/project-keys.d.mts +20 -61
- package/dist/project-keys.mjs +1 -1
- package/dist/projects.d.mts +76 -229
- package/dist/projects.mjs +1 -1
- package/dist/releases.d.mts +86 -255
- package/dist/releases.mjs +1 -1
- package/dist/replays.d.mts +36 -109
- package/dist/replays.mjs +1 -1
- package/dist/schemas.d.mts +2 -2
- package/dist/scim.d.mts +44 -133
- package/dist/scim.mjs +1 -1
- package/dist/teams.d.mts +56 -169
- package/dist/teams.mjs +1 -1
- package/dist/triggers.d.mts +3 -59
- package/dist/triggers.mjs +1 -51
- package/dist/user-emails.d.mts +16 -49
- package/dist/user-emails.mjs +1 -1
- package/dist/webhooks.d.mts +20 -61
- package/dist/webhooks.mjs +1 -1
- package/package.json +5 -6
- package/dist/integration-DCNn_9vz.mjs +0 -356
- package/dist/integration-rmp485nJ.d.mts +0 -57
package/dist/teams.d.mts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
2
2
|
import { z } from "zod";
|
|
3
|
-
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
4
3
|
|
|
5
4
|
//#region src/teams.d.ts
|
|
6
5
|
declare const listTeamsInOrganization: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
@@ -15,15 +14,11 @@ declare const listTeamsInOrganization: _keystrokehq_core0.Operation<z.ZodObject<
|
|
|
15
14
|
name: z.ZodString;
|
|
16
15
|
dateCreated: z.ZodOptional<z.ZodISODateTime>;
|
|
17
16
|
isMember: z.ZodOptional<z.ZodBoolean>;
|
|
18
|
-
}, z.core.$loose>>, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
|
|
17
|
+
}, z.core.$loose>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
|
|
19
18
|
SENTRY_ACCESS_TOKEN: z.ZodString;
|
|
20
19
|
SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
|
|
21
20
|
SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
|
|
22
|
-
}, z.core.$strip
|
|
23
|
-
SENTRY_ACCESS_TOKEN: z.ZodString;
|
|
24
|
-
SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
|
|
25
|
-
SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
|
|
26
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
21
|
+
}, z.core.$strip>>], undefined>;
|
|
27
22
|
declare const listOrganizationUserTeams: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
28
23
|
organization_slug: z.ZodOptional<z.ZodString>;
|
|
29
24
|
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
@@ -32,15 +27,11 @@ declare const listOrganizationUserTeams: _keystrokehq_core0.Operation<z.ZodObjec
|
|
|
32
27
|
name: z.ZodString;
|
|
33
28
|
dateCreated: z.ZodOptional<z.ZodISODateTime>;
|
|
34
29
|
isMember: z.ZodOptional<z.ZodBoolean>;
|
|
35
|
-
}, z.core.$loose>>, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
|
|
36
|
-
SENTRY_ACCESS_TOKEN: z.ZodString;
|
|
37
|
-
SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
|
|
38
|
-
SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
|
|
39
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
30
|
+
}, z.core.$loose>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
|
|
40
31
|
SENTRY_ACCESS_TOKEN: z.ZodString;
|
|
41
32
|
SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
|
|
42
33
|
SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
|
|
43
|
-
}, z.core.$strip>>
|
|
34
|
+
}, z.core.$strip>>], undefined>;
|
|
44
35
|
declare const createOrganizationTeam: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
45
36
|
organization_slug: z.ZodOptional<z.ZodString>;
|
|
46
37
|
slug: z.ZodOptional<z.ZodString>;
|
|
@@ -52,15 +43,11 @@ declare const createOrganizationTeam: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
52
43
|
name: z.ZodString;
|
|
53
44
|
dateCreated: z.ZodOptional<z.ZodISODateTime>;
|
|
54
45
|
isMember: z.ZodOptional<z.ZodBoolean>;
|
|
55
|
-
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
|
|
46
|
+
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
|
|
56
47
|
SENTRY_ACCESS_TOKEN: z.ZodString;
|
|
57
48
|
SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
|
|
58
49
|
SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
|
|
59
|
-
}, z.core.$strip
|
|
60
|
-
SENTRY_ACCESS_TOKEN: z.ZodString;
|
|
61
|
-
SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
|
|
62
|
-
SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
|
|
63
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
50
|
+
}, z.core.$strip>>], undefined>;
|
|
64
51
|
declare const retrieveTeamInfoViaOrganizationIdOrSlug: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
65
52
|
organization_slug: z.ZodOptional<z.ZodString>;
|
|
66
53
|
team_slug: z.ZodString;
|
|
@@ -70,15 +57,11 @@ declare const retrieveTeamInfoViaOrganizationIdOrSlug: _keystrokehq_core0.Operat
|
|
|
70
57
|
name: z.ZodString;
|
|
71
58
|
dateCreated: z.ZodOptional<z.ZodISODateTime>;
|
|
72
59
|
isMember: z.ZodOptional<z.ZodBoolean>;
|
|
73
|
-
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
|
|
60
|
+
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
|
|
74
61
|
SENTRY_ACCESS_TOKEN: z.ZodString;
|
|
75
62
|
SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
|
|
76
63
|
SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
|
|
77
|
-
}, z.core.$strip
|
|
78
|
-
SENTRY_ACCESS_TOKEN: z.ZodString;
|
|
79
|
-
SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
|
|
80
|
-
SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
|
|
81
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
64
|
+
}, z.core.$strip>>], undefined>;
|
|
82
65
|
declare const updateTeamInformationByOrganizationId: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
83
66
|
organization_slug: z.ZodOptional<z.ZodString>;
|
|
84
67
|
team_slug: z.ZodString;
|
|
@@ -90,27 +73,19 @@ declare const updateTeamInformationByOrganizationId: _keystrokehq_core0.Operatio
|
|
|
90
73
|
name: z.ZodString;
|
|
91
74
|
dateCreated: z.ZodOptional<z.ZodISODateTime>;
|
|
92
75
|
isMember: z.ZodOptional<z.ZodBoolean>;
|
|
93
|
-
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
|
|
76
|
+
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
|
|
94
77
|
SENTRY_ACCESS_TOKEN: z.ZodString;
|
|
95
78
|
SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
|
|
96
79
|
SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
|
|
97
|
-
}, z.core.$strip
|
|
98
|
-
SENTRY_ACCESS_TOKEN: z.ZodString;
|
|
99
|
-
SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
|
|
100
|
-
SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
|
|
101
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
80
|
+
}, z.core.$strip>>], undefined>;
|
|
102
81
|
declare const deleteTeamByOrganizationOrTeamSlug: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
103
82
|
organization_slug: z.ZodOptional<z.ZodString>;
|
|
104
83
|
team_slug: z.ZodString;
|
|
105
|
-
}, z.core.$strip>, z.ZodUnknown, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
|
|
106
|
-
SENTRY_ACCESS_TOKEN: z.ZodString;
|
|
107
|
-
SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
|
|
108
|
-
SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
|
|
109
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
84
|
+
}, z.core.$strip>, z.ZodUnknown, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
|
|
110
85
|
SENTRY_ACCESS_TOKEN: z.ZodString;
|
|
111
86
|
SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
|
|
112
87
|
SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
|
|
113
|
-
}, z.core.$strip>>
|
|
88
|
+
}, z.core.$strip>>], undefined>;
|
|
114
89
|
declare const addTeamMemberInOrganization: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
115
90
|
organization_slug: z.ZodOptional<z.ZodString>;
|
|
116
91
|
team_slug: z.ZodString;
|
|
@@ -130,15 +105,11 @@ declare const addTeamMemberInOrganization: _keystrokehq_core0.Operation<z.ZodObj
|
|
|
130
105
|
email: z.ZodOptional<z.ZodString>;
|
|
131
106
|
name: z.ZodOptional<z.ZodString>;
|
|
132
107
|
}, z.core.$loose>>>;
|
|
133
|
-
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
|
|
134
|
-
SENTRY_ACCESS_TOKEN: z.ZodString;
|
|
135
|
-
SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
|
|
136
|
-
SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
|
|
137
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
108
|
+
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
|
|
138
109
|
SENTRY_ACCESS_TOKEN: z.ZodString;
|
|
139
110
|
SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
|
|
140
111
|
SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
|
|
141
|
-
}, z.core.$strip>>
|
|
112
|
+
}, z.core.$strip>>], undefined>;
|
|
142
113
|
declare const getTeamMembersByIdOrSlug: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
143
114
|
cursor: z.ZodOptional<z.ZodString>;
|
|
144
115
|
per_page: z.ZodOptional<z.ZodNumber>;
|
|
@@ -160,28 +131,20 @@ declare const getTeamMembersByIdOrSlug: _keystrokehq_core0.Operation<z.ZodObject
|
|
|
160
131
|
email: z.ZodOptional<z.ZodString>;
|
|
161
132
|
name: z.ZodOptional<z.ZodString>;
|
|
162
133
|
}, z.core.$loose>>>;
|
|
163
|
-
}, z.core.$loose>>, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
|
|
134
|
+
}, z.core.$loose>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
|
|
164
135
|
SENTRY_ACCESS_TOKEN: z.ZodString;
|
|
165
136
|
SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
|
|
166
137
|
SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
|
|
167
|
-
}, z.core.$strip
|
|
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>;
|
|
138
|
+
}, z.core.$strip>>], undefined>;
|
|
172
139
|
declare const deleteMemberFromTeam: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
173
140
|
organization_slug: z.ZodOptional<z.ZodString>;
|
|
174
141
|
team_slug: z.ZodString;
|
|
175
142
|
member_id: z.ZodString;
|
|
176
|
-
}, z.core.$strip>, z.ZodUnknown, readonly [_keystrokehq_core0.CredentialSet<"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>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
143
|
+
}, z.core.$strip>, z.ZodUnknown, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
|
|
181
144
|
SENTRY_ACCESS_TOKEN: z.ZodString;
|
|
182
145
|
SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
|
|
183
146
|
SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
|
|
184
|
-
}, z.core.$strip>>
|
|
147
|
+
}, z.core.$strip>>], undefined>;
|
|
185
148
|
declare const switchTeamRoleForMember: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
186
149
|
organization_slug: z.ZodOptional<z.ZodString>;
|
|
187
150
|
team_slug: z.ZodString;
|
|
@@ -202,15 +165,11 @@ declare const switchTeamRoleForMember: _keystrokehq_core0.Operation<z.ZodObject<
|
|
|
202
165
|
email: z.ZodOptional<z.ZodString>;
|
|
203
166
|
name: z.ZodOptional<z.ZodString>;
|
|
204
167
|
}, z.core.$loose>>>;
|
|
205
|
-
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
|
|
168
|
+
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
|
|
206
169
|
SENTRY_ACCESS_TOKEN: z.ZodString;
|
|
207
170
|
SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
|
|
208
171
|
SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
|
|
209
|
-
}, z.core.$strip
|
|
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>;
|
|
172
|
+
}, z.core.$strip>>], undefined>;
|
|
214
173
|
declare const retrieveTeamProjects: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
215
174
|
cursor: z.ZodOptional<z.ZodString>;
|
|
216
175
|
per_page: z.ZodOptional<z.ZodNumber>;
|
|
@@ -225,15 +184,11 @@ declare const retrieveTeamProjects: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
225
184
|
dateCreated: z.ZodOptional<z.ZodISODateTime>;
|
|
226
185
|
isMember: z.ZodOptional<z.ZodBoolean>;
|
|
227
186
|
status: z.ZodOptional<z.ZodString>;
|
|
228
|
-
}, z.core.$loose>>, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
|
|
187
|
+
}, z.core.$loose>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
|
|
229
188
|
SENTRY_ACCESS_TOKEN: z.ZodString;
|
|
230
189
|
SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
|
|
231
190
|
SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
|
|
232
|
-
}, z.core.$strip
|
|
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>>[] | undefined>], undefined>;
|
|
191
|
+
}, z.core.$strip>>], undefined>;
|
|
237
192
|
declare const manageTeamExternalIntegrations: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
238
193
|
organization_slug: z.ZodOptional<z.ZodString>;
|
|
239
194
|
team_slug: z.ZodString;
|
|
@@ -241,15 +196,11 @@ declare const manageTeamExternalIntegrations: _keystrokehq_core0.Operation<z.Zod
|
|
|
241
196
|
provider: z.ZodString;
|
|
242
197
|
externalId: z.ZodOptional<z.ZodString>;
|
|
243
198
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
244
|
-
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodUnknown>, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
|
|
199
|
+
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodUnknown>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
|
|
245
200
|
SENTRY_ACCESS_TOKEN: z.ZodString;
|
|
246
201
|
SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
|
|
247
202
|
SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
|
|
248
|
-
}, z.core.$strip
|
|
249
|
-
SENTRY_ACCESS_TOKEN: z.ZodString;
|
|
250
|
-
SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
|
|
251
|
-
SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
|
|
252
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
203
|
+
}, z.core.$strip>>], undefined>;
|
|
253
204
|
declare const updateExternalTeamIntegration: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
254
205
|
organization_slug: z.ZodOptional<z.ZodString>;
|
|
255
206
|
team_slug: z.ZodString;
|
|
@@ -257,28 +208,20 @@ declare const updateExternalTeamIntegration: _keystrokehq_core0.Operation<z.ZodO
|
|
|
257
208
|
externalName: z.ZodOptional<z.ZodString>;
|
|
258
209
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
259
210
|
externalId: z.ZodOptional<z.ZodString>;
|
|
260
|
-
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodUnknown>, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
|
|
261
|
-
SENTRY_ACCESS_TOKEN: z.ZodString;
|
|
262
|
-
SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
|
|
263
|
-
SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
|
|
264
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
211
|
+
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodUnknown>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
|
|
265
212
|
SENTRY_ACCESS_TOKEN: z.ZodString;
|
|
266
213
|
SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
|
|
267
214
|
SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
|
|
268
|
-
}, z.core.$strip>>
|
|
215
|
+
}, z.core.$strip>>], undefined>;
|
|
269
216
|
declare const deleteExternalTeamById: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
270
217
|
organization_slug: z.ZodOptional<z.ZodString>;
|
|
271
218
|
team_slug: z.ZodString;
|
|
272
219
|
external_team_id: z.ZodString;
|
|
273
|
-
}, z.core.$strip>, z.ZodUnknown, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
|
|
274
|
-
SENTRY_ACCESS_TOKEN: z.ZodString;
|
|
275
|
-
SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
|
|
276
|
-
SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
|
|
277
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
220
|
+
}, z.core.$strip>, z.ZodUnknown, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
|
|
278
221
|
SENTRY_ACCESS_TOKEN: z.ZodString;
|
|
279
222
|
SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
|
|
280
223
|
SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
|
|
281
|
-
}, z.core.$strip>>
|
|
224
|
+
}, z.core.$strip>>], undefined>;
|
|
282
225
|
declare const sentryTeamOperations: {
|
|
283
226
|
readonly listTeamsInOrganization: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
284
227
|
cursor: z.ZodOptional<z.ZodString>;
|
|
@@ -292,15 +235,11 @@ declare const sentryTeamOperations: {
|
|
|
292
235
|
name: z.ZodString;
|
|
293
236
|
dateCreated: z.ZodOptional<z.ZodISODateTime>;
|
|
294
237
|
isMember: z.ZodOptional<z.ZodBoolean>;
|
|
295
|
-
}, z.core.$loose>>, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
|
|
238
|
+
}, z.core.$loose>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
|
|
296
239
|
SENTRY_ACCESS_TOKEN: z.ZodString;
|
|
297
240
|
SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
|
|
298
241
|
SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
|
|
299
|
-
}, z.core.$strip
|
|
300
|
-
SENTRY_ACCESS_TOKEN: z.ZodString;
|
|
301
|
-
SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
|
|
302
|
-
SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
|
|
303
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
242
|
+
}, z.core.$strip>>], undefined>;
|
|
304
243
|
readonly listOrganizationUserTeams: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
305
244
|
organization_slug: z.ZodOptional<z.ZodString>;
|
|
306
245
|
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
@@ -309,15 +248,11 @@ declare const sentryTeamOperations: {
|
|
|
309
248
|
name: z.ZodString;
|
|
310
249
|
dateCreated: z.ZodOptional<z.ZodISODateTime>;
|
|
311
250
|
isMember: z.ZodOptional<z.ZodBoolean>;
|
|
312
|
-
}, z.core.$loose>>, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
|
|
313
|
-
SENTRY_ACCESS_TOKEN: z.ZodString;
|
|
314
|
-
SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
|
|
315
|
-
SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
|
|
316
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
251
|
+
}, z.core.$loose>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
|
|
317
252
|
SENTRY_ACCESS_TOKEN: z.ZodString;
|
|
318
253
|
SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
|
|
319
254
|
SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
|
|
320
|
-
}, z.core.$strip>>
|
|
255
|
+
}, z.core.$strip>>], undefined>;
|
|
321
256
|
readonly createOrganizationTeam: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
322
257
|
organization_slug: z.ZodOptional<z.ZodString>;
|
|
323
258
|
slug: z.ZodOptional<z.ZodString>;
|
|
@@ -329,15 +264,11 @@ declare const sentryTeamOperations: {
|
|
|
329
264
|
name: z.ZodString;
|
|
330
265
|
dateCreated: z.ZodOptional<z.ZodISODateTime>;
|
|
331
266
|
isMember: z.ZodOptional<z.ZodBoolean>;
|
|
332
|
-
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
|
|
267
|
+
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
|
|
333
268
|
SENTRY_ACCESS_TOKEN: z.ZodString;
|
|
334
269
|
SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
|
|
335
270
|
SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
|
|
336
|
-
}, z.core.$strip
|
|
337
|
-
SENTRY_ACCESS_TOKEN: z.ZodString;
|
|
338
|
-
SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
|
|
339
|
-
SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
|
|
340
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
271
|
+
}, z.core.$strip>>], undefined>;
|
|
341
272
|
readonly retrieveTeamInfoViaOrganizationIdOrSlug: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
342
273
|
organization_slug: z.ZodOptional<z.ZodString>;
|
|
343
274
|
team_slug: z.ZodString;
|
|
@@ -347,15 +278,11 @@ declare const sentryTeamOperations: {
|
|
|
347
278
|
name: z.ZodString;
|
|
348
279
|
dateCreated: z.ZodOptional<z.ZodISODateTime>;
|
|
349
280
|
isMember: z.ZodOptional<z.ZodBoolean>;
|
|
350
|
-
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
|
|
281
|
+
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
|
|
351
282
|
SENTRY_ACCESS_TOKEN: z.ZodString;
|
|
352
283
|
SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
|
|
353
284
|
SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
|
|
354
|
-
}, z.core.$strip
|
|
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>>[] | undefined>], undefined>;
|
|
285
|
+
}, z.core.$strip>>], undefined>;
|
|
359
286
|
readonly updateTeamInformationByOrganizationId: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
360
287
|
organization_slug: z.ZodOptional<z.ZodString>;
|
|
361
288
|
team_slug: z.ZodString;
|
|
@@ -367,27 +294,19 @@ declare const sentryTeamOperations: {
|
|
|
367
294
|
name: z.ZodString;
|
|
368
295
|
dateCreated: z.ZodOptional<z.ZodISODateTime>;
|
|
369
296
|
isMember: z.ZodOptional<z.ZodBoolean>;
|
|
370
|
-
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
|
|
297
|
+
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
|
|
371
298
|
SENTRY_ACCESS_TOKEN: z.ZodString;
|
|
372
299
|
SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
|
|
373
300
|
SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
|
|
374
|
-
}, z.core.$strip
|
|
375
|
-
SENTRY_ACCESS_TOKEN: z.ZodString;
|
|
376
|
-
SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
|
|
377
|
-
SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
|
|
378
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
301
|
+
}, z.core.$strip>>], undefined>;
|
|
379
302
|
readonly deleteTeamByOrganizationOrTeamSlug: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
380
303
|
organization_slug: z.ZodOptional<z.ZodString>;
|
|
381
304
|
team_slug: z.ZodString;
|
|
382
|
-
}, z.core.$strip>, z.ZodUnknown, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
|
|
383
|
-
SENTRY_ACCESS_TOKEN: z.ZodString;
|
|
384
|
-
SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
|
|
385
|
-
SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
|
|
386
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
305
|
+
}, z.core.$strip>, z.ZodUnknown, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
|
|
387
306
|
SENTRY_ACCESS_TOKEN: z.ZodString;
|
|
388
307
|
SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
|
|
389
308
|
SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
|
|
390
|
-
}, z.core.$strip>>
|
|
309
|
+
}, z.core.$strip>>], undefined>;
|
|
391
310
|
readonly addTeamMemberInOrganization: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
392
311
|
organization_slug: z.ZodOptional<z.ZodString>;
|
|
393
312
|
team_slug: z.ZodString;
|
|
@@ -407,15 +326,11 @@ declare const sentryTeamOperations: {
|
|
|
407
326
|
email: z.ZodOptional<z.ZodString>;
|
|
408
327
|
name: z.ZodOptional<z.ZodString>;
|
|
409
328
|
}, z.core.$loose>>>;
|
|
410
|
-
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
|
|
411
|
-
SENTRY_ACCESS_TOKEN: z.ZodString;
|
|
412
|
-
SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
|
|
413
|
-
SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
|
|
414
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
329
|
+
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
|
|
415
330
|
SENTRY_ACCESS_TOKEN: z.ZodString;
|
|
416
331
|
SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
|
|
417
332
|
SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
|
|
418
|
-
}, z.core.$strip>>
|
|
333
|
+
}, z.core.$strip>>], undefined>;
|
|
419
334
|
readonly getTeamMembersByIdOrSlug: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
420
335
|
cursor: z.ZodOptional<z.ZodString>;
|
|
421
336
|
per_page: z.ZodOptional<z.ZodNumber>;
|
|
@@ -437,28 +352,20 @@ declare const sentryTeamOperations: {
|
|
|
437
352
|
email: z.ZodOptional<z.ZodString>;
|
|
438
353
|
name: z.ZodOptional<z.ZodString>;
|
|
439
354
|
}, z.core.$loose>>>;
|
|
440
|
-
}, z.core.$loose>>, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
|
|
355
|
+
}, z.core.$loose>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
|
|
441
356
|
SENTRY_ACCESS_TOKEN: z.ZodString;
|
|
442
357
|
SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
|
|
443
358
|
SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
|
|
444
|
-
}, z.core.$strip
|
|
445
|
-
SENTRY_ACCESS_TOKEN: z.ZodString;
|
|
446
|
-
SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
|
|
447
|
-
SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
|
|
448
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
359
|
+
}, z.core.$strip>>], undefined>;
|
|
449
360
|
readonly deleteMemberFromTeam: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
450
361
|
organization_slug: z.ZodOptional<z.ZodString>;
|
|
451
362
|
team_slug: z.ZodString;
|
|
452
363
|
member_id: z.ZodString;
|
|
453
|
-
}, z.core.$strip>, z.ZodUnknown, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
|
|
454
|
-
SENTRY_ACCESS_TOKEN: z.ZodString;
|
|
455
|
-
SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
|
|
456
|
-
SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
|
|
457
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
364
|
+
}, z.core.$strip>, z.ZodUnknown, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
|
|
458
365
|
SENTRY_ACCESS_TOKEN: z.ZodString;
|
|
459
366
|
SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
|
|
460
367
|
SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
|
|
461
|
-
}, z.core.$strip>>
|
|
368
|
+
}, z.core.$strip>>], undefined>;
|
|
462
369
|
readonly switchTeamRoleForMember: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
463
370
|
organization_slug: z.ZodOptional<z.ZodString>;
|
|
464
371
|
team_slug: z.ZodString;
|
|
@@ -479,15 +386,11 @@ declare const sentryTeamOperations: {
|
|
|
479
386
|
email: z.ZodOptional<z.ZodString>;
|
|
480
387
|
name: z.ZodOptional<z.ZodString>;
|
|
481
388
|
}, z.core.$loose>>>;
|
|
482
|
-
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
|
|
389
|
+
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
|
|
483
390
|
SENTRY_ACCESS_TOKEN: z.ZodString;
|
|
484
391
|
SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
|
|
485
392
|
SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
|
|
486
|
-
}, z.core.$strip
|
|
487
|
-
SENTRY_ACCESS_TOKEN: z.ZodString;
|
|
488
|
-
SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
|
|
489
|
-
SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
|
|
490
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
393
|
+
}, z.core.$strip>>], undefined>;
|
|
491
394
|
readonly retrieveTeamProjects: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
492
395
|
cursor: z.ZodOptional<z.ZodString>;
|
|
493
396
|
per_page: z.ZodOptional<z.ZodNumber>;
|
|
@@ -502,15 +405,11 @@ declare const sentryTeamOperations: {
|
|
|
502
405
|
dateCreated: z.ZodOptional<z.ZodISODateTime>;
|
|
503
406
|
isMember: z.ZodOptional<z.ZodBoolean>;
|
|
504
407
|
status: z.ZodOptional<z.ZodString>;
|
|
505
|
-
}, z.core.$loose>>, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
|
|
408
|
+
}, z.core.$loose>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
|
|
506
409
|
SENTRY_ACCESS_TOKEN: z.ZodString;
|
|
507
410
|
SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
|
|
508
411
|
SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
|
|
509
|
-
}, z.core.$strip
|
|
510
|
-
SENTRY_ACCESS_TOKEN: z.ZodString;
|
|
511
|
-
SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
|
|
512
|
-
SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
|
|
513
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
412
|
+
}, z.core.$strip>>], undefined>;
|
|
514
413
|
readonly manageTeamExternalIntegrations: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
515
414
|
organization_slug: z.ZodOptional<z.ZodString>;
|
|
516
415
|
team_slug: z.ZodString;
|
|
@@ -518,15 +417,11 @@ declare const sentryTeamOperations: {
|
|
|
518
417
|
provider: z.ZodString;
|
|
519
418
|
externalId: z.ZodOptional<z.ZodString>;
|
|
520
419
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
521
|
-
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodUnknown>, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
|
|
420
|
+
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodUnknown>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
|
|
522
421
|
SENTRY_ACCESS_TOKEN: z.ZodString;
|
|
523
422
|
SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
|
|
524
423
|
SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
|
|
525
|
-
}, z.core.$strip
|
|
526
|
-
SENTRY_ACCESS_TOKEN: z.ZodString;
|
|
527
|
-
SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
|
|
528
|
-
SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
|
|
529
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
424
|
+
}, z.core.$strip>>], undefined>;
|
|
530
425
|
readonly updateExternalTeamIntegration: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
531
426
|
organization_slug: z.ZodOptional<z.ZodString>;
|
|
532
427
|
team_slug: z.ZodString;
|
|
@@ -534,28 +429,20 @@ declare const sentryTeamOperations: {
|
|
|
534
429
|
externalName: z.ZodOptional<z.ZodString>;
|
|
535
430
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
536
431
|
externalId: z.ZodOptional<z.ZodString>;
|
|
537
|
-
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodUnknown>, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
|
|
538
|
-
SENTRY_ACCESS_TOKEN: z.ZodString;
|
|
539
|
-
SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
|
|
540
|
-
SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
|
|
541
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
432
|
+
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodUnknown>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
|
|
542
433
|
SENTRY_ACCESS_TOKEN: z.ZodString;
|
|
543
434
|
SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
|
|
544
435
|
SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
|
|
545
|
-
}, z.core.$strip>>
|
|
436
|
+
}, z.core.$strip>>], undefined>;
|
|
546
437
|
readonly deleteExternalTeamById: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
547
438
|
organization_slug: z.ZodOptional<z.ZodString>;
|
|
548
439
|
team_slug: z.ZodString;
|
|
549
440
|
external_team_id: z.ZodString;
|
|
550
|
-
}, z.core.$strip>, z.ZodUnknown, readonly [_keystrokehq_core0.CredentialSet<"sentry", z.ZodObject<{
|
|
551
|
-
SENTRY_ACCESS_TOKEN: z.ZodString;
|
|
552
|
-
SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
|
|
553
|
-
SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
|
|
554
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
441
|
+
}, z.core.$strip>, z.ZodUnknown, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sentry", z.ZodObject<{
|
|
555
442
|
SENTRY_ACCESS_TOKEN: z.ZodString;
|
|
556
443
|
SENTRY_REGION_URL: z.ZodOptional<z.ZodString>;
|
|
557
444
|
SENTRY_ORG_SLUG: z.ZodOptional<z.ZodString>;
|
|
558
|
-
}, z.core.$strip>>
|
|
445
|
+
}, z.core.$strip>>], undefined>;
|
|
559
446
|
};
|
|
560
447
|
//#endregion
|
|
561
448
|
export { addTeamMemberInOrganization, createOrganizationTeam, deleteExternalTeamById, deleteMemberFromTeam, deleteTeamByOrganizationOrTeamSlug, getTeamMembersByIdOrSlug, listOrganizationUserTeams, listTeamsInOrganization, manageTeamExternalIntegrations, retrieveTeamInfoViaOrganizationIdOrSlug, retrieveTeamProjects, sentryTeamOperations, switchTeamRoleForMember, updateExternalTeamIntegration, updateTeamInformationByOrganizationId };
|
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-DcT49a8O.mjs";
|
|
3
3
|
import { t as SENTRY_SCOPE } from "./scopes-RRU0vt-a.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
package/dist/triggers.d.mts
CHANGED
|
@@ -1,65 +1,9 @@
|
|
|
1
1
|
import { createSentryClient } from "./client.mjs";
|
|
2
2
|
import { SentryDiscoverEventsPollResponse } from "./events.mjs";
|
|
3
|
-
import { BoundTrigger
|
|
4
|
-
import {
|
|
5
|
-
import { PollingTriggerManifest
|
|
6
|
-
import { AnyCredentialSet, InferCredentialSetAuth } from "@keystrokehq/core/credential-set";
|
|
3
|
+
import { BoundTrigger } from "@keystrokehq/core";
|
|
4
|
+
import { IntegrationTriggerBindingOptions, createPollingTriggerBindingFactory } from "@keystrokehq/integration-authoring";
|
|
5
|
+
import { PollingTriggerManifest } from "@keystrokehq/core/trigger";
|
|
7
6
|
|
|
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
|
|
63
7
|
//#region src/triggers.d.ts
|
|
64
8
|
type Schedule = Parameters<typeof createPollingTriggerBindingFactory>[0]['schedule'];
|
|
65
9
|
interface DiscoverEventsPollParams {
|
package/dist/triggers.mjs
CHANGED
|
@@ -1,57 +1,7 @@
|
|
|
1
1
|
import { createSentryClient } from "./client.mjs";
|
|
2
2
|
import { sentryDiscoverEventsPollResponseSchema } from "./events.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import { z } from "zod";
|
|
5
|
-
import { pollingTrigger } from "@keystrokehq/core/trigger";
|
|
3
|
+
import { createPollingTriggerBindingFactory } from "@keystrokehq/integration-authoring";
|
|
6
4
|
|
|
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
|
|
55
5
|
//#region src/triggers.ts
|
|
56
6
|
function withDefaultSchedule(schedule) {
|
|
57
7
|
if (schedule === void 0) return "5m";
|