@sentry/junior-google 0.300.0 → 0.302.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.
- package/README.md +8 -4
- package/dist/credentials.d.ts +8 -1
- package/dist/index.js +1075 -976
- package/dist/links/files.d.ts +39 -3
- package/dist/links/thumbnails.d.ts +8 -0
- package/dist/tools/cancel-event.d.ts +86 -4
- package/dist/tools/create-doc.d.ts +86 -4
- package/dist/tools/create-event.d.ts +86 -4
- package/dist/tools/find-meeting-times.d.ts +86 -4
- package/dist/tools/insert-doc-content.d.ts +86 -4
- package/dist/tools/list-events.d.ts +86 -4
- package/dist/tools/list-file-comments.d.ts +86 -4
- package/dist/tools/read-file.d.ts +86 -4
- package/dist/tools/read-meeting-transcript.d.ts +86 -4
- package/dist/tools/replace-doc-content.d.ts +86 -4
- package/dist/tools/replace-doc-text.d.ts +86 -4
- package/dist/tools/search-files.d.ts +86 -4
- package/dist/tools/shared.d.ts +42 -1
- package/dist/tools/update-event.d.ts +86 -4
- package/package.json +4 -2
|
@@ -63,7 +63,7 @@ export declare function findFreeSlots(input: {
|
|
|
63
63
|
*
|
|
64
64
|
* Uses free/busy data and each calendar's time zone only.
|
|
65
65
|
*/
|
|
66
|
-
export declare
|
|
66
|
+
export declare const findMeetingTimesTool: import("@sentry/junior-plugin-api").PluginToolDefinition<{
|
|
67
67
|
attendees: string[];
|
|
68
68
|
optional_attendees: string[];
|
|
69
69
|
duration_minutes: number;
|
|
@@ -84,7 +84,7 @@ export declare function createFindMeetingTimesTool(ctx: GoogleToolContext): impo
|
|
|
84
84
|
kind: "object";
|
|
85
85
|
key: string;
|
|
86
86
|
label: string;
|
|
87
|
-
objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "document" | "item" | "message" | "person" | "task" | "web_page";
|
|
87
|
+
objectType: "automation" | "calendar_event" | "chart" | "code_change" | "conversation" | "deployment" | "document" | "event" | "item" | "message" | "person" | "task" | "trace" | "web_page";
|
|
88
88
|
title: string;
|
|
89
89
|
url: string | null;
|
|
90
90
|
description?: string | undefined;
|
|
@@ -120,6 +120,10 @@ export declare function createFindMeetingTimesTool(ctx: GoogleToolContext): impo
|
|
|
120
120
|
cycle?: string | undefined;
|
|
121
121
|
dueDate?: string | undefined;
|
|
122
122
|
labels?: string[] | undefined;
|
|
123
|
+
trend?: {
|
|
124
|
+
label: string;
|
|
125
|
+
points: number[];
|
|
126
|
+
} | undefined;
|
|
123
127
|
} | {
|
|
124
128
|
type: "deployment";
|
|
125
129
|
summary?: string | undefined;
|
|
@@ -142,6 +146,7 @@ export declare function createFindMeetingTimesTool(ctx: GoogleToolContext): impo
|
|
|
142
146
|
summary?: string | undefined;
|
|
143
147
|
owner?: string | undefined;
|
|
144
148
|
modifiedAt?: string | undefined;
|
|
149
|
+
thumbnailUrl?: string | undefined;
|
|
145
150
|
} | {
|
|
146
151
|
type: "message";
|
|
147
152
|
summary?: string | undefined;
|
|
@@ -153,7 +158,43 @@ export declare function createFindMeetingTimesTool(ctx: GoogleToolContext): impo
|
|
|
153
158
|
summary?: string | undefined;
|
|
154
159
|
siteName?: string | undefined;
|
|
155
160
|
author?: string | undefined;
|
|
161
|
+
media?: "image" | "video" | undefined;
|
|
156
162
|
thumbnailUrl?: string | undefined;
|
|
163
|
+
} | {
|
|
164
|
+
type: "chart";
|
|
165
|
+
summary?: string | undefined;
|
|
166
|
+
display: "area" | "bar" | "line";
|
|
167
|
+
yAxis: string;
|
|
168
|
+
range: string;
|
|
169
|
+
series: {
|
|
170
|
+
label: string;
|
|
171
|
+
points: number[];
|
|
172
|
+
}[];
|
|
173
|
+
} | {
|
|
174
|
+
type: "event";
|
|
175
|
+
summary?: string | undefined;
|
|
176
|
+
level?: string | undefined;
|
|
177
|
+
project?: string | undefined;
|
|
178
|
+
release?: string | undefined;
|
|
179
|
+
environment?: string | undefined;
|
|
180
|
+
occurredAt?: string | undefined;
|
|
181
|
+
} | {
|
|
182
|
+
type: "trace";
|
|
183
|
+
summary?: string | undefined;
|
|
184
|
+
rootOp?: string | undefined;
|
|
185
|
+
rootName?: string | undefined;
|
|
186
|
+
durationMs: number;
|
|
187
|
+
spanCount: number;
|
|
188
|
+
errorCount: number;
|
|
189
|
+
performanceIssueCount: number;
|
|
190
|
+
projects: string[];
|
|
191
|
+
spans: {
|
|
192
|
+
op?: string | undefined;
|
|
193
|
+
name: string;
|
|
194
|
+
startMs: number;
|
|
195
|
+
durationMs: number;
|
|
196
|
+
issue?: boolean | undefined;
|
|
197
|
+
}[];
|
|
157
198
|
} | {
|
|
158
199
|
type: "person";
|
|
159
200
|
summary?: string | undefined;
|
|
@@ -195,7 +236,7 @@ export declare function createFindMeetingTimesTool(ctx: GoogleToolContext): impo
|
|
|
195
236
|
kind: "object";
|
|
196
237
|
key: string;
|
|
197
238
|
label: string;
|
|
198
|
-
objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "document" | "item" | "message" | "person" | "task" | "web_page";
|
|
239
|
+
objectType: "automation" | "calendar_event" | "chart" | "code_change" | "conversation" | "deployment" | "document" | "event" | "item" | "message" | "person" | "task" | "trace" | "web_page";
|
|
199
240
|
title: string;
|
|
200
241
|
url: string | null;
|
|
201
242
|
description?: string | undefined;
|
|
@@ -231,6 +272,10 @@ export declare function createFindMeetingTimesTool(ctx: GoogleToolContext): impo
|
|
|
231
272
|
cycle?: string | undefined;
|
|
232
273
|
dueDate?: string | undefined;
|
|
233
274
|
labels?: string[] | undefined;
|
|
275
|
+
trend?: {
|
|
276
|
+
label: string;
|
|
277
|
+
points: number[];
|
|
278
|
+
} | undefined;
|
|
234
279
|
} | {
|
|
235
280
|
type: "deployment";
|
|
236
281
|
summary?: string | undefined;
|
|
@@ -253,6 +298,7 @@ export declare function createFindMeetingTimesTool(ctx: GoogleToolContext): impo
|
|
|
253
298
|
summary?: string | undefined;
|
|
254
299
|
owner?: string | undefined;
|
|
255
300
|
modifiedAt?: string | undefined;
|
|
301
|
+
thumbnailUrl?: string | undefined;
|
|
256
302
|
} | {
|
|
257
303
|
type: "message";
|
|
258
304
|
summary?: string | undefined;
|
|
@@ -264,7 +310,43 @@ export declare function createFindMeetingTimesTool(ctx: GoogleToolContext): impo
|
|
|
264
310
|
summary?: string | undefined;
|
|
265
311
|
siteName?: string | undefined;
|
|
266
312
|
author?: string | undefined;
|
|
313
|
+
media?: "image" | "video" | undefined;
|
|
267
314
|
thumbnailUrl?: string | undefined;
|
|
315
|
+
} | {
|
|
316
|
+
type: "chart";
|
|
317
|
+
summary?: string | undefined;
|
|
318
|
+
display: "area" | "bar" | "line";
|
|
319
|
+
yAxis: string;
|
|
320
|
+
range: string;
|
|
321
|
+
series: {
|
|
322
|
+
label: string;
|
|
323
|
+
points: number[];
|
|
324
|
+
}[];
|
|
325
|
+
} | {
|
|
326
|
+
type: "event";
|
|
327
|
+
summary?: string | undefined;
|
|
328
|
+
level?: string | undefined;
|
|
329
|
+
project?: string | undefined;
|
|
330
|
+
release?: string | undefined;
|
|
331
|
+
environment?: string | undefined;
|
|
332
|
+
occurredAt?: string | undefined;
|
|
333
|
+
} | {
|
|
334
|
+
type: "trace";
|
|
335
|
+
summary?: string | undefined;
|
|
336
|
+
rootOp?: string | undefined;
|
|
337
|
+
rootName?: string | undefined;
|
|
338
|
+
durationMs: number;
|
|
339
|
+
spanCount: number;
|
|
340
|
+
errorCount: number;
|
|
341
|
+
performanceIssueCount: number;
|
|
342
|
+
projects: string[];
|
|
343
|
+
spans: {
|
|
344
|
+
op?: string | undefined;
|
|
345
|
+
name: string;
|
|
346
|
+
startMs: number;
|
|
347
|
+
durationMs: number;
|
|
348
|
+
issue?: boolean | undefined;
|
|
349
|
+
}[];
|
|
268
350
|
} | {
|
|
269
351
|
type: "person";
|
|
270
352
|
summary?: string | undefined;
|
|
@@ -300,5 +382,5 @@ export declare function createFindMeetingTimesTool(ctx: GoogleToolContext): impo
|
|
|
300
382
|
email: string;
|
|
301
383
|
reason: string;
|
|
302
384
|
}[];
|
|
303
|
-
}>;
|
|
385
|
+
}, GoogleToolContext>;
|
|
304
386
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { GoogleToolContext } from "./shared";
|
|
2
2
|
/** Add Markdown content to the start or end of a Google Doc. */
|
|
3
|
-
export declare
|
|
3
|
+
export declare const insertGoogleDocContentTool: import("@sentry/junior-plugin-api").PluginToolDefinition<{
|
|
4
4
|
document: string;
|
|
5
5
|
content: string;
|
|
6
6
|
revision_id: string;
|
|
@@ -11,7 +11,7 @@ export declare function createInsertGoogleDocContentTool(ctx: GoogleToolContext)
|
|
|
11
11
|
kind: "object";
|
|
12
12
|
key: string;
|
|
13
13
|
label: string;
|
|
14
|
-
objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "document" | "item" | "message" | "person" | "task" | "web_page";
|
|
14
|
+
objectType: "automation" | "calendar_event" | "chart" | "code_change" | "conversation" | "deployment" | "document" | "event" | "item" | "message" | "person" | "task" | "trace" | "web_page";
|
|
15
15
|
title: string;
|
|
16
16
|
url: string | null;
|
|
17
17
|
description?: string | undefined;
|
|
@@ -47,6 +47,10 @@ export declare function createInsertGoogleDocContentTool(ctx: GoogleToolContext)
|
|
|
47
47
|
cycle?: string | undefined;
|
|
48
48
|
dueDate?: string | undefined;
|
|
49
49
|
labels?: string[] | undefined;
|
|
50
|
+
trend?: {
|
|
51
|
+
label: string;
|
|
52
|
+
points: number[];
|
|
53
|
+
} | undefined;
|
|
50
54
|
} | {
|
|
51
55
|
type: "deployment";
|
|
52
56
|
summary?: string | undefined;
|
|
@@ -69,6 +73,7 @@ export declare function createInsertGoogleDocContentTool(ctx: GoogleToolContext)
|
|
|
69
73
|
summary?: string | undefined;
|
|
70
74
|
owner?: string | undefined;
|
|
71
75
|
modifiedAt?: string | undefined;
|
|
76
|
+
thumbnailUrl?: string | undefined;
|
|
72
77
|
} | {
|
|
73
78
|
type: "message";
|
|
74
79
|
summary?: string | undefined;
|
|
@@ -80,7 +85,43 @@ export declare function createInsertGoogleDocContentTool(ctx: GoogleToolContext)
|
|
|
80
85
|
summary?: string | undefined;
|
|
81
86
|
siteName?: string | undefined;
|
|
82
87
|
author?: string | undefined;
|
|
88
|
+
media?: "image" | "video" | undefined;
|
|
83
89
|
thumbnailUrl?: string | undefined;
|
|
90
|
+
} | {
|
|
91
|
+
type: "chart";
|
|
92
|
+
summary?: string | undefined;
|
|
93
|
+
display: "area" | "bar" | "line";
|
|
94
|
+
yAxis: string;
|
|
95
|
+
range: string;
|
|
96
|
+
series: {
|
|
97
|
+
label: string;
|
|
98
|
+
points: number[];
|
|
99
|
+
}[];
|
|
100
|
+
} | {
|
|
101
|
+
type: "event";
|
|
102
|
+
summary?: string | undefined;
|
|
103
|
+
level?: string | undefined;
|
|
104
|
+
project?: string | undefined;
|
|
105
|
+
release?: string | undefined;
|
|
106
|
+
environment?: string | undefined;
|
|
107
|
+
occurredAt?: string | undefined;
|
|
108
|
+
} | {
|
|
109
|
+
type: "trace";
|
|
110
|
+
summary?: string | undefined;
|
|
111
|
+
rootOp?: string | undefined;
|
|
112
|
+
rootName?: string | undefined;
|
|
113
|
+
durationMs: number;
|
|
114
|
+
spanCount: number;
|
|
115
|
+
errorCount: number;
|
|
116
|
+
performanceIssueCount: number;
|
|
117
|
+
projects: string[];
|
|
118
|
+
spans: {
|
|
119
|
+
op?: string | undefined;
|
|
120
|
+
name: string;
|
|
121
|
+
startMs: number;
|
|
122
|
+
durationMs: number;
|
|
123
|
+
issue?: boolean | undefined;
|
|
124
|
+
}[];
|
|
84
125
|
} | {
|
|
85
126
|
type: "person";
|
|
86
127
|
summary?: string | undefined;
|
|
@@ -110,7 +151,7 @@ export declare function createInsertGoogleDocContentTool(ctx: GoogleToolContext)
|
|
|
110
151
|
kind: "object";
|
|
111
152
|
key: string;
|
|
112
153
|
label: string;
|
|
113
|
-
objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "document" | "item" | "message" | "person" | "task" | "web_page";
|
|
154
|
+
objectType: "automation" | "calendar_event" | "chart" | "code_change" | "conversation" | "deployment" | "document" | "event" | "item" | "message" | "person" | "task" | "trace" | "web_page";
|
|
114
155
|
title: string;
|
|
115
156
|
url: string | null;
|
|
116
157
|
description?: string | undefined;
|
|
@@ -146,6 +187,10 @@ export declare function createInsertGoogleDocContentTool(ctx: GoogleToolContext)
|
|
|
146
187
|
cycle?: string | undefined;
|
|
147
188
|
dueDate?: string | undefined;
|
|
148
189
|
labels?: string[] | undefined;
|
|
190
|
+
trend?: {
|
|
191
|
+
label: string;
|
|
192
|
+
points: number[];
|
|
193
|
+
} | undefined;
|
|
149
194
|
} | {
|
|
150
195
|
type: "deployment";
|
|
151
196
|
summary?: string | undefined;
|
|
@@ -168,6 +213,7 @@ export declare function createInsertGoogleDocContentTool(ctx: GoogleToolContext)
|
|
|
168
213
|
summary?: string | undefined;
|
|
169
214
|
owner?: string | undefined;
|
|
170
215
|
modifiedAt?: string | undefined;
|
|
216
|
+
thumbnailUrl?: string | undefined;
|
|
171
217
|
} | {
|
|
172
218
|
type: "message";
|
|
173
219
|
summary?: string | undefined;
|
|
@@ -179,7 +225,43 @@ export declare function createInsertGoogleDocContentTool(ctx: GoogleToolContext)
|
|
|
179
225
|
summary?: string | undefined;
|
|
180
226
|
siteName?: string | undefined;
|
|
181
227
|
author?: string | undefined;
|
|
228
|
+
media?: "image" | "video" | undefined;
|
|
182
229
|
thumbnailUrl?: string | undefined;
|
|
230
|
+
} | {
|
|
231
|
+
type: "chart";
|
|
232
|
+
summary?: string | undefined;
|
|
233
|
+
display: "area" | "bar" | "line";
|
|
234
|
+
yAxis: string;
|
|
235
|
+
range: string;
|
|
236
|
+
series: {
|
|
237
|
+
label: string;
|
|
238
|
+
points: number[];
|
|
239
|
+
}[];
|
|
240
|
+
} | {
|
|
241
|
+
type: "event";
|
|
242
|
+
summary?: string | undefined;
|
|
243
|
+
level?: string | undefined;
|
|
244
|
+
project?: string | undefined;
|
|
245
|
+
release?: string | undefined;
|
|
246
|
+
environment?: string | undefined;
|
|
247
|
+
occurredAt?: string | undefined;
|
|
248
|
+
} | {
|
|
249
|
+
type: "trace";
|
|
250
|
+
summary?: string | undefined;
|
|
251
|
+
rootOp?: string | undefined;
|
|
252
|
+
rootName?: string | undefined;
|
|
253
|
+
durationMs: number;
|
|
254
|
+
spanCount: number;
|
|
255
|
+
errorCount: number;
|
|
256
|
+
performanceIssueCount: number;
|
|
257
|
+
projects: string[];
|
|
258
|
+
spans: {
|
|
259
|
+
op?: string | undefined;
|
|
260
|
+
name: string;
|
|
261
|
+
startMs: number;
|
|
262
|
+
durationMs: number;
|
|
263
|
+
issue?: boolean | undefined;
|
|
264
|
+
}[];
|
|
183
265
|
} | {
|
|
184
266
|
type: "person";
|
|
185
267
|
summary?: string | undefined;
|
|
@@ -203,4 +285,4 @@ export declare function createInsertGoogleDocContentTool(ctx: GoogleToolContext)
|
|
|
203
285
|
title: string;
|
|
204
286
|
url: string;
|
|
205
287
|
target: "insertGoogleDocContent";
|
|
206
|
-
}>;
|
|
288
|
+
}, GoogleToolContext>;
|
|
@@ -6,7 +6,7 @@ import { type GoogleToolContext } from "./shared";
|
|
|
6
6
|
* free/busy only returns busy blocks without titles. Descriptions are never
|
|
7
7
|
* returned, because they often hold links and notes meant only for attendees.
|
|
8
8
|
*/
|
|
9
|
-
export declare
|
|
9
|
+
export declare const listCalendarEventsTool: import("@sentry/junior-plugin-api").PluginToolDefinition<{
|
|
10
10
|
calendar?: string | undefined;
|
|
11
11
|
time_min: string;
|
|
12
12
|
time_max: string;
|
|
@@ -18,7 +18,7 @@ export declare function createListCalendarEventsTool(ctx: GoogleToolContext): im
|
|
|
18
18
|
kind: "object";
|
|
19
19
|
key: string;
|
|
20
20
|
label: string;
|
|
21
|
-
objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "document" | "item" | "message" | "person" | "task" | "web_page";
|
|
21
|
+
objectType: "automation" | "calendar_event" | "chart" | "code_change" | "conversation" | "deployment" | "document" | "event" | "item" | "message" | "person" | "task" | "trace" | "web_page";
|
|
22
22
|
title: string;
|
|
23
23
|
url: string | null;
|
|
24
24
|
description?: string | undefined;
|
|
@@ -54,6 +54,10 @@ export declare function createListCalendarEventsTool(ctx: GoogleToolContext): im
|
|
|
54
54
|
cycle?: string | undefined;
|
|
55
55
|
dueDate?: string | undefined;
|
|
56
56
|
labels?: string[] | undefined;
|
|
57
|
+
trend?: {
|
|
58
|
+
label: string;
|
|
59
|
+
points: number[];
|
|
60
|
+
} | undefined;
|
|
57
61
|
} | {
|
|
58
62
|
type: "deployment";
|
|
59
63
|
summary?: string | undefined;
|
|
@@ -76,6 +80,7 @@ export declare function createListCalendarEventsTool(ctx: GoogleToolContext): im
|
|
|
76
80
|
summary?: string | undefined;
|
|
77
81
|
owner?: string | undefined;
|
|
78
82
|
modifiedAt?: string | undefined;
|
|
83
|
+
thumbnailUrl?: string | undefined;
|
|
79
84
|
} | {
|
|
80
85
|
type: "message";
|
|
81
86
|
summary?: string | undefined;
|
|
@@ -87,7 +92,43 @@ export declare function createListCalendarEventsTool(ctx: GoogleToolContext): im
|
|
|
87
92
|
summary?: string | undefined;
|
|
88
93
|
siteName?: string | undefined;
|
|
89
94
|
author?: string | undefined;
|
|
95
|
+
media?: "image" | "video" | undefined;
|
|
90
96
|
thumbnailUrl?: string | undefined;
|
|
97
|
+
} | {
|
|
98
|
+
type: "chart";
|
|
99
|
+
summary?: string | undefined;
|
|
100
|
+
display: "area" | "bar" | "line";
|
|
101
|
+
yAxis: string;
|
|
102
|
+
range: string;
|
|
103
|
+
series: {
|
|
104
|
+
label: string;
|
|
105
|
+
points: number[];
|
|
106
|
+
}[];
|
|
107
|
+
} | {
|
|
108
|
+
type: "event";
|
|
109
|
+
summary?: string | undefined;
|
|
110
|
+
level?: string | undefined;
|
|
111
|
+
project?: string | undefined;
|
|
112
|
+
release?: string | undefined;
|
|
113
|
+
environment?: string | undefined;
|
|
114
|
+
occurredAt?: string | undefined;
|
|
115
|
+
} | {
|
|
116
|
+
type: "trace";
|
|
117
|
+
summary?: string | undefined;
|
|
118
|
+
rootOp?: string | undefined;
|
|
119
|
+
rootName?: string | undefined;
|
|
120
|
+
durationMs: number;
|
|
121
|
+
spanCount: number;
|
|
122
|
+
errorCount: number;
|
|
123
|
+
performanceIssueCount: number;
|
|
124
|
+
projects: string[];
|
|
125
|
+
spans: {
|
|
126
|
+
op?: string | undefined;
|
|
127
|
+
name: string;
|
|
128
|
+
startMs: number;
|
|
129
|
+
durationMs: number;
|
|
130
|
+
issue?: boolean | undefined;
|
|
131
|
+
}[];
|
|
91
132
|
} | {
|
|
92
133
|
type: "person";
|
|
93
134
|
summary?: string | undefined;
|
|
@@ -134,7 +175,7 @@ export declare function createListCalendarEventsTool(ctx: GoogleToolContext): im
|
|
|
134
175
|
kind: "object";
|
|
135
176
|
key: string;
|
|
136
177
|
label: string;
|
|
137
|
-
objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "document" | "item" | "message" | "person" | "task" | "web_page";
|
|
178
|
+
objectType: "automation" | "calendar_event" | "chart" | "code_change" | "conversation" | "deployment" | "document" | "event" | "item" | "message" | "person" | "task" | "trace" | "web_page";
|
|
138
179
|
title: string;
|
|
139
180
|
url: string | null;
|
|
140
181
|
description?: string | undefined;
|
|
@@ -170,6 +211,10 @@ export declare function createListCalendarEventsTool(ctx: GoogleToolContext): im
|
|
|
170
211
|
cycle?: string | undefined;
|
|
171
212
|
dueDate?: string | undefined;
|
|
172
213
|
labels?: string[] | undefined;
|
|
214
|
+
trend?: {
|
|
215
|
+
label: string;
|
|
216
|
+
points: number[];
|
|
217
|
+
} | undefined;
|
|
173
218
|
} | {
|
|
174
219
|
type: "deployment";
|
|
175
220
|
summary?: string | undefined;
|
|
@@ -192,6 +237,7 @@ export declare function createListCalendarEventsTool(ctx: GoogleToolContext): im
|
|
|
192
237
|
summary?: string | undefined;
|
|
193
238
|
owner?: string | undefined;
|
|
194
239
|
modifiedAt?: string | undefined;
|
|
240
|
+
thumbnailUrl?: string | undefined;
|
|
195
241
|
} | {
|
|
196
242
|
type: "message";
|
|
197
243
|
summary?: string | undefined;
|
|
@@ -203,7 +249,43 @@ export declare function createListCalendarEventsTool(ctx: GoogleToolContext): im
|
|
|
203
249
|
summary?: string | undefined;
|
|
204
250
|
siteName?: string | undefined;
|
|
205
251
|
author?: string | undefined;
|
|
252
|
+
media?: "image" | "video" | undefined;
|
|
206
253
|
thumbnailUrl?: string | undefined;
|
|
254
|
+
} | {
|
|
255
|
+
type: "chart";
|
|
256
|
+
summary?: string | undefined;
|
|
257
|
+
display: "area" | "bar" | "line";
|
|
258
|
+
yAxis: string;
|
|
259
|
+
range: string;
|
|
260
|
+
series: {
|
|
261
|
+
label: string;
|
|
262
|
+
points: number[];
|
|
263
|
+
}[];
|
|
264
|
+
} | {
|
|
265
|
+
type: "event";
|
|
266
|
+
summary?: string | undefined;
|
|
267
|
+
level?: string | undefined;
|
|
268
|
+
project?: string | undefined;
|
|
269
|
+
release?: string | undefined;
|
|
270
|
+
environment?: string | undefined;
|
|
271
|
+
occurredAt?: string | undefined;
|
|
272
|
+
} | {
|
|
273
|
+
type: "trace";
|
|
274
|
+
summary?: string | undefined;
|
|
275
|
+
rootOp?: string | undefined;
|
|
276
|
+
rootName?: string | undefined;
|
|
277
|
+
durationMs: number;
|
|
278
|
+
spanCount: number;
|
|
279
|
+
errorCount: number;
|
|
280
|
+
performanceIssueCount: number;
|
|
281
|
+
projects: string[];
|
|
282
|
+
spans: {
|
|
283
|
+
op?: string | undefined;
|
|
284
|
+
name: string;
|
|
285
|
+
startMs: number;
|
|
286
|
+
durationMs: number;
|
|
287
|
+
issue?: boolean | undefined;
|
|
288
|
+
}[];
|
|
207
289
|
} | {
|
|
208
290
|
type: "person";
|
|
209
291
|
summary?: string | undefined;
|
|
@@ -244,4 +326,4 @@ export declare function createListCalendarEventsTool(ctx: GoogleToolContext): im
|
|
|
244
326
|
time_zone: string;
|
|
245
327
|
truncated: boolean;
|
|
246
328
|
visible: boolean;
|
|
247
|
-
}>;
|
|
329
|
+
}, GoogleToolContext>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { GoogleToolContext } from "./shared";
|
|
2
2
|
/** List the comments and replies on one Google Doc, Sheet, or Slides file. */
|
|
3
|
-
export declare
|
|
3
|
+
export declare const listGoogleFileCommentsTool: import("@sentry/junior-plugin-api").PluginToolDefinition<{
|
|
4
4
|
file: string;
|
|
5
5
|
page_token?: string | undefined;
|
|
6
6
|
}, {
|
|
@@ -9,7 +9,7 @@ export declare function createListGoogleFileCommentsTool(ctx: GoogleToolContext)
|
|
|
9
9
|
kind: "object";
|
|
10
10
|
key: string;
|
|
11
11
|
label: string;
|
|
12
|
-
objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "document" | "item" | "message" | "person" | "task" | "web_page";
|
|
12
|
+
objectType: "automation" | "calendar_event" | "chart" | "code_change" | "conversation" | "deployment" | "document" | "event" | "item" | "message" | "person" | "task" | "trace" | "web_page";
|
|
13
13
|
title: string;
|
|
14
14
|
url: string | null;
|
|
15
15
|
description?: string | undefined;
|
|
@@ -45,6 +45,10 @@ export declare function createListGoogleFileCommentsTool(ctx: GoogleToolContext)
|
|
|
45
45
|
cycle?: string | undefined;
|
|
46
46
|
dueDate?: string | undefined;
|
|
47
47
|
labels?: string[] | undefined;
|
|
48
|
+
trend?: {
|
|
49
|
+
label: string;
|
|
50
|
+
points: number[];
|
|
51
|
+
} | undefined;
|
|
48
52
|
} | {
|
|
49
53
|
type: "deployment";
|
|
50
54
|
summary?: string | undefined;
|
|
@@ -67,6 +71,7 @@ export declare function createListGoogleFileCommentsTool(ctx: GoogleToolContext)
|
|
|
67
71
|
summary?: string | undefined;
|
|
68
72
|
owner?: string | undefined;
|
|
69
73
|
modifiedAt?: string | undefined;
|
|
74
|
+
thumbnailUrl?: string | undefined;
|
|
70
75
|
} | {
|
|
71
76
|
type: "message";
|
|
72
77
|
summary?: string | undefined;
|
|
@@ -78,7 +83,43 @@ export declare function createListGoogleFileCommentsTool(ctx: GoogleToolContext)
|
|
|
78
83
|
summary?: string | undefined;
|
|
79
84
|
siteName?: string | undefined;
|
|
80
85
|
author?: string | undefined;
|
|
86
|
+
media?: "image" | "video" | undefined;
|
|
81
87
|
thumbnailUrl?: string | undefined;
|
|
88
|
+
} | {
|
|
89
|
+
type: "chart";
|
|
90
|
+
summary?: string | undefined;
|
|
91
|
+
display: "area" | "bar" | "line";
|
|
92
|
+
yAxis: string;
|
|
93
|
+
range: string;
|
|
94
|
+
series: {
|
|
95
|
+
label: string;
|
|
96
|
+
points: number[];
|
|
97
|
+
}[];
|
|
98
|
+
} | {
|
|
99
|
+
type: "event";
|
|
100
|
+
summary?: string | undefined;
|
|
101
|
+
level?: string | undefined;
|
|
102
|
+
project?: string | undefined;
|
|
103
|
+
release?: string | undefined;
|
|
104
|
+
environment?: string | undefined;
|
|
105
|
+
occurredAt?: string | undefined;
|
|
106
|
+
} | {
|
|
107
|
+
type: "trace";
|
|
108
|
+
summary?: string | undefined;
|
|
109
|
+
rootOp?: string | undefined;
|
|
110
|
+
rootName?: string | undefined;
|
|
111
|
+
durationMs: number;
|
|
112
|
+
spanCount: number;
|
|
113
|
+
errorCount: number;
|
|
114
|
+
performanceIssueCount: number;
|
|
115
|
+
projects: string[];
|
|
116
|
+
spans: {
|
|
117
|
+
op?: string | undefined;
|
|
118
|
+
name: string;
|
|
119
|
+
startMs: number;
|
|
120
|
+
durationMs: number;
|
|
121
|
+
issue?: boolean | undefined;
|
|
122
|
+
}[];
|
|
82
123
|
} | {
|
|
83
124
|
type: "person";
|
|
84
125
|
summary?: string | undefined;
|
|
@@ -120,7 +161,7 @@ export declare function createListGoogleFileCommentsTool(ctx: GoogleToolContext)
|
|
|
120
161
|
kind: "object";
|
|
121
162
|
key: string;
|
|
122
163
|
label: string;
|
|
123
|
-
objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "document" | "item" | "message" | "person" | "task" | "web_page";
|
|
164
|
+
objectType: "automation" | "calendar_event" | "chart" | "code_change" | "conversation" | "deployment" | "document" | "event" | "item" | "message" | "person" | "task" | "trace" | "web_page";
|
|
124
165
|
title: string;
|
|
125
166
|
url: string | null;
|
|
126
167
|
description?: string | undefined;
|
|
@@ -156,6 +197,10 @@ export declare function createListGoogleFileCommentsTool(ctx: GoogleToolContext)
|
|
|
156
197
|
cycle?: string | undefined;
|
|
157
198
|
dueDate?: string | undefined;
|
|
158
199
|
labels?: string[] | undefined;
|
|
200
|
+
trend?: {
|
|
201
|
+
label: string;
|
|
202
|
+
points: number[];
|
|
203
|
+
} | undefined;
|
|
159
204
|
} | {
|
|
160
205
|
type: "deployment";
|
|
161
206
|
summary?: string | undefined;
|
|
@@ -178,6 +223,7 @@ export declare function createListGoogleFileCommentsTool(ctx: GoogleToolContext)
|
|
|
178
223
|
summary?: string | undefined;
|
|
179
224
|
owner?: string | undefined;
|
|
180
225
|
modifiedAt?: string | undefined;
|
|
226
|
+
thumbnailUrl?: string | undefined;
|
|
181
227
|
} | {
|
|
182
228
|
type: "message";
|
|
183
229
|
summary?: string | undefined;
|
|
@@ -189,7 +235,43 @@ export declare function createListGoogleFileCommentsTool(ctx: GoogleToolContext)
|
|
|
189
235
|
summary?: string | undefined;
|
|
190
236
|
siteName?: string | undefined;
|
|
191
237
|
author?: string | undefined;
|
|
238
|
+
media?: "image" | "video" | undefined;
|
|
192
239
|
thumbnailUrl?: string | undefined;
|
|
240
|
+
} | {
|
|
241
|
+
type: "chart";
|
|
242
|
+
summary?: string | undefined;
|
|
243
|
+
display: "area" | "bar" | "line";
|
|
244
|
+
yAxis: string;
|
|
245
|
+
range: string;
|
|
246
|
+
series: {
|
|
247
|
+
label: string;
|
|
248
|
+
points: number[];
|
|
249
|
+
}[];
|
|
250
|
+
} | {
|
|
251
|
+
type: "event";
|
|
252
|
+
summary?: string | undefined;
|
|
253
|
+
level?: string | undefined;
|
|
254
|
+
project?: string | undefined;
|
|
255
|
+
release?: string | undefined;
|
|
256
|
+
environment?: string | undefined;
|
|
257
|
+
occurredAt?: string | undefined;
|
|
258
|
+
} | {
|
|
259
|
+
type: "trace";
|
|
260
|
+
summary?: string | undefined;
|
|
261
|
+
rootOp?: string | undefined;
|
|
262
|
+
rootName?: string | undefined;
|
|
263
|
+
durationMs: number;
|
|
264
|
+
spanCount: number;
|
|
265
|
+
errorCount: number;
|
|
266
|
+
performanceIssueCount: number;
|
|
267
|
+
projects: string[];
|
|
268
|
+
spans: {
|
|
269
|
+
op?: string | undefined;
|
|
270
|
+
name: string;
|
|
271
|
+
startMs: number;
|
|
272
|
+
durationMs: number;
|
|
273
|
+
issue?: boolean | undefined;
|
|
274
|
+
}[];
|
|
193
275
|
} | {
|
|
194
276
|
type: "person";
|
|
195
277
|
summary?: string | undefined;
|
|
@@ -225,4 +307,4 @@ export declare function createListGoogleFileCommentsTool(ctx: GoogleToolContext)
|
|
|
225
307
|
}[];
|
|
226
308
|
file_id: string;
|
|
227
309
|
next_page_token?: string | undefined;
|
|
228
|
-
}>;
|
|
310
|
+
}, GoogleToolContext>;
|