@sentry/junior-google 0.301.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 +1044 -973
- 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 +2 -2
|
@@ -7,7 +7,7 @@ import type { GoogleToolContext } from "./shared";
|
|
|
7
7
|
* must have that type. A bare file id, or a Drive link, takes the type from
|
|
8
8
|
* the file's Drive MIME type.
|
|
9
9
|
*/
|
|
10
|
-
export declare
|
|
10
|
+
export declare const readGoogleFileTool: import("@sentry/junior-plugin-api").PluginToolDefinition<{
|
|
11
11
|
file: string;
|
|
12
12
|
range?: string | undefined;
|
|
13
13
|
}, {
|
|
@@ -16,7 +16,7 @@ export declare function createReadGoogleFileTool(ctx: GoogleToolContext): import
|
|
|
16
16
|
kind: "object";
|
|
17
17
|
key: string;
|
|
18
18
|
label: string;
|
|
19
|
-
objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "document" | "item" | "message" | "person" | "task" | "web_page";
|
|
19
|
+
objectType: "automation" | "calendar_event" | "chart" | "code_change" | "conversation" | "deployment" | "document" | "event" | "item" | "message" | "person" | "task" | "trace" | "web_page";
|
|
20
20
|
title: string;
|
|
21
21
|
url: string | null;
|
|
22
22
|
description?: string | undefined;
|
|
@@ -52,6 +52,10 @@ export declare function createReadGoogleFileTool(ctx: GoogleToolContext): import
|
|
|
52
52
|
cycle?: string | undefined;
|
|
53
53
|
dueDate?: string | undefined;
|
|
54
54
|
labels?: string[] | undefined;
|
|
55
|
+
trend?: {
|
|
56
|
+
label: string;
|
|
57
|
+
points: number[];
|
|
58
|
+
} | undefined;
|
|
55
59
|
} | {
|
|
56
60
|
type: "deployment";
|
|
57
61
|
summary?: string | undefined;
|
|
@@ -74,6 +78,7 @@ export declare function createReadGoogleFileTool(ctx: GoogleToolContext): import
|
|
|
74
78
|
summary?: string | undefined;
|
|
75
79
|
owner?: string | undefined;
|
|
76
80
|
modifiedAt?: string | undefined;
|
|
81
|
+
thumbnailUrl?: string | undefined;
|
|
77
82
|
} | {
|
|
78
83
|
type: "message";
|
|
79
84
|
summary?: string | undefined;
|
|
@@ -85,7 +90,43 @@ export declare function createReadGoogleFileTool(ctx: GoogleToolContext): import
|
|
|
85
90
|
summary?: string | undefined;
|
|
86
91
|
siteName?: string | undefined;
|
|
87
92
|
author?: string | undefined;
|
|
93
|
+
media?: "image" | "video" | undefined;
|
|
88
94
|
thumbnailUrl?: string | undefined;
|
|
95
|
+
} | {
|
|
96
|
+
type: "chart";
|
|
97
|
+
summary?: string | undefined;
|
|
98
|
+
display: "area" | "bar" | "line";
|
|
99
|
+
yAxis: string;
|
|
100
|
+
range: string;
|
|
101
|
+
series: {
|
|
102
|
+
label: string;
|
|
103
|
+
points: number[];
|
|
104
|
+
}[];
|
|
105
|
+
} | {
|
|
106
|
+
type: "event";
|
|
107
|
+
summary?: string | undefined;
|
|
108
|
+
level?: string | undefined;
|
|
109
|
+
project?: string | undefined;
|
|
110
|
+
release?: string | undefined;
|
|
111
|
+
environment?: string | undefined;
|
|
112
|
+
occurredAt?: string | undefined;
|
|
113
|
+
} | {
|
|
114
|
+
type: "trace";
|
|
115
|
+
summary?: string | undefined;
|
|
116
|
+
rootOp?: string | undefined;
|
|
117
|
+
rootName?: string | undefined;
|
|
118
|
+
durationMs: number;
|
|
119
|
+
spanCount: number;
|
|
120
|
+
errorCount: number;
|
|
121
|
+
performanceIssueCount: number;
|
|
122
|
+
projects: string[];
|
|
123
|
+
spans: {
|
|
124
|
+
op?: string | undefined;
|
|
125
|
+
name: string;
|
|
126
|
+
startMs: number;
|
|
127
|
+
durationMs: number;
|
|
128
|
+
issue?: boolean | undefined;
|
|
129
|
+
}[];
|
|
89
130
|
} | {
|
|
90
131
|
type: "person";
|
|
91
132
|
summary?: string | undefined;
|
|
@@ -130,7 +171,7 @@ export declare function createReadGoogleFileTool(ctx: GoogleToolContext): import
|
|
|
130
171
|
kind: "object";
|
|
131
172
|
key: string;
|
|
132
173
|
label: string;
|
|
133
|
-
objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "document" | "item" | "message" | "person" | "task" | "web_page";
|
|
174
|
+
objectType: "automation" | "calendar_event" | "chart" | "code_change" | "conversation" | "deployment" | "document" | "event" | "item" | "message" | "person" | "task" | "trace" | "web_page";
|
|
134
175
|
title: string;
|
|
135
176
|
url: string | null;
|
|
136
177
|
description?: string | undefined;
|
|
@@ -166,6 +207,10 @@ export declare function createReadGoogleFileTool(ctx: GoogleToolContext): import
|
|
|
166
207
|
cycle?: string | undefined;
|
|
167
208
|
dueDate?: string | undefined;
|
|
168
209
|
labels?: string[] | undefined;
|
|
210
|
+
trend?: {
|
|
211
|
+
label: string;
|
|
212
|
+
points: number[];
|
|
213
|
+
} | undefined;
|
|
169
214
|
} | {
|
|
170
215
|
type: "deployment";
|
|
171
216
|
summary?: string | undefined;
|
|
@@ -188,6 +233,7 @@ export declare function createReadGoogleFileTool(ctx: GoogleToolContext): import
|
|
|
188
233
|
summary?: string | undefined;
|
|
189
234
|
owner?: string | undefined;
|
|
190
235
|
modifiedAt?: string | undefined;
|
|
236
|
+
thumbnailUrl?: string | undefined;
|
|
191
237
|
} | {
|
|
192
238
|
type: "message";
|
|
193
239
|
summary?: string | undefined;
|
|
@@ -199,7 +245,43 @@ export declare function createReadGoogleFileTool(ctx: GoogleToolContext): import
|
|
|
199
245
|
summary?: string | undefined;
|
|
200
246
|
siteName?: string | undefined;
|
|
201
247
|
author?: string | undefined;
|
|
248
|
+
media?: "image" | "video" | undefined;
|
|
202
249
|
thumbnailUrl?: string | undefined;
|
|
250
|
+
} | {
|
|
251
|
+
type: "chart";
|
|
252
|
+
summary?: string | undefined;
|
|
253
|
+
display: "area" | "bar" | "line";
|
|
254
|
+
yAxis: string;
|
|
255
|
+
range: string;
|
|
256
|
+
series: {
|
|
257
|
+
label: string;
|
|
258
|
+
points: number[];
|
|
259
|
+
}[];
|
|
260
|
+
} | {
|
|
261
|
+
type: "event";
|
|
262
|
+
summary?: string | undefined;
|
|
263
|
+
level?: string | undefined;
|
|
264
|
+
project?: string | undefined;
|
|
265
|
+
release?: string | undefined;
|
|
266
|
+
environment?: string | undefined;
|
|
267
|
+
occurredAt?: string | undefined;
|
|
268
|
+
} | {
|
|
269
|
+
type: "trace";
|
|
270
|
+
summary?: string | undefined;
|
|
271
|
+
rootOp?: string | undefined;
|
|
272
|
+
rootName?: string | undefined;
|
|
273
|
+
durationMs: number;
|
|
274
|
+
spanCount: number;
|
|
275
|
+
errorCount: number;
|
|
276
|
+
performanceIssueCount: number;
|
|
277
|
+
projects: string[];
|
|
278
|
+
spans: {
|
|
279
|
+
op?: string | undefined;
|
|
280
|
+
name: string;
|
|
281
|
+
startMs: number;
|
|
282
|
+
durationMs: number;
|
|
283
|
+
issue?: boolean | undefined;
|
|
284
|
+
}[];
|
|
203
285
|
} | {
|
|
204
286
|
type: "person";
|
|
205
287
|
summary?: string | undefined;
|
|
@@ -238,4 +320,4 @@ export declare function createReadGoogleFileTool(ctx: GoogleToolContext): import
|
|
|
238
320
|
truncated: boolean;
|
|
239
321
|
type: "document" | "presentation" | "spreadsheet";
|
|
240
322
|
url?: string | undefined;
|
|
241
|
-
}>;
|
|
323
|
+
}, GoogleToolContext>;
|
|
@@ -7,7 +7,7 @@ import { type GoogleToolContext } from "./shared";
|
|
|
7
7
|
* attached Docs that the organizer owns and that were made for this meeting.
|
|
8
8
|
* Never match transcripts on titles. Transcript text is untrusted.
|
|
9
9
|
*/
|
|
10
|
-
export declare
|
|
10
|
+
export declare const readMeetingTranscriptTool: import("@sentry/junior-plugin-api").PluginToolDefinition<{
|
|
11
11
|
event_id: string;
|
|
12
12
|
}, {
|
|
13
13
|
[x: string]: unknown;
|
|
@@ -15,7 +15,7 @@ export declare function createReadMeetingTranscriptTool(ctx: GoogleToolContext):
|
|
|
15
15
|
kind: "object";
|
|
16
16
|
key: string;
|
|
17
17
|
label: string;
|
|
18
|
-
objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "document" | "item" | "message" | "person" | "task" | "web_page";
|
|
18
|
+
objectType: "automation" | "calendar_event" | "chart" | "code_change" | "conversation" | "deployment" | "document" | "event" | "item" | "message" | "person" | "task" | "trace" | "web_page";
|
|
19
19
|
title: string;
|
|
20
20
|
url: string | null;
|
|
21
21
|
description?: string | undefined;
|
|
@@ -51,6 +51,10 @@ export declare function createReadMeetingTranscriptTool(ctx: GoogleToolContext):
|
|
|
51
51
|
cycle?: string | undefined;
|
|
52
52
|
dueDate?: string | undefined;
|
|
53
53
|
labels?: string[] | undefined;
|
|
54
|
+
trend?: {
|
|
55
|
+
label: string;
|
|
56
|
+
points: number[];
|
|
57
|
+
} | undefined;
|
|
54
58
|
} | {
|
|
55
59
|
type: "deployment";
|
|
56
60
|
summary?: string | undefined;
|
|
@@ -73,6 +77,7 @@ export declare function createReadMeetingTranscriptTool(ctx: GoogleToolContext):
|
|
|
73
77
|
summary?: string | undefined;
|
|
74
78
|
owner?: string | undefined;
|
|
75
79
|
modifiedAt?: string | undefined;
|
|
80
|
+
thumbnailUrl?: string | undefined;
|
|
76
81
|
} | {
|
|
77
82
|
type: "message";
|
|
78
83
|
summary?: string | undefined;
|
|
@@ -84,7 +89,43 @@ export declare function createReadMeetingTranscriptTool(ctx: GoogleToolContext):
|
|
|
84
89
|
summary?: string | undefined;
|
|
85
90
|
siteName?: string | undefined;
|
|
86
91
|
author?: string | undefined;
|
|
92
|
+
media?: "image" | "video" | undefined;
|
|
87
93
|
thumbnailUrl?: string | undefined;
|
|
94
|
+
} | {
|
|
95
|
+
type: "chart";
|
|
96
|
+
summary?: string | undefined;
|
|
97
|
+
display: "area" | "bar" | "line";
|
|
98
|
+
yAxis: string;
|
|
99
|
+
range: string;
|
|
100
|
+
series: {
|
|
101
|
+
label: string;
|
|
102
|
+
points: number[];
|
|
103
|
+
}[];
|
|
104
|
+
} | {
|
|
105
|
+
type: "event";
|
|
106
|
+
summary?: string | undefined;
|
|
107
|
+
level?: string | undefined;
|
|
108
|
+
project?: string | undefined;
|
|
109
|
+
release?: string | undefined;
|
|
110
|
+
environment?: string | undefined;
|
|
111
|
+
occurredAt?: string | undefined;
|
|
112
|
+
} | {
|
|
113
|
+
type: "trace";
|
|
114
|
+
summary?: string | undefined;
|
|
115
|
+
rootOp?: string | undefined;
|
|
116
|
+
rootName?: string | undefined;
|
|
117
|
+
durationMs: number;
|
|
118
|
+
spanCount: number;
|
|
119
|
+
errorCount: number;
|
|
120
|
+
performanceIssueCount: number;
|
|
121
|
+
projects: string[];
|
|
122
|
+
spans: {
|
|
123
|
+
op?: string | undefined;
|
|
124
|
+
name: string;
|
|
125
|
+
startMs: number;
|
|
126
|
+
durationMs: number;
|
|
127
|
+
issue?: boolean | undefined;
|
|
128
|
+
}[];
|
|
88
129
|
} | {
|
|
89
130
|
type: "person";
|
|
90
131
|
summary?: string | undefined;
|
|
@@ -121,7 +162,7 @@ export declare function createReadMeetingTranscriptTool(ctx: GoogleToolContext):
|
|
|
121
162
|
kind: "object";
|
|
122
163
|
key: string;
|
|
123
164
|
label: string;
|
|
124
|
-
objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "document" | "item" | "message" | "person" | "task" | "web_page";
|
|
165
|
+
objectType: "automation" | "calendar_event" | "chart" | "code_change" | "conversation" | "deployment" | "document" | "event" | "item" | "message" | "person" | "task" | "trace" | "web_page";
|
|
125
166
|
title: string;
|
|
126
167
|
url: string | null;
|
|
127
168
|
description?: string | undefined;
|
|
@@ -157,6 +198,10 @@ export declare function createReadMeetingTranscriptTool(ctx: GoogleToolContext):
|
|
|
157
198
|
cycle?: string | undefined;
|
|
158
199
|
dueDate?: string | undefined;
|
|
159
200
|
labels?: string[] | undefined;
|
|
201
|
+
trend?: {
|
|
202
|
+
label: string;
|
|
203
|
+
points: number[];
|
|
204
|
+
} | undefined;
|
|
160
205
|
} | {
|
|
161
206
|
type: "deployment";
|
|
162
207
|
summary?: string | undefined;
|
|
@@ -179,6 +224,7 @@ export declare function createReadMeetingTranscriptTool(ctx: GoogleToolContext):
|
|
|
179
224
|
summary?: string | undefined;
|
|
180
225
|
owner?: string | undefined;
|
|
181
226
|
modifiedAt?: string | undefined;
|
|
227
|
+
thumbnailUrl?: string | undefined;
|
|
182
228
|
} | {
|
|
183
229
|
type: "message";
|
|
184
230
|
summary?: string | undefined;
|
|
@@ -190,7 +236,43 @@ export declare function createReadMeetingTranscriptTool(ctx: GoogleToolContext):
|
|
|
190
236
|
summary?: string | undefined;
|
|
191
237
|
siteName?: string | undefined;
|
|
192
238
|
author?: string | undefined;
|
|
239
|
+
media?: "image" | "video" | undefined;
|
|
193
240
|
thumbnailUrl?: string | undefined;
|
|
241
|
+
} | {
|
|
242
|
+
type: "chart";
|
|
243
|
+
summary?: string | undefined;
|
|
244
|
+
display: "area" | "bar" | "line";
|
|
245
|
+
yAxis: string;
|
|
246
|
+
range: string;
|
|
247
|
+
series: {
|
|
248
|
+
label: string;
|
|
249
|
+
points: number[];
|
|
250
|
+
}[];
|
|
251
|
+
} | {
|
|
252
|
+
type: "event";
|
|
253
|
+
summary?: string | undefined;
|
|
254
|
+
level?: string | undefined;
|
|
255
|
+
project?: string | undefined;
|
|
256
|
+
release?: string | undefined;
|
|
257
|
+
environment?: string | undefined;
|
|
258
|
+
occurredAt?: string | undefined;
|
|
259
|
+
} | {
|
|
260
|
+
type: "trace";
|
|
261
|
+
summary?: string | undefined;
|
|
262
|
+
rootOp?: string | undefined;
|
|
263
|
+
rootName?: string | undefined;
|
|
264
|
+
durationMs: number;
|
|
265
|
+
spanCount: number;
|
|
266
|
+
errorCount: number;
|
|
267
|
+
performanceIssueCount: number;
|
|
268
|
+
projects: string[];
|
|
269
|
+
spans: {
|
|
270
|
+
op?: string | undefined;
|
|
271
|
+
name: string;
|
|
272
|
+
startMs: number;
|
|
273
|
+
durationMs: number;
|
|
274
|
+
issue?: boolean | undefined;
|
|
275
|
+
}[];
|
|
194
276
|
} | {
|
|
195
277
|
type: "person";
|
|
196
278
|
summary?: string | undefined;
|
|
@@ -221,4 +303,4 @@ export declare function createReadMeetingTranscriptTool(ctx: GoogleToolContext):
|
|
|
221
303
|
status: "no_record" | "ok";
|
|
222
304
|
title?: string | undefined;
|
|
223
305
|
truncated: boolean;
|
|
224
|
-
}>;
|
|
306
|
+
}, GoogleToolContext>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { GoogleToolContext } from "./shared";
|
|
2
2
|
/** Replace the whole body of a Google Doc with Markdown content. */
|
|
3
|
-
export declare
|
|
3
|
+
export declare const replaceGoogleDocContentTool: import("@sentry/junior-plugin-api").PluginToolDefinition<{
|
|
4
4
|
document: string;
|
|
5
5
|
content: string;
|
|
6
6
|
revision_id: string;
|
|
@@ -10,7 +10,7 @@ export declare function createReplaceGoogleDocContentTool(ctx: GoogleToolContext
|
|
|
10
10
|
kind: "object";
|
|
11
11
|
key: string;
|
|
12
12
|
label: string;
|
|
13
|
-
objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "document" | "item" | "message" | "person" | "task" | "web_page";
|
|
13
|
+
objectType: "automation" | "calendar_event" | "chart" | "code_change" | "conversation" | "deployment" | "document" | "event" | "item" | "message" | "person" | "task" | "trace" | "web_page";
|
|
14
14
|
title: string;
|
|
15
15
|
url: string | null;
|
|
16
16
|
description?: string | undefined;
|
|
@@ -46,6 +46,10 @@ export declare function createReplaceGoogleDocContentTool(ctx: GoogleToolContext
|
|
|
46
46
|
cycle?: string | undefined;
|
|
47
47
|
dueDate?: string | undefined;
|
|
48
48
|
labels?: string[] | undefined;
|
|
49
|
+
trend?: {
|
|
50
|
+
label: string;
|
|
51
|
+
points: number[];
|
|
52
|
+
} | undefined;
|
|
49
53
|
} | {
|
|
50
54
|
type: "deployment";
|
|
51
55
|
summary?: string | undefined;
|
|
@@ -68,6 +72,7 @@ export declare function createReplaceGoogleDocContentTool(ctx: GoogleToolContext
|
|
|
68
72
|
summary?: string | undefined;
|
|
69
73
|
owner?: string | undefined;
|
|
70
74
|
modifiedAt?: string | undefined;
|
|
75
|
+
thumbnailUrl?: string | undefined;
|
|
71
76
|
} | {
|
|
72
77
|
type: "message";
|
|
73
78
|
summary?: string | undefined;
|
|
@@ -79,7 +84,43 @@ export declare function createReplaceGoogleDocContentTool(ctx: GoogleToolContext
|
|
|
79
84
|
summary?: string | undefined;
|
|
80
85
|
siteName?: string | undefined;
|
|
81
86
|
author?: string | undefined;
|
|
87
|
+
media?: "image" | "video" | undefined;
|
|
82
88
|
thumbnailUrl?: string | undefined;
|
|
89
|
+
} | {
|
|
90
|
+
type: "chart";
|
|
91
|
+
summary?: string | undefined;
|
|
92
|
+
display: "area" | "bar" | "line";
|
|
93
|
+
yAxis: string;
|
|
94
|
+
range: string;
|
|
95
|
+
series: {
|
|
96
|
+
label: string;
|
|
97
|
+
points: number[];
|
|
98
|
+
}[];
|
|
99
|
+
} | {
|
|
100
|
+
type: "event";
|
|
101
|
+
summary?: string | undefined;
|
|
102
|
+
level?: string | undefined;
|
|
103
|
+
project?: string | undefined;
|
|
104
|
+
release?: string | undefined;
|
|
105
|
+
environment?: string | undefined;
|
|
106
|
+
occurredAt?: string | undefined;
|
|
107
|
+
} | {
|
|
108
|
+
type: "trace";
|
|
109
|
+
summary?: string | undefined;
|
|
110
|
+
rootOp?: string | undefined;
|
|
111
|
+
rootName?: string | undefined;
|
|
112
|
+
durationMs: number;
|
|
113
|
+
spanCount: number;
|
|
114
|
+
errorCount: number;
|
|
115
|
+
performanceIssueCount: number;
|
|
116
|
+
projects: string[];
|
|
117
|
+
spans: {
|
|
118
|
+
op?: string | undefined;
|
|
119
|
+
name: string;
|
|
120
|
+
startMs: number;
|
|
121
|
+
durationMs: number;
|
|
122
|
+
issue?: boolean | undefined;
|
|
123
|
+
}[];
|
|
83
124
|
} | {
|
|
84
125
|
type: "person";
|
|
85
126
|
summary?: string | undefined;
|
|
@@ -109,7 +150,7 @@ export declare function createReplaceGoogleDocContentTool(ctx: GoogleToolContext
|
|
|
109
150
|
kind: "object";
|
|
110
151
|
key: string;
|
|
111
152
|
label: string;
|
|
112
|
-
objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "document" | "item" | "message" | "person" | "task" | "web_page";
|
|
153
|
+
objectType: "automation" | "calendar_event" | "chart" | "code_change" | "conversation" | "deployment" | "document" | "event" | "item" | "message" | "person" | "task" | "trace" | "web_page";
|
|
113
154
|
title: string;
|
|
114
155
|
url: string | null;
|
|
115
156
|
description?: string | undefined;
|
|
@@ -145,6 +186,10 @@ export declare function createReplaceGoogleDocContentTool(ctx: GoogleToolContext
|
|
|
145
186
|
cycle?: string | undefined;
|
|
146
187
|
dueDate?: string | undefined;
|
|
147
188
|
labels?: string[] | undefined;
|
|
189
|
+
trend?: {
|
|
190
|
+
label: string;
|
|
191
|
+
points: number[];
|
|
192
|
+
} | undefined;
|
|
148
193
|
} | {
|
|
149
194
|
type: "deployment";
|
|
150
195
|
summary?: string | undefined;
|
|
@@ -167,6 +212,7 @@ export declare function createReplaceGoogleDocContentTool(ctx: GoogleToolContext
|
|
|
167
212
|
summary?: string | undefined;
|
|
168
213
|
owner?: string | undefined;
|
|
169
214
|
modifiedAt?: string | undefined;
|
|
215
|
+
thumbnailUrl?: string | undefined;
|
|
170
216
|
} | {
|
|
171
217
|
type: "message";
|
|
172
218
|
summary?: string | undefined;
|
|
@@ -178,7 +224,43 @@ export declare function createReplaceGoogleDocContentTool(ctx: GoogleToolContext
|
|
|
178
224
|
summary?: string | undefined;
|
|
179
225
|
siteName?: string | undefined;
|
|
180
226
|
author?: string | undefined;
|
|
227
|
+
media?: "image" | "video" | undefined;
|
|
181
228
|
thumbnailUrl?: string | undefined;
|
|
229
|
+
} | {
|
|
230
|
+
type: "chart";
|
|
231
|
+
summary?: string | undefined;
|
|
232
|
+
display: "area" | "bar" | "line";
|
|
233
|
+
yAxis: string;
|
|
234
|
+
range: string;
|
|
235
|
+
series: {
|
|
236
|
+
label: string;
|
|
237
|
+
points: number[];
|
|
238
|
+
}[];
|
|
239
|
+
} | {
|
|
240
|
+
type: "event";
|
|
241
|
+
summary?: string | undefined;
|
|
242
|
+
level?: string | undefined;
|
|
243
|
+
project?: string | undefined;
|
|
244
|
+
release?: string | undefined;
|
|
245
|
+
environment?: string | undefined;
|
|
246
|
+
occurredAt?: string | undefined;
|
|
247
|
+
} | {
|
|
248
|
+
type: "trace";
|
|
249
|
+
summary?: string | undefined;
|
|
250
|
+
rootOp?: string | undefined;
|
|
251
|
+
rootName?: string | undefined;
|
|
252
|
+
durationMs: number;
|
|
253
|
+
spanCount: number;
|
|
254
|
+
errorCount: number;
|
|
255
|
+
performanceIssueCount: number;
|
|
256
|
+
projects: string[];
|
|
257
|
+
spans: {
|
|
258
|
+
op?: string | undefined;
|
|
259
|
+
name: string;
|
|
260
|
+
startMs: number;
|
|
261
|
+
durationMs: number;
|
|
262
|
+
issue?: boolean | undefined;
|
|
263
|
+
}[];
|
|
182
264
|
} | {
|
|
183
265
|
type: "person";
|
|
184
266
|
summary?: string | undefined;
|
|
@@ -202,4 +284,4 @@ export declare function createReplaceGoogleDocContentTool(ctx: GoogleToolContext
|
|
|
202
284
|
title: string;
|
|
203
285
|
url: string;
|
|
204
286
|
target: "replaceGoogleDocContent";
|
|
205
|
-
}>;
|
|
287
|
+
}, GoogleToolContext>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { GoogleToolContext } from "./shared";
|
|
2
2
|
/** Replace every match of a text in a Google Doc. */
|
|
3
|
-
export declare
|
|
3
|
+
export declare const replaceGoogleDocTextTool: import("@sentry/junior-plugin-api").PluginToolDefinition<{
|
|
4
4
|
document: string;
|
|
5
5
|
revision_id: string;
|
|
6
6
|
find: string;
|
|
@@ -12,7 +12,7 @@ export declare function createReplaceGoogleDocTextTool(ctx: GoogleToolContext):
|
|
|
12
12
|
kind: "object";
|
|
13
13
|
key: string;
|
|
14
14
|
label: string;
|
|
15
|
-
objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "document" | "item" | "message" | "person" | "task" | "web_page";
|
|
15
|
+
objectType: "automation" | "calendar_event" | "chart" | "code_change" | "conversation" | "deployment" | "document" | "event" | "item" | "message" | "person" | "task" | "trace" | "web_page";
|
|
16
16
|
title: string;
|
|
17
17
|
url: string | null;
|
|
18
18
|
description?: string | undefined;
|
|
@@ -48,6 +48,10 @@ export declare function createReplaceGoogleDocTextTool(ctx: GoogleToolContext):
|
|
|
48
48
|
cycle?: string | undefined;
|
|
49
49
|
dueDate?: string | undefined;
|
|
50
50
|
labels?: string[] | undefined;
|
|
51
|
+
trend?: {
|
|
52
|
+
label: string;
|
|
53
|
+
points: number[];
|
|
54
|
+
} | undefined;
|
|
51
55
|
} | {
|
|
52
56
|
type: "deployment";
|
|
53
57
|
summary?: string | undefined;
|
|
@@ -70,6 +74,7 @@ export declare function createReplaceGoogleDocTextTool(ctx: GoogleToolContext):
|
|
|
70
74
|
summary?: string | undefined;
|
|
71
75
|
owner?: string | undefined;
|
|
72
76
|
modifiedAt?: string | undefined;
|
|
77
|
+
thumbnailUrl?: string | undefined;
|
|
73
78
|
} | {
|
|
74
79
|
type: "message";
|
|
75
80
|
summary?: string | undefined;
|
|
@@ -81,7 +86,43 @@ export declare function createReplaceGoogleDocTextTool(ctx: GoogleToolContext):
|
|
|
81
86
|
summary?: string | undefined;
|
|
82
87
|
siteName?: string | undefined;
|
|
83
88
|
author?: string | undefined;
|
|
89
|
+
media?: "image" | "video" | undefined;
|
|
84
90
|
thumbnailUrl?: string | undefined;
|
|
91
|
+
} | {
|
|
92
|
+
type: "chart";
|
|
93
|
+
summary?: string | undefined;
|
|
94
|
+
display: "area" | "bar" | "line";
|
|
95
|
+
yAxis: string;
|
|
96
|
+
range: string;
|
|
97
|
+
series: {
|
|
98
|
+
label: string;
|
|
99
|
+
points: number[];
|
|
100
|
+
}[];
|
|
101
|
+
} | {
|
|
102
|
+
type: "event";
|
|
103
|
+
summary?: string | undefined;
|
|
104
|
+
level?: string | undefined;
|
|
105
|
+
project?: string | undefined;
|
|
106
|
+
release?: string | undefined;
|
|
107
|
+
environment?: string | undefined;
|
|
108
|
+
occurredAt?: string | undefined;
|
|
109
|
+
} | {
|
|
110
|
+
type: "trace";
|
|
111
|
+
summary?: string | undefined;
|
|
112
|
+
rootOp?: string | undefined;
|
|
113
|
+
rootName?: string | undefined;
|
|
114
|
+
durationMs: number;
|
|
115
|
+
spanCount: number;
|
|
116
|
+
errorCount: number;
|
|
117
|
+
performanceIssueCount: number;
|
|
118
|
+
projects: string[];
|
|
119
|
+
spans: {
|
|
120
|
+
op?: string | undefined;
|
|
121
|
+
name: string;
|
|
122
|
+
startMs: number;
|
|
123
|
+
durationMs: number;
|
|
124
|
+
issue?: boolean | undefined;
|
|
125
|
+
}[];
|
|
85
126
|
} | {
|
|
86
127
|
type: "person";
|
|
87
128
|
summary?: string | undefined;
|
|
@@ -112,7 +153,7 @@ export declare function createReplaceGoogleDocTextTool(ctx: GoogleToolContext):
|
|
|
112
153
|
kind: "object";
|
|
113
154
|
key: string;
|
|
114
155
|
label: string;
|
|
115
|
-
objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "document" | "item" | "message" | "person" | "task" | "web_page";
|
|
156
|
+
objectType: "automation" | "calendar_event" | "chart" | "code_change" | "conversation" | "deployment" | "document" | "event" | "item" | "message" | "person" | "task" | "trace" | "web_page";
|
|
116
157
|
title: string;
|
|
117
158
|
url: string | null;
|
|
118
159
|
description?: string | undefined;
|
|
@@ -148,6 +189,10 @@ export declare function createReplaceGoogleDocTextTool(ctx: GoogleToolContext):
|
|
|
148
189
|
cycle?: string | undefined;
|
|
149
190
|
dueDate?: string | undefined;
|
|
150
191
|
labels?: string[] | undefined;
|
|
192
|
+
trend?: {
|
|
193
|
+
label: string;
|
|
194
|
+
points: number[];
|
|
195
|
+
} | undefined;
|
|
151
196
|
} | {
|
|
152
197
|
type: "deployment";
|
|
153
198
|
summary?: string | undefined;
|
|
@@ -170,6 +215,7 @@ export declare function createReplaceGoogleDocTextTool(ctx: GoogleToolContext):
|
|
|
170
215
|
summary?: string | undefined;
|
|
171
216
|
owner?: string | undefined;
|
|
172
217
|
modifiedAt?: string | undefined;
|
|
218
|
+
thumbnailUrl?: string | undefined;
|
|
173
219
|
} | {
|
|
174
220
|
type: "message";
|
|
175
221
|
summary?: string | undefined;
|
|
@@ -181,7 +227,43 @@ export declare function createReplaceGoogleDocTextTool(ctx: GoogleToolContext):
|
|
|
181
227
|
summary?: string | undefined;
|
|
182
228
|
siteName?: string | undefined;
|
|
183
229
|
author?: string | undefined;
|
|
230
|
+
media?: "image" | "video" | undefined;
|
|
184
231
|
thumbnailUrl?: string | undefined;
|
|
232
|
+
} | {
|
|
233
|
+
type: "chart";
|
|
234
|
+
summary?: string | undefined;
|
|
235
|
+
display: "area" | "bar" | "line";
|
|
236
|
+
yAxis: string;
|
|
237
|
+
range: string;
|
|
238
|
+
series: {
|
|
239
|
+
label: string;
|
|
240
|
+
points: number[];
|
|
241
|
+
}[];
|
|
242
|
+
} | {
|
|
243
|
+
type: "event";
|
|
244
|
+
summary?: string | undefined;
|
|
245
|
+
level?: string | undefined;
|
|
246
|
+
project?: string | undefined;
|
|
247
|
+
release?: string | undefined;
|
|
248
|
+
environment?: string | undefined;
|
|
249
|
+
occurredAt?: string | undefined;
|
|
250
|
+
} | {
|
|
251
|
+
type: "trace";
|
|
252
|
+
summary?: string | undefined;
|
|
253
|
+
rootOp?: string | undefined;
|
|
254
|
+
rootName?: string | undefined;
|
|
255
|
+
durationMs: number;
|
|
256
|
+
spanCount: number;
|
|
257
|
+
errorCount: number;
|
|
258
|
+
performanceIssueCount: number;
|
|
259
|
+
projects: string[];
|
|
260
|
+
spans: {
|
|
261
|
+
op?: string | undefined;
|
|
262
|
+
name: string;
|
|
263
|
+
startMs: number;
|
|
264
|
+
durationMs: number;
|
|
265
|
+
issue?: boolean | undefined;
|
|
266
|
+
}[];
|
|
185
267
|
} | {
|
|
186
268
|
type: "person";
|
|
187
269
|
summary?: string | undefined;
|
|
@@ -206,4 +288,4 @@ export declare function createReplaceGoogleDocTextTool(ctx: GoogleToolContext):
|
|
|
206
288
|
url: string;
|
|
207
289
|
target: "replaceGoogleDocText";
|
|
208
290
|
occurrences_changed: number;
|
|
209
|
-
}>;
|
|
291
|
+
}, GoogleToolContext>;
|