@sentry/junior-google 0.298.0 → 0.300.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 +39 -5
- package/dist/config.d.ts +8 -1
- package/dist/credentials.d.ts +51 -3
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2088 -920
- package/dist/links/calendar.d.ts +11 -0
- package/dist/links/files.d.ts +11 -0
- package/dist/links/summary.d.ts +13 -0
- package/dist/tools/cancel-event.d.ts +70 -2
- package/dist/tools/create-doc.d.ts +212 -0
- package/dist/tools/create-event.d.ts +70 -2
- package/dist/tools/doc-edits.d.ts +84 -0
- package/dist/tools/doc-markdown.d.ts +40 -0
- package/dist/tools/files.d.ts +17 -1
- package/dist/tools/find-meeting-times.d.ts +70 -2
- package/dist/tools/insert-doc-content.d.ts +206 -0
- package/dist/tools/list-events.d.ts +70 -2
- package/dist/tools/list-file-comments.d.ts +70 -2
- package/dist/tools/read-doc.d.ts +12 -135
- package/dist/tools/read-file.d.ts +241 -0
- package/dist/tools/read-meeting-transcript.d.ts +70 -2
- package/dist/tools/read-sheet.d.ts +12 -138
- package/dist/tools/read-slides.d.ts +12 -137
- package/dist/tools/replace-doc-content.d.ts +205 -0
- package/dist/tools/replace-doc-text.d.ts +209 -0
- package/dist/tools/search-files.d.ts +78 -3
- package/dist/tools/shared.d.ts +36 -2
- package/dist/tools/update-event.d.ts +70 -2
- package/package.json +5 -4
|
@@ -1,153 +1,27 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { type FileReference } from "./files";
|
|
1
3
|
import type { GoogleToolContext } from "./shared";
|
|
4
|
+
/** Output fields of `readGoogleFile` for a Sheet. */
|
|
5
|
+
export declare const sheetOutputFields: {
|
|
6
|
+
ranges: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7
|
+
content: z.ZodString;
|
|
8
|
+
range: z.ZodString;
|
|
9
|
+
truncated: z.ZodBoolean;
|
|
10
|
+
}, z.core.$strip>>>;
|
|
11
|
+
tabs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
12
|
+
};
|
|
2
13
|
/**
|
|
3
14
|
* Read the cells of one Google Sheet as CSV, one entry per range.
|
|
4
15
|
*
|
|
5
16
|
* A Drive CSV export has only the first tab, so this uses the Sheets API. It
|
|
6
17
|
* accepts the same `drive.readonly` scope as the Drive tools.
|
|
7
18
|
*/
|
|
8
|
-
export declare function
|
|
9
|
-
spreadsheet: string;
|
|
10
|
-
range?: string | undefined;
|
|
11
|
-
}, {
|
|
12
|
-
[x: string]: unknown;
|
|
13
|
-
objectAnnotations?: {
|
|
14
|
-
kind: "object";
|
|
15
|
-
key: string;
|
|
16
|
-
label: string;
|
|
17
|
-
objectType: "automation" | "calendar_event" | "code_change" | "deployment" | "item" | "task";
|
|
18
|
-
title: string;
|
|
19
|
-
url: string | null;
|
|
20
|
-
description?: string | undefined;
|
|
21
|
-
status?: string | undefined;
|
|
22
|
-
trigger?: string | undefined;
|
|
23
|
-
warning?: string | undefined;
|
|
24
|
-
displayType?: string | undefined;
|
|
25
|
-
sourceUpdatedAt?: string | undefined;
|
|
26
|
-
facts?: {
|
|
27
|
-
type: "code_change";
|
|
28
|
-
author?: string | undefined;
|
|
29
|
-
sourceBranch?: string | undefined;
|
|
30
|
-
targetBranch?: string | undefined;
|
|
31
|
-
reviewers?: string[] | undefined;
|
|
32
|
-
review?: "approved" | "changes_requested" | "required" | undefined;
|
|
33
|
-
checks?: {
|
|
34
|
-
passed: number;
|
|
35
|
-
failed: number;
|
|
36
|
-
pending: number;
|
|
37
|
-
} | undefined;
|
|
38
|
-
mergeable?: boolean | undefined;
|
|
39
|
-
changedFiles?: number | undefined;
|
|
40
|
-
additions?: number | undefined;
|
|
41
|
-
deletions?: number | undefined;
|
|
42
|
-
} | {
|
|
43
|
-
type: "task";
|
|
44
|
-
assignees?: string[] | undefined;
|
|
45
|
-
priority?: string | undefined;
|
|
46
|
-
project?: string | undefined;
|
|
47
|
-
cycle?: string | undefined;
|
|
48
|
-
dueDate?: string | undefined;
|
|
49
|
-
labels?: string[] | undefined;
|
|
50
|
-
} | {
|
|
51
|
-
type: "deployment";
|
|
52
|
-
project?: string | undefined;
|
|
53
|
-
environment?: string | undefined;
|
|
54
|
-
revision?: string | undefined;
|
|
55
|
-
branch?: string | undefined;
|
|
56
|
-
} | {
|
|
57
|
-
type: "calendar_event";
|
|
58
|
-
when?: string | undefined;
|
|
59
|
-
attendees?: string[] | undefined;
|
|
60
|
-
} | undefined;
|
|
61
|
-
}[] | undefined;
|
|
62
|
-
reply?: {
|
|
63
|
-
text: string;
|
|
64
|
-
url?: string | undefined;
|
|
65
|
-
} | undefined;
|
|
66
|
-
continuation?: {
|
|
67
|
-
arguments: Record<string, unknown>;
|
|
68
|
-
reason?: string | undefined;
|
|
69
|
-
} | undefined;
|
|
70
|
-
target: "readGoogleSheet";
|
|
71
|
-
modified_at?: string | undefined;
|
|
19
|
+
export declare function readSheetContent(ctx: GoogleToolContext, ref: FileReference, range: string | undefined): Promise<{
|
|
72
20
|
ranges: {
|
|
73
21
|
content: string;
|
|
74
22
|
range: string;
|
|
75
23
|
truncated: boolean;
|
|
76
24
|
}[];
|
|
77
|
-
spreadsheet_id: string;
|
|
78
25
|
tabs: string[];
|
|
79
|
-
title: string;
|
|
80
26
|
truncated: boolean;
|
|
81
|
-
url?: string | undefined;
|
|
82
|
-
}, {
|
|
83
|
-
[x: string]: unknown;
|
|
84
|
-
objectAnnotations?: {
|
|
85
|
-
kind: "object";
|
|
86
|
-
key: string;
|
|
87
|
-
label: string;
|
|
88
|
-
objectType: "automation" | "calendar_event" | "code_change" | "deployment" | "item" | "task";
|
|
89
|
-
title: string;
|
|
90
|
-
url: string | null;
|
|
91
|
-
description?: string | undefined;
|
|
92
|
-
status?: string | undefined;
|
|
93
|
-
trigger?: string | undefined;
|
|
94
|
-
warning?: string | undefined;
|
|
95
|
-
displayType?: string | undefined;
|
|
96
|
-
sourceUpdatedAt?: string | undefined;
|
|
97
|
-
facts?: {
|
|
98
|
-
type: "code_change";
|
|
99
|
-
author?: string | undefined;
|
|
100
|
-
sourceBranch?: string | undefined;
|
|
101
|
-
targetBranch?: string | undefined;
|
|
102
|
-
reviewers?: string[] | undefined;
|
|
103
|
-
review?: "approved" | "changes_requested" | "required" | undefined;
|
|
104
|
-
checks?: {
|
|
105
|
-
passed: number;
|
|
106
|
-
failed: number;
|
|
107
|
-
pending: number;
|
|
108
|
-
} | undefined;
|
|
109
|
-
mergeable?: boolean | undefined;
|
|
110
|
-
changedFiles?: number | undefined;
|
|
111
|
-
additions?: number | undefined;
|
|
112
|
-
deletions?: number | undefined;
|
|
113
|
-
} | {
|
|
114
|
-
type: "task";
|
|
115
|
-
assignees?: string[] | undefined;
|
|
116
|
-
priority?: string | undefined;
|
|
117
|
-
project?: string | undefined;
|
|
118
|
-
cycle?: string | undefined;
|
|
119
|
-
dueDate?: string | undefined;
|
|
120
|
-
labels?: string[] | undefined;
|
|
121
|
-
} | {
|
|
122
|
-
type: "deployment";
|
|
123
|
-
project?: string | undefined;
|
|
124
|
-
environment?: string | undefined;
|
|
125
|
-
revision?: string | undefined;
|
|
126
|
-
branch?: string | undefined;
|
|
127
|
-
} | {
|
|
128
|
-
type: "calendar_event";
|
|
129
|
-
when?: string | undefined;
|
|
130
|
-
attendees?: string[] | undefined;
|
|
131
|
-
} | undefined;
|
|
132
|
-
}[] | undefined;
|
|
133
|
-
reply?: {
|
|
134
|
-
text: string;
|
|
135
|
-
url?: string | undefined;
|
|
136
|
-
} | undefined;
|
|
137
|
-
continuation?: {
|
|
138
|
-
arguments: Record<string, unknown>;
|
|
139
|
-
reason?: string | undefined;
|
|
140
|
-
} | undefined;
|
|
141
|
-
target: "readGoogleSheet";
|
|
142
|
-
modified_at?: string | undefined;
|
|
143
|
-
ranges: {
|
|
144
|
-
content: string;
|
|
145
|
-
range: string;
|
|
146
|
-
truncated: boolean;
|
|
147
|
-
}[];
|
|
148
|
-
spreadsheet_id: string;
|
|
149
|
-
tabs: string[];
|
|
150
|
-
title: string;
|
|
151
|
-
truncated: boolean;
|
|
152
|
-
url?: string | undefined;
|
|
153
27
|
}>;
|
|
@@ -1,152 +1,27 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { type FileReference } from "./files";
|
|
1
3
|
import type { GoogleToolContext } from "./shared";
|
|
4
|
+
/** Output fields of `readGoogleFile` for Slides. */
|
|
5
|
+
export declare const slidesOutputFields: {
|
|
6
|
+
slide_count: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
slides: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
9
|
+
slide_number: z.ZodNumber;
|
|
10
|
+
text: z.ZodString;
|
|
11
|
+
}, z.core.$strip>>>;
|
|
12
|
+
};
|
|
2
13
|
/**
|
|
3
14
|
* Read the text and speaker notes of each slide in one Google Slides file.
|
|
4
15
|
*
|
|
5
16
|
* This uses the Slides API to keep slide numbers and speaker notes. It
|
|
6
17
|
* accepts the same `drive.readonly` scope as the Drive tools.
|
|
7
18
|
*/
|
|
8
|
-
export declare function
|
|
9
|
-
presentation: string;
|
|
10
|
-
}, {
|
|
11
|
-
[x: string]: unknown;
|
|
12
|
-
objectAnnotations?: {
|
|
13
|
-
kind: "object";
|
|
14
|
-
key: string;
|
|
15
|
-
label: string;
|
|
16
|
-
objectType: "automation" | "calendar_event" | "code_change" | "deployment" | "item" | "task";
|
|
17
|
-
title: string;
|
|
18
|
-
url: string | null;
|
|
19
|
-
description?: string | undefined;
|
|
20
|
-
status?: string | undefined;
|
|
21
|
-
trigger?: string | undefined;
|
|
22
|
-
warning?: string | undefined;
|
|
23
|
-
displayType?: string | undefined;
|
|
24
|
-
sourceUpdatedAt?: string | undefined;
|
|
25
|
-
facts?: {
|
|
26
|
-
type: "code_change";
|
|
27
|
-
author?: string | undefined;
|
|
28
|
-
sourceBranch?: string | undefined;
|
|
29
|
-
targetBranch?: string | undefined;
|
|
30
|
-
reviewers?: string[] | undefined;
|
|
31
|
-
review?: "approved" | "changes_requested" | "required" | undefined;
|
|
32
|
-
checks?: {
|
|
33
|
-
passed: number;
|
|
34
|
-
failed: number;
|
|
35
|
-
pending: number;
|
|
36
|
-
} | undefined;
|
|
37
|
-
mergeable?: boolean | undefined;
|
|
38
|
-
changedFiles?: number | undefined;
|
|
39
|
-
additions?: number | undefined;
|
|
40
|
-
deletions?: number | undefined;
|
|
41
|
-
} | {
|
|
42
|
-
type: "task";
|
|
43
|
-
assignees?: string[] | undefined;
|
|
44
|
-
priority?: string | undefined;
|
|
45
|
-
project?: string | undefined;
|
|
46
|
-
cycle?: string | undefined;
|
|
47
|
-
dueDate?: string | undefined;
|
|
48
|
-
labels?: string[] | undefined;
|
|
49
|
-
} | {
|
|
50
|
-
type: "deployment";
|
|
51
|
-
project?: string | undefined;
|
|
52
|
-
environment?: string | undefined;
|
|
53
|
-
revision?: string | undefined;
|
|
54
|
-
branch?: string | undefined;
|
|
55
|
-
} | {
|
|
56
|
-
type: "calendar_event";
|
|
57
|
-
when?: string | undefined;
|
|
58
|
-
attendees?: string[] | undefined;
|
|
59
|
-
} | undefined;
|
|
60
|
-
}[] | undefined;
|
|
61
|
-
reply?: {
|
|
62
|
-
text: string;
|
|
63
|
-
url?: string | undefined;
|
|
64
|
-
} | undefined;
|
|
65
|
-
continuation?: {
|
|
66
|
-
arguments: Record<string, unknown>;
|
|
67
|
-
reason?: string | undefined;
|
|
68
|
-
} | undefined;
|
|
69
|
-
target: "readGoogleSlides";
|
|
70
|
-
modified_at?: string | undefined;
|
|
71
|
-
presentation_id: string;
|
|
72
|
-
slide_count: number;
|
|
73
|
-
slides: {
|
|
74
|
-
notes?: string | undefined;
|
|
75
|
-
slide_number: number;
|
|
76
|
-
text: string;
|
|
77
|
-
}[];
|
|
78
|
-
title: string;
|
|
79
|
-
truncated: boolean;
|
|
80
|
-
url?: string | undefined;
|
|
81
|
-
}, {
|
|
82
|
-
[x: string]: unknown;
|
|
83
|
-
objectAnnotations?: {
|
|
84
|
-
kind: "object";
|
|
85
|
-
key: string;
|
|
86
|
-
label: string;
|
|
87
|
-
objectType: "automation" | "calendar_event" | "code_change" | "deployment" | "item" | "task";
|
|
88
|
-
title: string;
|
|
89
|
-
url: string | null;
|
|
90
|
-
description?: string | undefined;
|
|
91
|
-
status?: string | undefined;
|
|
92
|
-
trigger?: string | undefined;
|
|
93
|
-
warning?: string | undefined;
|
|
94
|
-
displayType?: string | undefined;
|
|
95
|
-
sourceUpdatedAt?: string | undefined;
|
|
96
|
-
facts?: {
|
|
97
|
-
type: "code_change";
|
|
98
|
-
author?: string | undefined;
|
|
99
|
-
sourceBranch?: string | undefined;
|
|
100
|
-
targetBranch?: string | undefined;
|
|
101
|
-
reviewers?: string[] | undefined;
|
|
102
|
-
review?: "approved" | "changes_requested" | "required" | undefined;
|
|
103
|
-
checks?: {
|
|
104
|
-
passed: number;
|
|
105
|
-
failed: number;
|
|
106
|
-
pending: number;
|
|
107
|
-
} | undefined;
|
|
108
|
-
mergeable?: boolean | undefined;
|
|
109
|
-
changedFiles?: number | undefined;
|
|
110
|
-
additions?: number | undefined;
|
|
111
|
-
deletions?: number | undefined;
|
|
112
|
-
} | {
|
|
113
|
-
type: "task";
|
|
114
|
-
assignees?: string[] | undefined;
|
|
115
|
-
priority?: string | undefined;
|
|
116
|
-
project?: string | undefined;
|
|
117
|
-
cycle?: string | undefined;
|
|
118
|
-
dueDate?: string | undefined;
|
|
119
|
-
labels?: string[] | undefined;
|
|
120
|
-
} | {
|
|
121
|
-
type: "deployment";
|
|
122
|
-
project?: string | undefined;
|
|
123
|
-
environment?: string | undefined;
|
|
124
|
-
revision?: string | undefined;
|
|
125
|
-
branch?: string | undefined;
|
|
126
|
-
} | {
|
|
127
|
-
type: "calendar_event";
|
|
128
|
-
when?: string | undefined;
|
|
129
|
-
attendees?: string[] | undefined;
|
|
130
|
-
} | undefined;
|
|
131
|
-
}[] | undefined;
|
|
132
|
-
reply?: {
|
|
133
|
-
text: string;
|
|
134
|
-
url?: string | undefined;
|
|
135
|
-
} | undefined;
|
|
136
|
-
continuation?: {
|
|
137
|
-
arguments: Record<string, unknown>;
|
|
138
|
-
reason?: string | undefined;
|
|
139
|
-
} | undefined;
|
|
140
|
-
target: "readGoogleSlides";
|
|
141
|
-
modified_at?: string | undefined;
|
|
142
|
-
presentation_id: string;
|
|
19
|
+
export declare function readSlidesContent(ctx: GoogleToolContext, ref: FileReference): Promise<{
|
|
143
20
|
slide_count: number;
|
|
144
21
|
slides: {
|
|
145
22
|
notes?: string | undefined;
|
|
146
23
|
slide_number: number;
|
|
147
24
|
text: string;
|
|
148
25
|
}[];
|
|
149
|
-
title: string;
|
|
150
26
|
truncated: boolean;
|
|
151
|
-
url?: string | undefined;
|
|
152
27
|
}>;
|
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
import type { GoogleToolContext } from "./shared";
|
|
2
|
+
/** Replace the whole body of a Google Doc with Markdown content. */
|
|
3
|
+
export declare function createReplaceGoogleDocContentTool(ctx: GoogleToolContext): import("@sentry/junior-plugin-api").PluginToolDefinition<{
|
|
4
|
+
document: string;
|
|
5
|
+
content: string;
|
|
6
|
+
revision_id: string;
|
|
7
|
+
}, {
|
|
8
|
+
[x: string]: unknown;
|
|
9
|
+
objectAnnotations?: {
|
|
10
|
+
kind: "object";
|
|
11
|
+
key: string;
|
|
12
|
+
label: string;
|
|
13
|
+
objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "document" | "item" | "message" | "person" | "task" | "web_page";
|
|
14
|
+
title: string;
|
|
15
|
+
url: string | null;
|
|
16
|
+
description?: string | undefined;
|
|
17
|
+
status?: string | undefined;
|
|
18
|
+
trigger?: string | undefined;
|
|
19
|
+
warning?: string | undefined;
|
|
20
|
+
displayType?: string | undefined;
|
|
21
|
+
sourceUpdatedAt?: string | undefined;
|
|
22
|
+
facts?: {
|
|
23
|
+
type: "code_change";
|
|
24
|
+
summary?: string | undefined;
|
|
25
|
+
author?: string | undefined;
|
|
26
|
+
sourceBranch?: string | undefined;
|
|
27
|
+
targetBranch?: string | undefined;
|
|
28
|
+
reviewers?: string[] | undefined;
|
|
29
|
+
review?: "approved" | "changes_requested" | "required" | undefined;
|
|
30
|
+
checks?: {
|
|
31
|
+
passed: number;
|
|
32
|
+
failed: number;
|
|
33
|
+
pending: number;
|
|
34
|
+
} | undefined;
|
|
35
|
+
mergeable?: boolean | undefined;
|
|
36
|
+
changedFiles?: number | undefined;
|
|
37
|
+
additions?: number | undefined;
|
|
38
|
+
deletions?: number | undefined;
|
|
39
|
+
previewImageUrls?: string[] | undefined;
|
|
40
|
+
} | {
|
|
41
|
+
type: "task";
|
|
42
|
+
summary?: string | undefined;
|
|
43
|
+
assignees?: string[] | undefined;
|
|
44
|
+
priority?: string | undefined;
|
|
45
|
+
project?: string | undefined;
|
|
46
|
+
cycle?: string | undefined;
|
|
47
|
+
dueDate?: string | undefined;
|
|
48
|
+
labels?: string[] | undefined;
|
|
49
|
+
} | {
|
|
50
|
+
type: "deployment";
|
|
51
|
+
summary?: string | undefined;
|
|
52
|
+
project?: string | undefined;
|
|
53
|
+
environment?: string | undefined;
|
|
54
|
+
revision?: string | undefined;
|
|
55
|
+
branch?: string | undefined;
|
|
56
|
+
} | {
|
|
57
|
+
type: "calendar_event";
|
|
58
|
+
summary?: string | undefined;
|
|
59
|
+
when?: string | undefined;
|
|
60
|
+
attendees?: string[] | undefined;
|
|
61
|
+
} | {
|
|
62
|
+
type: "conversation";
|
|
63
|
+
summary?: string | undefined;
|
|
64
|
+
participants?: string[] | undefined;
|
|
65
|
+
lastActivityAt?: string | undefined;
|
|
66
|
+
} | {
|
|
67
|
+
type: "document";
|
|
68
|
+
summary?: string | undefined;
|
|
69
|
+
owner?: string | undefined;
|
|
70
|
+
modifiedAt?: string | undefined;
|
|
71
|
+
} | {
|
|
72
|
+
type: "message";
|
|
73
|
+
summary?: string | undefined;
|
|
74
|
+
channel?: string | undefined;
|
|
75
|
+
author?: string | undefined;
|
|
76
|
+
sentAt?: string | undefined;
|
|
77
|
+
} | {
|
|
78
|
+
type: "web_page";
|
|
79
|
+
summary?: string | undefined;
|
|
80
|
+
siteName?: string | undefined;
|
|
81
|
+
author?: string | undefined;
|
|
82
|
+
thumbnailUrl?: string | undefined;
|
|
83
|
+
} | {
|
|
84
|
+
type: "person";
|
|
85
|
+
summary?: string | undefined;
|
|
86
|
+
email?: string | undefined;
|
|
87
|
+
slackHandle?: string | undefined;
|
|
88
|
+
githubHandle?: string | undefined;
|
|
89
|
+
avatarUrl?: string | undefined;
|
|
90
|
+
} | undefined;
|
|
91
|
+
}[] | undefined;
|
|
92
|
+
reply?: {
|
|
93
|
+
text: string;
|
|
94
|
+
url?: string | undefined;
|
|
95
|
+
} | undefined;
|
|
96
|
+
truncated?: boolean | undefined;
|
|
97
|
+
continuation?: {
|
|
98
|
+
arguments: Record<string, unknown>;
|
|
99
|
+
reason?: string | undefined;
|
|
100
|
+
} | undefined;
|
|
101
|
+
document_id: string;
|
|
102
|
+
revision_id?: string | undefined;
|
|
103
|
+
title: string;
|
|
104
|
+
url: string;
|
|
105
|
+
target: "replaceGoogleDocContent";
|
|
106
|
+
}, {
|
|
107
|
+
[x: string]: unknown;
|
|
108
|
+
objectAnnotations?: {
|
|
109
|
+
kind: "object";
|
|
110
|
+
key: string;
|
|
111
|
+
label: string;
|
|
112
|
+
objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "document" | "item" | "message" | "person" | "task" | "web_page";
|
|
113
|
+
title: string;
|
|
114
|
+
url: string | null;
|
|
115
|
+
description?: string | undefined;
|
|
116
|
+
status?: string | undefined;
|
|
117
|
+
trigger?: string | undefined;
|
|
118
|
+
warning?: string | undefined;
|
|
119
|
+
displayType?: string | undefined;
|
|
120
|
+
sourceUpdatedAt?: string | undefined;
|
|
121
|
+
facts?: {
|
|
122
|
+
type: "code_change";
|
|
123
|
+
summary?: string | undefined;
|
|
124
|
+
author?: string | undefined;
|
|
125
|
+
sourceBranch?: string | undefined;
|
|
126
|
+
targetBranch?: string | undefined;
|
|
127
|
+
reviewers?: string[] | undefined;
|
|
128
|
+
review?: "approved" | "changes_requested" | "required" | undefined;
|
|
129
|
+
checks?: {
|
|
130
|
+
passed: number;
|
|
131
|
+
failed: number;
|
|
132
|
+
pending: number;
|
|
133
|
+
} | undefined;
|
|
134
|
+
mergeable?: boolean | undefined;
|
|
135
|
+
changedFiles?: number | undefined;
|
|
136
|
+
additions?: number | undefined;
|
|
137
|
+
deletions?: number | undefined;
|
|
138
|
+
previewImageUrls?: string[] | undefined;
|
|
139
|
+
} | {
|
|
140
|
+
type: "task";
|
|
141
|
+
summary?: string | undefined;
|
|
142
|
+
assignees?: string[] | undefined;
|
|
143
|
+
priority?: string | undefined;
|
|
144
|
+
project?: string | undefined;
|
|
145
|
+
cycle?: string | undefined;
|
|
146
|
+
dueDate?: string | undefined;
|
|
147
|
+
labels?: string[] | undefined;
|
|
148
|
+
} | {
|
|
149
|
+
type: "deployment";
|
|
150
|
+
summary?: string | undefined;
|
|
151
|
+
project?: string | undefined;
|
|
152
|
+
environment?: string | undefined;
|
|
153
|
+
revision?: string | undefined;
|
|
154
|
+
branch?: string | undefined;
|
|
155
|
+
} | {
|
|
156
|
+
type: "calendar_event";
|
|
157
|
+
summary?: string | undefined;
|
|
158
|
+
when?: string | undefined;
|
|
159
|
+
attendees?: string[] | undefined;
|
|
160
|
+
} | {
|
|
161
|
+
type: "conversation";
|
|
162
|
+
summary?: string | undefined;
|
|
163
|
+
participants?: string[] | undefined;
|
|
164
|
+
lastActivityAt?: string | undefined;
|
|
165
|
+
} | {
|
|
166
|
+
type: "document";
|
|
167
|
+
summary?: string | undefined;
|
|
168
|
+
owner?: string | undefined;
|
|
169
|
+
modifiedAt?: string | undefined;
|
|
170
|
+
} | {
|
|
171
|
+
type: "message";
|
|
172
|
+
summary?: string | undefined;
|
|
173
|
+
channel?: string | undefined;
|
|
174
|
+
author?: string | undefined;
|
|
175
|
+
sentAt?: string | undefined;
|
|
176
|
+
} | {
|
|
177
|
+
type: "web_page";
|
|
178
|
+
summary?: string | undefined;
|
|
179
|
+
siteName?: string | undefined;
|
|
180
|
+
author?: string | undefined;
|
|
181
|
+
thumbnailUrl?: string | undefined;
|
|
182
|
+
} | {
|
|
183
|
+
type: "person";
|
|
184
|
+
summary?: string | undefined;
|
|
185
|
+
email?: string | undefined;
|
|
186
|
+
slackHandle?: string | undefined;
|
|
187
|
+
githubHandle?: string | undefined;
|
|
188
|
+
avatarUrl?: string | undefined;
|
|
189
|
+
} | undefined;
|
|
190
|
+
}[] | undefined;
|
|
191
|
+
reply?: {
|
|
192
|
+
text: string;
|
|
193
|
+
url?: string | undefined;
|
|
194
|
+
} | undefined;
|
|
195
|
+
truncated?: boolean | undefined;
|
|
196
|
+
continuation?: {
|
|
197
|
+
arguments: Record<string, unknown>;
|
|
198
|
+
reason?: string | undefined;
|
|
199
|
+
} | undefined;
|
|
200
|
+
document_id: string;
|
|
201
|
+
revision_id?: string | undefined;
|
|
202
|
+
title: string;
|
|
203
|
+
url: string;
|
|
204
|
+
target: "replaceGoogleDocContent";
|
|
205
|
+
}>;
|