alter-sdk-github 0.2.1__py3-none-any.whl

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.
@@ -0,0 +1,4097 @@
1
+ """Generated native provider models. Do not edit."""
2
+
3
+ # ruff: noqa: E501 - native provider model names cannot be shortened without changing public types
4
+ from __future__ import annotations
5
+ from typing import TYPE_CHECKING, Any, Literal, NotRequired, Required, TypedDict, TypeAlias
6
+
7
+ if TYPE_CHECKING:
8
+ from alter_sdk_github._github_models_04 import GithubAgentTasksGetTaskByRepoAndIdInputPath
9
+ from alter_sdk_github._github_models_14 import Outputevent
10
+ from alter_sdk_github._github_models_14 import OutputminimalRepository
11
+ from alter_sdk_github._github_models_15 import Outputrepository
12
+ from alter_sdk_github._github_models_15 import OutputrepositorySubscription
13
+ from alter_sdk_github._github_models_15 import OutputsimpleUser
14
+ from alter_sdk_github._github_models_15 import Outputstargazer
15
+ from alter_sdk_github._github_models_15 import OutputstarredRepository
16
+ from alter_sdk_github._github_models_15 import Outputthread
17
+ from alter_sdk_github._github_models_15 import OutputthreadSubscription
18
+
19
+ GithubActivityListRepoEventsOutput: TypeAlias = "list[Outputevent]"
20
+ GithubActivityListRepoNotificationsForAuthenticatedUserInput = TypedDict(
21
+ "GithubActivityListRepoNotificationsForAuthenticatedUserInput",
22
+ {
23
+ "path": Required["GithubActivityListRepoNotificationsForAuthenticatedUserInputPath"],
24
+ "query": NotRequired["GithubActivityListRepoNotificationsForAuthenticatedUserInputQuery"],
25
+ },
26
+ total=False,
27
+ )
28
+ GithubActivityListRepoNotificationsForAuthenticatedUserInputPath = TypedDict(
29
+ "GithubActivityListRepoNotificationsForAuthenticatedUserInputPath",
30
+ {"owner": Required["str"], "repo": Required["str"]},
31
+ total=False,
32
+ )
33
+ GithubActivityListRepoNotificationsForAuthenticatedUserInputQuery = TypedDict(
34
+ "GithubActivityListRepoNotificationsForAuthenticatedUserInputQuery",
35
+ {
36
+ "all": NotRequired["bool"],
37
+ "participating": NotRequired["bool"],
38
+ "since": NotRequired["str"],
39
+ "before": NotRequired["str"],
40
+ "per_page": NotRequired["int"],
41
+ "page": NotRequired["int"],
42
+ },
43
+ total=False,
44
+ )
45
+ GithubActivityListRepoNotificationsForAuthenticatedUserOutput: TypeAlias = "list[Outputthread]"
46
+ GithubActivityListReposStarredByAuthenticatedUserInput = TypedDict(
47
+ "GithubActivityListReposStarredByAuthenticatedUserInput",
48
+ {"query": NotRequired["GithubActivityListReposStarredByAuthenticatedUserInputQuery"]},
49
+ total=False,
50
+ )
51
+ GithubActivityListReposStarredByAuthenticatedUserInputQuery = TypedDict(
52
+ "GithubActivityListReposStarredByAuthenticatedUserInputQuery",
53
+ {
54
+ "sort": NotRequired["Literal['created', 'updated']"],
55
+ "direction": NotRequired["Literal['asc', 'desc']"],
56
+ "per_page": NotRequired["int"],
57
+ "page": NotRequired["int"],
58
+ },
59
+ total=False,
60
+ )
61
+ GithubActivityListReposStarredByAuthenticatedUserOutput: TypeAlias = "list[Outputrepository]"
62
+ GithubActivityListReposStarredByUserInput = TypedDict(
63
+ "GithubActivityListReposStarredByUserInput",
64
+ {
65
+ "path": Required["GithubActivityListReposStarredByUserInputPath"],
66
+ "query": NotRequired["GithubActivityListReposStarredByUserInputQuery"],
67
+ },
68
+ total=False,
69
+ )
70
+ GithubActivityListReposStarredByUserInputPath = TypedDict(
71
+ "GithubActivityListReposStarredByUserInputPath", {"username": Required["str"]}, total=False
72
+ )
73
+ GithubActivityListReposStarredByUserInputQuery = TypedDict(
74
+ "GithubActivityListReposStarredByUserInputQuery",
75
+ {
76
+ "sort": NotRequired["Literal['created', 'updated']"],
77
+ "direction": NotRequired["Literal['asc', 'desc']"],
78
+ "per_page": NotRequired["int"],
79
+ "page": NotRequired["int"],
80
+ },
81
+ total=False,
82
+ )
83
+ GithubActivityListReposStarredByUserOutput: TypeAlias = (
84
+ "list[OutputstarredRepository] | list[Outputrepository]"
85
+ )
86
+ GithubActivityListReposWatchedByUserInput = TypedDict(
87
+ "GithubActivityListReposWatchedByUserInput",
88
+ {
89
+ "path": Required["GithubActivityListReposWatchedByUserInputPath"],
90
+ "query": NotRequired["GithubActivityListReposWatchedByUserInputQuery"],
91
+ },
92
+ total=False,
93
+ )
94
+ GithubActivityListReposWatchedByUserInputPath = TypedDict(
95
+ "GithubActivityListReposWatchedByUserInputPath", {"username": Required["str"]}, total=False
96
+ )
97
+ GithubActivityListReposWatchedByUserInputQuery = TypedDict(
98
+ "GithubActivityListReposWatchedByUserInputQuery",
99
+ {"per_page": NotRequired["int"], "page": NotRequired["int"]},
100
+ total=False,
101
+ )
102
+ GithubActivityListReposWatchedByUserOutput: TypeAlias = "list[OutputminimalRepository]"
103
+ GithubActivityListStargazersForRepoInput = TypedDict(
104
+ "GithubActivityListStargazersForRepoInput",
105
+ {
106
+ "path": Required["GithubActivityListStargazersForRepoInputPath"],
107
+ "query": NotRequired["GithubActivityListStargazersForRepoInputQuery"],
108
+ },
109
+ total=False,
110
+ )
111
+ GithubActivityListStargazersForRepoInputPath = TypedDict(
112
+ "GithubActivityListStargazersForRepoInputPath",
113
+ {"owner": Required["str"], "repo": Required["str"]},
114
+ total=False,
115
+ )
116
+ GithubActivityListStargazersForRepoInputQuery = TypedDict(
117
+ "GithubActivityListStargazersForRepoInputQuery",
118
+ {"per_page": NotRequired["int"], "page": NotRequired["int"]},
119
+ total=False,
120
+ )
121
+ GithubActivityListStargazersForRepoOutput: TypeAlias = (
122
+ "list[OutputsimpleUser] | list[Outputstargazer]"
123
+ )
124
+ GithubActivityListWatchedReposForAuthenticatedUserInput = TypedDict(
125
+ "GithubActivityListWatchedReposForAuthenticatedUserInput",
126
+ {"query": NotRequired["GithubActivityListWatchedReposForAuthenticatedUserInputQuery"]},
127
+ total=False,
128
+ )
129
+ GithubActivityListWatchedReposForAuthenticatedUserInputQuery = TypedDict(
130
+ "GithubActivityListWatchedReposForAuthenticatedUserInputQuery",
131
+ {"per_page": NotRequired["int"], "page": NotRequired["int"]},
132
+ total=False,
133
+ )
134
+ GithubActivityListWatchedReposForAuthenticatedUserOutput: TypeAlias = (
135
+ "list[OutputminimalRepository]"
136
+ )
137
+ GithubActivityListWatchersForRepoInput = TypedDict(
138
+ "GithubActivityListWatchersForRepoInput",
139
+ {
140
+ "path": Required["GithubActivityListWatchersForRepoInputPath"],
141
+ "query": NotRequired["GithubActivityListWatchersForRepoInputQuery"],
142
+ },
143
+ total=False,
144
+ )
145
+ GithubActivityListWatchersForRepoInputPath = TypedDict(
146
+ "GithubActivityListWatchersForRepoInputPath",
147
+ {"owner": Required["str"], "repo": Required["str"]},
148
+ total=False,
149
+ )
150
+ GithubActivityListWatchersForRepoInputQuery = TypedDict(
151
+ "GithubActivityListWatchersForRepoInputQuery",
152
+ {"per_page": NotRequired["int"], "page": NotRequired["int"]},
153
+ total=False,
154
+ )
155
+ GithubActivityListWatchersForRepoOutput: TypeAlias = "list[OutputsimpleUser]"
156
+ GithubActivityMarkNotificationsAsReadInput = TypedDict(
157
+ "GithubActivityMarkNotificationsAsReadInput",
158
+ {"body": NotRequired["GithubActivityMarkNotificationsAsReadInputBody"]},
159
+ total=False,
160
+ )
161
+ GithubActivityMarkNotificationsAsReadInputBody = TypedDict(
162
+ "GithubActivityMarkNotificationsAsReadInputBody",
163
+ {"last_read_at": NotRequired["str"], "read": NotRequired["bool"]},
164
+ total=False,
165
+ )
166
+ GithubActivityMarkNotificationsAsReadOutput = TypedDict(
167
+ "GithubActivityMarkNotificationsAsReadOutput", {"message": NotRequired["str"]}, total=False
168
+ )
169
+ GithubActivityMarkRepoNotificationsAsReadInput = TypedDict(
170
+ "GithubActivityMarkRepoNotificationsAsReadInput",
171
+ {
172
+ "path": Required["GithubActivityMarkRepoNotificationsAsReadInputPath"],
173
+ "body": NotRequired["GithubActivityMarkRepoNotificationsAsReadInputBody"],
174
+ },
175
+ total=False,
176
+ )
177
+ GithubActivityMarkRepoNotificationsAsReadInputBody = TypedDict(
178
+ "GithubActivityMarkRepoNotificationsAsReadInputBody",
179
+ {"last_read_at": NotRequired["str"]},
180
+ total=False,
181
+ )
182
+ GithubActivityMarkRepoNotificationsAsReadInputPath = TypedDict(
183
+ "GithubActivityMarkRepoNotificationsAsReadInputPath",
184
+ {"owner": Required["str"], "repo": Required["str"]},
185
+ total=False,
186
+ )
187
+ GithubActivityMarkRepoNotificationsAsReadOutput = TypedDict(
188
+ "GithubActivityMarkRepoNotificationsAsReadOutput",
189
+ {"message": NotRequired["str"], "url": NotRequired["str"]},
190
+ total=False,
191
+ )
192
+ GithubActivityMarkThreadAsDoneInput = TypedDict(
193
+ "GithubActivityMarkThreadAsDoneInput",
194
+ {"path": Required["GithubActivityMarkThreadAsDoneInputPath"]},
195
+ total=False,
196
+ )
197
+ GithubActivityMarkThreadAsDoneInputPath = TypedDict(
198
+ "GithubActivityMarkThreadAsDoneInputPath", {"thread_id": Required["int"]}, total=False
199
+ )
200
+ GithubActivityMarkThreadAsDoneOutput: TypeAlias = "None"
201
+ GithubActivityMarkThreadAsReadInput = TypedDict(
202
+ "GithubActivityMarkThreadAsReadInput",
203
+ {"path": Required["GithubActivityMarkThreadAsReadInputPath"]},
204
+ total=False,
205
+ )
206
+ GithubActivityMarkThreadAsReadInputPath = TypedDict(
207
+ "GithubActivityMarkThreadAsReadInputPath", {"thread_id": Required["int"]}, total=False
208
+ )
209
+ GithubActivityMarkThreadAsReadOutput: TypeAlias = "Any"
210
+ GithubActivitySetRepoSubscriptionInput = TypedDict(
211
+ "GithubActivitySetRepoSubscriptionInput",
212
+ {
213
+ "path": Required["GithubActivitySetRepoSubscriptionInputPath"],
214
+ "body": NotRequired["GithubActivitySetRepoSubscriptionInputBody"],
215
+ },
216
+ total=False,
217
+ )
218
+ GithubActivitySetRepoSubscriptionInputBody = TypedDict(
219
+ "GithubActivitySetRepoSubscriptionInputBody",
220
+ {"ignored": NotRequired["bool"], "subscribed": NotRequired["bool"]},
221
+ total=False,
222
+ )
223
+ GithubActivitySetRepoSubscriptionInputPath = TypedDict(
224
+ "GithubActivitySetRepoSubscriptionInputPath",
225
+ {"owner": Required["str"], "repo": Required["str"]},
226
+ total=False,
227
+ )
228
+ GithubActivitySetRepoSubscriptionOutput: TypeAlias = "OutputrepositorySubscription"
229
+ GithubActivitySetThreadSubscriptionInput = TypedDict(
230
+ "GithubActivitySetThreadSubscriptionInput",
231
+ {
232
+ "path": Required["GithubActivitySetThreadSubscriptionInputPath"],
233
+ "body": NotRequired["GithubActivitySetThreadSubscriptionInputBody"],
234
+ },
235
+ total=False,
236
+ )
237
+ GithubActivitySetThreadSubscriptionInputBody = TypedDict(
238
+ "GithubActivitySetThreadSubscriptionInputBody", {"ignored": NotRequired["bool"]}, total=False
239
+ )
240
+ GithubActivitySetThreadSubscriptionInputPath = TypedDict(
241
+ "GithubActivitySetThreadSubscriptionInputPath", {"thread_id": Required["int"]}, total=False
242
+ )
243
+ GithubActivitySetThreadSubscriptionOutput: TypeAlias = "OutputthreadSubscription"
244
+ GithubActivityStarRepoForAuthenticatedUserInput = TypedDict(
245
+ "GithubActivityStarRepoForAuthenticatedUserInput",
246
+ {"path": Required["GithubActivityStarRepoForAuthenticatedUserInputPath"]},
247
+ total=False,
248
+ )
249
+ GithubActivityStarRepoForAuthenticatedUserInputPath = TypedDict(
250
+ "GithubActivityStarRepoForAuthenticatedUserInputPath",
251
+ {"owner": Required["str"], "repo": Required["str"]},
252
+ total=False,
253
+ )
254
+ GithubActivityStarRepoForAuthenticatedUserOutput: TypeAlias = "None"
255
+ GithubActivityUnstarRepoForAuthenticatedUserInput = TypedDict(
256
+ "GithubActivityUnstarRepoForAuthenticatedUserInput",
257
+ {"path": Required["GithubActivityUnstarRepoForAuthenticatedUserInputPath"]},
258
+ total=False,
259
+ )
260
+ GithubActivityUnstarRepoForAuthenticatedUserInputPath = TypedDict(
261
+ "GithubActivityUnstarRepoForAuthenticatedUserInputPath",
262
+ {"owner": Required["str"], "repo": Required["str"]},
263
+ total=False,
264
+ )
265
+ GithubActivityUnstarRepoForAuthenticatedUserOutput: TypeAlias = "None"
266
+ GithubAgentAutomationsCreateRepoAutomationInput = TypedDict(
267
+ "GithubAgentAutomationsCreateRepoAutomationInput",
268
+ {
269
+ "path": Required["GithubAgentAutomationsCreateRepoAutomationInputPath"],
270
+ "body": Required["GithubAgentAutomationsCreateRepoAutomationInputBody"],
271
+ },
272
+ total=False,
273
+ )
274
+ GithubAgentAutomationsCreateRepoAutomationInputBody = TypedDict(
275
+ "GithubAgentAutomationsCreateRepoAutomationInputBody",
276
+ {
277
+ "continuous_history": NotRequired["bool"],
278
+ "enabled": NotRequired["bool"],
279
+ "model": NotRequired["str"],
280
+ "name": Required["str"],
281
+ "prompt": Required["str"],
282
+ "reasoning_effort": NotRequired[
283
+ "str | Literal['none', 'low', 'medium', 'high', 'xhigh', 'max']"
284
+ ],
285
+ "require_actor_write_permission": NotRequired["bool"],
286
+ "tools": NotRequired["list[str]"],
287
+ "triggers": NotRequired["GithubAgentAutomationsCreateRepoAutomationInputBodyTriggers"],
288
+ "type": NotRequired["Literal['personal', 'shared']"],
289
+ },
290
+ total=False,
291
+ )
292
+ GithubAgentAutomationsCreateRepoAutomationInputBodyTriggers = TypedDict(
293
+ "GithubAgentAutomationsCreateRepoAutomationInputBodyTriggers",
294
+ {
295
+ "automation_completed": NotRequired[
296
+ "GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersAutomationCompleted"
297
+ ],
298
+ "automation_failed": NotRequired[
299
+ "GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersAutomationFailed"
300
+ ],
301
+ "code_scanning_alert": NotRequired[
302
+ "GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersCodeScanningAlert"
303
+ ],
304
+ "dependabot_alert": NotRequired[
305
+ "GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersDependabotAlert"
306
+ ],
307
+ "discussion_comment": NotRequired[
308
+ "GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersDiscussionComment"
309
+ ],
310
+ "discussion_opened": NotRequired[
311
+ "GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersDiscussionOpened"
312
+ ],
313
+ "discussion_updated": NotRequired[
314
+ "GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersDiscussionUpdated"
315
+ ],
316
+ "interval": NotRequired[
317
+ "GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersInterval"
318
+ ],
319
+ "issue_assigned": NotRequired[
320
+ "GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersIssueAssigned"
321
+ ],
322
+ "issue_closed": NotRequired[
323
+ "GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersIssueClosed"
324
+ ],
325
+ "issue_comment": NotRequired[
326
+ "GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersIssueComment"
327
+ ],
328
+ "issue_labeled": NotRequired[
329
+ "GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersIssueLabeled"
330
+ ],
331
+ "issue_opened": NotRequired[
332
+ "GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersIssueOpened"
333
+ ],
334
+ "issue_reopened": NotRequired[
335
+ "GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersIssueReopened"
336
+ ],
337
+ "pull_request_assigned": NotRequired[
338
+ "GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersPullRequestAssigned"
339
+ ],
340
+ "pull_request_closed": NotRequired[
341
+ "GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersPullRequestClosed"
342
+ ],
343
+ "pull_request_comment": NotRequired[
344
+ "GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersPullRequestComment"
345
+ ],
346
+ "pull_request_converted_to_draft": NotRequired[
347
+ "GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersPullRequestConvertedToDraft"
348
+ ],
349
+ "pull_request_labeled": NotRequired[
350
+ "GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersPullRequestLabeled"
351
+ ],
352
+ "pull_request_merge_conflict": NotRequired[
353
+ "GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersPullRequestMergeConflict"
354
+ ],
355
+ "pull_request_merged": NotRequired[
356
+ "GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersPullRequestMerged"
357
+ ],
358
+ "pull_request_opened": NotRequired[
359
+ "GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersPullRequestOpened"
360
+ ],
361
+ "pull_request_ready_for_review": NotRequired[
362
+ "GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersPullRequestReadyForReview"
363
+ ],
364
+ "pull_request_reopened": NotRequired[
365
+ "GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersPullRequestReopened"
366
+ ],
367
+ "pull_request_review_dismissed": NotRequired[
368
+ "GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersPullRequestReviewDismissed"
369
+ ],
370
+ "pull_request_review_requested": NotRequired[
371
+ "GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersPullRequestReviewRequested"
372
+ ],
373
+ "pull_request_review_submitted": NotRequired[
374
+ "GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersPullRequestReviewSubmitted"
375
+ ],
376
+ "pull_request_review_thread_resolved": NotRequired[
377
+ "GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersPullRequestReviewThreadResolved"
378
+ ],
379
+ "pull_request_review_thread_unresolved": NotRequired[
380
+ "GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersPullRequestReviewThreadUnresolved"
381
+ ],
382
+ "pull_request_synchronize": NotRequired[
383
+ "GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersPullRequestSynchronize"
384
+ ],
385
+ "secret_scanning_alert": NotRequired[
386
+ "GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersSecretScanningAlert"
387
+ ],
388
+ "sub_issue_added": NotRequired[
389
+ "GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersSubIssueAdded"
390
+ ],
391
+ "workflow_run": NotRequired[
392
+ "GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersWorkflowRun"
393
+ ],
394
+ },
395
+ total=False,
396
+ )
397
+ GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersAutomationCompleted = TypedDict(
398
+ "GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersAutomationCompleted",
399
+ {
400
+ "allow_copilot_triggers": NotRequired["bool"],
401
+ "automation_ids": Required["list[str]"],
402
+ "write_scope": NotRequired["Literal['trigger', 'repository']"],
403
+ },
404
+ total=False,
405
+ )
406
+ GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersAutomationFailed = TypedDict(
407
+ "GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersAutomationFailed",
408
+ {
409
+ "allow_copilot_triggers": NotRequired["bool"],
410
+ "automation_ids": Required["list[str]"],
411
+ "reasons": NotRequired["list[Literal['reported', 'crashed', 'timed_out']]"],
412
+ "write_scope": NotRequired["Literal['trigger', 'repository']"],
413
+ },
414
+ total=False,
415
+ )
416
+ GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersCodeScanningAlert = TypedDict(
417
+ "GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersCodeScanningAlert",
418
+ {
419
+ "allow_copilot_triggers": NotRequired["bool"],
420
+ "write_scope": NotRequired["Literal['trigger', 'repository']"],
421
+ },
422
+ total=False,
423
+ )
424
+ GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersDependabotAlert = TypedDict(
425
+ "GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersDependabotAlert",
426
+ {
427
+ "allow_copilot_triggers": NotRequired["bool"],
428
+ "write_scope": NotRequired["Literal['trigger', 'repository']"],
429
+ },
430
+ total=False,
431
+ )
432
+ GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersDiscussionComment = TypedDict(
433
+ "GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersDiscussionComment",
434
+ {
435
+ "allow_copilot_triggers": NotRequired["bool"],
436
+ "body_substring": NotRequired["str"],
437
+ "categories": NotRequired["list[str]"],
438
+ "comment_types": NotRequired["list[Literal['comment', 'reply']]"],
439
+ "write_scope": NotRequired["Literal['trigger', 'repository']"],
440
+ },
441
+ total=False,
442
+ )
443
+ GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersDiscussionOpened = TypedDict(
444
+ "GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersDiscussionOpened",
445
+ {
446
+ "allow_copilot_triggers": NotRequired["bool"],
447
+ "body_substring": NotRequired["str"],
448
+ "categories": NotRequired["list[str]"],
449
+ "write_scope": NotRequired["Literal['trigger', 'repository']"],
450
+ },
451
+ total=False,
452
+ )
453
+ GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersDiscussionUpdated = TypedDict(
454
+ "GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersDiscussionUpdated",
455
+ {
456
+ "allow_copilot_triggers": NotRequired["bool"],
457
+ "body_substring": NotRequired["str"],
458
+ "categories": NotRequired["list[str]"],
459
+ "write_scope": NotRequired["Literal['trigger', 'repository']"],
460
+ },
461
+ total=False,
462
+ )
463
+ GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersInterval = TypedDict(
464
+ "GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersInterval",
465
+ {
466
+ "allow_copilot_triggers": NotRequired["bool"],
467
+ "cadence": Required["list[Literal['hourly', 'daily', 'weekly']]"],
468
+ "day_of_week": NotRequired["int"],
469
+ "hour_utc": NotRequired["int"],
470
+ "minute_utc": NotRequired["Literal[0, 15, 30, 45]"],
471
+ "write_scope": NotRequired["Literal['trigger', 'repository']"],
472
+ },
473
+ total=False,
474
+ )
475
+ GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersIssueAssigned = TypedDict(
476
+ "GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersIssueAssigned",
477
+ {
478
+ "allow_copilot_triggers": NotRequired["bool"],
479
+ "assignees": NotRequired["list[str]"],
480
+ "query": NotRequired["str"],
481
+ "write_scope": NotRequired["Literal['trigger', 'repository']"],
482
+ },
483
+ total=False,
484
+ )
485
+ GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersIssueClosed = TypedDict(
486
+ "GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersIssueClosed",
487
+ {
488
+ "allow_copilot_triggers": NotRequired["bool"],
489
+ "query": NotRequired["str"],
490
+ "write_scope": NotRequired["Literal['trigger', 'repository']"],
491
+ },
492
+ total=False,
493
+ )
494
+ GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersIssueComment = TypedDict(
495
+ "GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersIssueComment",
496
+ {
497
+ "allow_copilot_triggers": NotRequired["bool"],
498
+ "body_substring": NotRequired["str"],
499
+ "query": NotRequired["str"],
500
+ "write_scope": NotRequired["Literal['trigger', 'repository']"],
501
+ },
502
+ total=False,
503
+ )
504
+ GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersIssueLabeled = TypedDict(
505
+ "GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersIssueLabeled",
506
+ {
507
+ "allow_copilot_triggers": NotRequired["bool"],
508
+ "labels": NotRequired["list[str]"],
509
+ "query": NotRequired["str"],
510
+ "write_scope": NotRequired["Literal['trigger', 'repository']"],
511
+ },
512
+ total=False,
513
+ )
514
+ GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersIssueOpened = TypedDict(
515
+ "GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersIssueOpened",
516
+ {
517
+ "allow_copilot_triggers": NotRequired["bool"],
518
+ "query": NotRequired["str"],
519
+ "write_scope": NotRequired["Literal['trigger', 'repository']"],
520
+ },
521
+ total=False,
522
+ )
523
+ GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersIssueReopened = TypedDict(
524
+ "GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersIssueReopened",
525
+ {
526
+ "allow_copilot_triggers": NotRequired["bool"],
527
+ "query": NotRequired["str"],
528
+ "write_scope": NotRequired["Literal['trigger', 'repository']"],
529
+ },
530
+ total=False,
531
+ )
532
+ GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersPullRequestAssigned = TypedDict(
533
+ "GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersPullRequestAssigned",
534
+ {
535
+ "allow_copilot_triggers": NotRequired["bool"],
536
+ "assignees": NotRequired["list[str]"],
537
+ "paths": NotRequired["list[str]"],
538
+ "query": NotRequired["str"],
539
+ "write_scope": NotRequired["Literal['trigger', 'repository']"],
540
+ },
541
+ total=False,
542
+ )
543
+ GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersPullRequestClosed = TypedDict(
544
+ "GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersPullRequestClosed",
545
+ {
546
+ "allow_copilot_triggers": NotRequired["bool"],
547
+ "paths": NotRequired["list[str]"],
548
+ "query": NotRequired["str"],
549
+ "write_scope": NotRequired["Literal['trigger', 'repository']"],
550
+ },
551
+ total=False,
552
+ )
553
+ GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersPullRequestComment = TypedDict(
554
+ "GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersPullRequestComment",
555
+ {
556
+ "allow_copilot_triggers": NotRequired["bool"],
557
+ "body_substring": NotRequired["str"],
558
+ "comment_types": Required["list[Literal['timeline_comment', 'review_comment']]"],
559
+ "paths": NotRequired["list[str]"],
560
+ "query": NotRequired["str"],
561
+ "write_scope": NotRequired["Literal['trigger', 'repository']"],
562
+ },
563
+ total=False,
564
+ )
565
+ GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersPullRequestConvertedToDraft = TypedDict(
566
+ "GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersPullRequestConvertedToDraft",
567
+ {
568
+ "allow_copilot_triggers": NotRequired["bool"],
569
+ "paths": NotRequired["list[str]"],
570
+ "query": NotRequired["str"],
571
+ "write_scope": NotRequired["Literal['trigger', 'repository']"],
572
+ },
573
+ total=False,
574
+ )
575
+ GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersPullRequestLabeled = TypedDict(
576
+ "GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersPullRequestLabeled",
577
+ {
578
+ "allow_copilot_triggers": NotRequired["bool"],
579
+ "labels": NotRequired["list[str]"],
580
+ "paths": NotRequired["list[str]"],
581
+ "query": NotRequired["str"],
582
+ "write_scope": NotRequired["Literal['trigger', 'repository']"],
583
+ },
584
+ total=False,
585
+ )
586
+ GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersPullRequestMergeConflict = TypedDict(
587
+ "GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersPullRequestMergeConflict",
588
+ {
589
+ "allow_copilot_triggers": NotRequired["bool"],
590
+ "paths": NotRequired["list[str]"],
591
+ "query": NotRequired["str"],
592
+ "write_scope": NotRequired["Literal['trigger', 'repository']"],
593
+ },
594
+ total=False,
595
+ )
596
+ GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersPullRequestMerged = TypedDict(
597
+ "GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersPullRequestMerged",
598
+ {
599
+ "allow_copilot_triggers": NotRequired["bool"],
600
+ "paths": NotRequired["list[str]"],
601
+ "query": NotRequired["str"],
602
+ "write_scope": NotRequired["Literal['trigger', 'repository']"],
603
+ },
604
+ total=False,
605
+ )
606
+ GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersPullRequestOpened = TypedDict(
607
+ "GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersPullRequestOpened",
608
+ {
609
+ "allow_copilot_triggers": NotRequired["bool"],
610
+ "paths": NotRequired["list[str]"],
611
+ "query": NotRequired["str"],
612
+ "write_scope": NotRequired["Literal['trigger', 'repository']"],
613
+ },
614
+ total=False,
615
+ )
616
+ GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersPullRequestReadyForReview = TypedDict(
617
+ "GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersPullRequestReadyForReview",
618
+ {
619
+ "allow_copilot_triggers": NotRequired["bool"],
620
+ "paths": NotRequired["list[str]"],
621
+ "query": NotRequired["str"],
622
+ "write_scope": NotRequired["Literal['trigger', 'repository']"],
623
+ },
624
+ total=False,
625
+ )
626
+ GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersPullRequestReopened = TypedDict(
627
+ "GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersPullRequestReopened",
628
+ {
629
+ "allow_copilot_triggers": NotRequired["bool"],
630
+ "paths": NotRequired["list[str]"],
631
+ "query": NotRequired["str"],
632
+ "write_scope": NotRequired["Literal['trigger', 'repository']"],
633
+ },
634
+ total=False,
635
+ )
636
+ GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersPullRequestReviewDismissed = TypedDict(
637
+ "GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersPullRequestReviewDismissed",
638
+ {
639
+ "allow_copilot_triggers": NotRequired["bool"],
640
+ "paths": NotRequired["list[str]"],
641
+ "query": NotRequired["str"],
642
+ "write_scope": NotRequired["Literal['trigger', 'repository']"],
643
+ },
644
+ total=False,
645
+ )
646
+ GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersPullRequestReviewRequested = TypedDict(
647
+ "GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersPullRequestReviewRequested",
648
+ {
649
+ "allow_copilot_triggers": NotRequired["bool"],
650
+ "paths": NotRequired["list[str]"],
651
+ "query": NotRequired["str"],
652
+ "write_scope": NotRequired["Literal['trigger', 'repository']"],
653
+ },
654
+ total=False,
655
+ )
656
+ GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersPullRequestReviewSubmitted = TypedDict(
657
+ "GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersPullRequestReviewSubmitted",
658
+ {
659
+ "allow_copilot_triggers": NotRequired["bool"],
660
+ "paths": NotRequired["list[str]"],
661
+ "query": NotRequired["str"],
662
+ "states": Required["list[Literal['approved', 'changes_requested', 'commented']]"],
663
+ "write_scope": NotRequired["Literal['trigger', 'repository']"],
664
+ },
665
+ total=False,
666
+ )
667
+ GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersPullRequestReviewThreadResolved = TypedDict(
668
+ "GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersPullRequestReviewThreadResolved",
669
+ {
670
+ "allow_copilot_triggers": NotRequired["bool"],
671
+ "paths": NotRequired["list[str]"],
672
+ "query": NotRequired["str"],
673
+ "write_scope": NotRequired["Literal['trigger', 'repository']"],
674
+ },
675
+ total=False,
676
+ )
677
+ GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersPullRequestReviewThreadUnresolved = TypedDict(
678
+ "GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersPullRequestReviewThreadUnresolved",
679
+ {
680
+ "allow_copilot_triggers": NotRequired["bool"],
681
+ "paths": NotRequired["list[str]"],
682
+ "query": NotRequired["str"],
683
+ "write_scope": NotRequired["Literal['trigger', 'repository']"],
684
+ },
685
+ total=False,
686
+ )
687
+ GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersPullRequestSynchronize = TypedDict(
688
+ "GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersPullRequestSynchronize",
689
+ {
690
+ "allow_copilot_triggers": NotRequired["bool"],
691
+ "paths": NotRequired["list[str]"],
692
+ "query": NotRequired["str"],
693
+ "write_scope": NotRequired["Literal['trigger', 'repository']"],
694
+ },
695
+ total=False,
696
+ )
697
+ GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersSecretScanningAlert = TypedDict(
698
+ "GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersSecretScanningAlert",
699
+ {
700
+ "allow_copilot_triggers": NotRequired["bool"],
701
+ "write_scope": NotRequired["Literal['trigger', 'repository']"],
702
+ },
703
+ total=False,
704
+ )
705
+ GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersSubIssueAdded = TypedDict(
706
+ "GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersSubIssueAdded",
707
+ {
708
+ "allow_copilot_triggers": NotRequired["bool"],
709
+ "query": NotRequired["str"],
710
+ "write_scope": NotRequired["Literal['trigger', 'repository']"],
711
+ },
712
+ total=False,
713
+ )
714
+ GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersWorkflowRun = TypedDict(
715
+ "GithubAgentAutomationsCreateRepoAutomationInputBodyTriggersWorkflowRun",
716
+ {
717
+ "allow_copilot_triggers": NotRequired["bool"],
718
+ "conclusions": Required["list[Literal['failure']]"],
719
+ "query": NotRequired["str"],
720
+ "workflows": Required["list[str]"],
721
+ "write_scope": NotRequired["Literal['trigger', 'repository']"],
722
+ },
723
+ total=False,
724
+ )
725
+ GithubAgentAutomationsCreateRepoAutomationInputPath = TypedDict(
726
+ "GithubAgentAutomationsCreateRepoAutomationInputPath",
727
+ {"owner": Required["str"], "repo": Required["str"]},
728
+ total=False,
729
+ )
730
+ GithubAgentAutomationsCreateRepoAutomationOutput = TypedDict(
731
+ "GithubAgentAutomationsCreateRepoAutomationOutput",
732
+ {
733
+ "continuous_history": NotRequired["bool"],
734
+ "created_at": Required["str"],
735
+ "created_by": Required["GithubAgentAutomationsCreateRepoAutomationOutputCreatedBy"],
736
+ "enabled": NotRequired["bool"],
737
+ "id": Required["str"],
738
+ "model": NotRequired["str"],
739
+ "name": Required["str"],
740
+ "prompt": Required["str"],
741
+ "reasoning_effort": NotRequired["str"],
742
+ "require_actor_write_permission": NotRequired["bool"],
743
+ "tools": NotRequired["list[str]"],
744
+ "triggers": NotRequired["GithubAgentAutomationsCreateRepoAutomationOutputTriggers"],
745
+ "type": NotRequired["str"],
746
+ "updated_at": Required["str"],
747
+ },
748
+ total=False,
749
+ )
750
+ GithubAgentAutomationsCreateRepoAutomationOutputCreatedBy = TypedDict(
751
+ "GithubAgentAutomationsCreateRepoAutomationOutputCreatedBy",
752
+ {"id": NotRequired["int | str"]},
753
+ total=False,
754
+ )
755
+ GithubAgentAutomationsCreateRepoAutomationOutputTriggers = TypedDict(
756
+ "GithubAgentAutomationsCreateRepoAutomationOutputTriggers",
757
+ {
758
+ "automation_completed": NotRequired[
759
+ "GithubAgentAutomationsCreateRepoAutomationOutputTriggersAutomationCompleted"
760
+ ],
761
+ "automation_failed": NotRequired[
762
+ "GithubAgentAutomationsCreateRepoAutomationOutputTriggersAutomationFailed"
763
+ ],
764
+ "code_scanning_alert": NotRequired[
765
+ "GithubAgentAutomationsCreateRepoAutomationOutputTriggersCodeScanningAlert"
766
+ ],
767
+ "dependabot_alert": NotRequired[
768
+ "GithubAgentAutomationsCreateRepoAutomationOutputTriggersDependabotAlert"
769
+ ],
770
+ "discussion_comment": NotRequired[
771
+ "GithubAgentAutomationsCreateRepoAutomationOutputTriggersDiscussionComment"
772
+ ],
773
+ "discussion_opened": NotRequired[
774
+ "GithubAgentAutomationsCreateRepoAutomationOutputTriggersDiscussionOpened"
775
+ ],
776
+ "discussion_updated": NotRequired[
777
+ "GithubAgentAutomationsCreateRepoAutomationOutputTriggersDiscussionUpdated"
778
+ ],
779
+ "interval": NotRequired["GithubAgentAutomationsCreateRepoAutomationOutputTriggersInterval"],
780
+ "issue_assigned": NotRequired[
781
+ "GithubAgentAutomationsCreateRepoAutomationOutputTriggersIssueAssigned"
782
+ ],
783
+ "issue_closed": NotRequired[
784
+ "GithubAgentAutomationsCreateRepoAutomationOutputTriggersIssueClosed"
785
+ ],
786
+ "issue_comment": NotRequired[
787
+ "GithubAgentAutomationsCreateRepoAutomationOutputTriggersIssueComment"
788
+ ],
789
+ "issue_labeled": NotRequired[
790
+ "GithubAgentAutomationsCreateRepoAutomationOutputTriggersIssueLabeled"
791
+ ],
792
+ "issue_opened": NotRequired[
793
+ "GithubAgentAutomationsCreateRepoAutomationOutputTriggersIssueOpened"
794
+ ],
795
+ "issue_reopened": NotRequired[
796
+ "GithubAgentAutomationsCreateRepoAutomationOutputTriggersIssueReopened"
797
+ ],
798
+ "pull_request_assigned": NotRequired[
799
+ "GithubAgentAutomationsCreateRepoAutomationOutputTriggersPullRequestAssigned"
800
+ ],
801
+ "pull_request_closed": NotRequired[
802
+ "GithubAgentAutomationsCreateRepoAutomationOutputTriggersPullRequestClosed"
803
+ ],
804
+ "pull_request_comment": NotRequired[
805
+ "GithubAgentAutomationsCreateRepoAutomationOutputTriggersPullRequestComment"
806
+ ],
807
+ "pull_request_converted_to_draft": NotRequired[
808
+ "GithubAgentAutomationsCreateRepoAutomationOutputTriggersPullRequestConvertedToDraft"
809
+ ],
810
+ "pull_request_labeled": NotRequired[
811
+ "GithubAgentAutomationsCreateRepoAutomationOutputTriggersPullRequestLabeled"
812
+ ],
813
+ "pull_request_merge_conflict": NotRequired[
814
+ "GithubAgentAutomationsCreateRepoAutomationOutputTriggersPullRequestMergeConflict"
815
+ ],
816
+ "pull_request_merged": NotRequired[
817
+ "GithubAgentAutomationsCreateRepoAutomationOutputTriggersPullRequestMerged"
818
+ ],
819
+ "pull_request_opened": NotRequired[
820
+ "GithubAgentAutomationsCreateRepoAutomationOutputTriggersPullRequestOpened"
821
+ ],
822
+ "pull_request_ready_for_review": NotRequired[
823
+ "GithubAgentAutomationsCreateRepoAutomationOutputTriggersPullRequestReadyForReview"
824
+ ],
825
+ "pull_request_reopened": NotRequired[
826
+ "GithubAgentAutomationsCreateRepoAutomationOutputTriggersPullRequestReopened"
827
+ ],
828
+ "pull_request_review_dismissed": NotRequired[
829
+ "GithubAgentAutomationsCreateRepoAutomationOutputTriggersPullRequestReviewDismissed"
830
+ ],
831
+ "pull_request_review_requested": NotRequired[
832
+ "GithubAgentAutomationsCreateRepoAutomationOutputTriggersPullRequestReviewRequested"
833
+ ],
834
+ "pull_request_review_submitted": NotRequired[
835
+ "GithubAgentAutomationsCreateRepoAutomationOutputTriggersPullRequestReviewSubmitted"
836
+ ],
837
+ "pull_request_review_thread_resolved": NotRequired[
838
+ "GithubAgentAutomationsCreateRepoAutomationOutputTriggersPullRequestReviewThreadResolved"
839
+ ],
840
+ "pull_request_review_thread_unresolved": NotRequired[
841
+ "GithubAgentAutomationsCreateRepoAutomationOutputTriggersPullRequestReviewThreadUnresolved"
842
+ ],
843
+ "pull_request_synchronize": NotRequired[
844
+ "GithubAgentAutomationsCreateRepoAutomationOutputTriggersPullRequestSynchronize"
845
+ ],
846
+ "secret_scanning_alert": NotRequired[
847
+ "GithubAgentAutomationsCreateRepoAutomationOutputTriggersSecretScanningAlert"
848
+ ],
849
+ "sub_issue_added": NotRequired[
850
+ "GithubAgentAutomationsCreateRepoAutomationOutputTriggersSubIssueAdded"
851
+ ],
852
+ "workflow_run": NotRequired[
853
+ "GithubAgentAutomationsCreateRepoAutomationOutputTriggersWorkflowRun"
854
+ ],
855
+ },
856
+ total=False,
857
+ )
858
+ GithubAgentAutomationsCreateRepoAutomationOutputTriggersAutomationCompleted = TypedDict(
859
+ "GithubAgentAutomationsCreateRepoAutomationOutputTriggersAutomationCompleted",
860
+ {
861
+ "allow_copilot_triggers": NotRequired["bool"],
862
+ "automation_ids": Required["list[str]"],
863
+ "write_scope": NotRequired["str"],
864
+ },
865
+ total=False,
866
+ )
867
+ GithubAgentAutomationsCreateRepoAutomationOutputTriggersAutomationFailed = TypedDict(
868
+ "GithubAgentAutomationsCreateRepoAutomationOutputTriggersAutomationFailed",
869
+ {
870
+ "allow_copilot_triggers": NotRequired["bool"],
871
+ "automation_ids": Required["list[str]"],
872
+ "reasons": NotRequired["list[str]"],
873
+ "write_scope": NotRequired["str"],
874
+ },
875
+ total=False,
876
+ )
877
+ GithubAgentAutomationsCreateRepoAutomationOutputTriggersCodeScanningAlert = TypedDict(
878
+ "GithubAgentAutomationsCreateRepoAutomationOutputTriggersCodeScanningAlert",
879
+ {"allow_copilot_triggers": NotRequired["bool"], "write_scope": NotRequired["str"]},
880
+ total=False,
881
+ )
882
+ GithubAgentAutomationsCreateRepoAutomationOutputTriggersDependabotAlert = TypedDict(
883
+ "GithubAgentAutomationsCreateRepoAutomationOutputTriggersDependabotAlert",
884
+ {"allow_copilot_triggers": NotRequired["bool"], "write_scope": NotRequired["str"]},
885
+ total=False,
886
+ )
887
+ GithubAgentAutomationsCreateRepoAutomationOutputTriggersDiscussionComment = TypedDict(
888
+ "GithubAgentAutomationsCreateRepoAutomationOutputTriggersDiscussionComment",
889
+ {
890
+ "allow_copilot_triggers": NotRequired["bool"],
891
+ "body_substring": NotRequired["str"],
892
+ "categories": NotRequired["list[str]"],
893
+ "comment_types": NotRequired["list[str]"],
894
+ "write_scope": NotRequired["str"],
895
+ },
896
+ total=False,
897
+ )
898
+ GithubAgentAutomationsCreateRepoAutomationOutputTriggersDiscussionOpened = TypedDict(
899
+ "GithubAgentAutomationsCreateRepoAutomationOutputTriggersDiscussionOpened",
900
+ {
901
+ "allow_copilot_triggers": NotRequired["bool"],
902
+ "body_substring": NotRequired["str"],
903
+ "categories": NotRequired["list[str]"],
904
+ "write_scope": NotRequired["str"],
905
+ },
906
+ total=False,
907
+ )
908
+ GithubAgentAutomationsCreateRepoAutomationOutputTriggersDiscussionUpdated = TypedDict(
909
+ "GithubAgentAutomationsCreateRepoAutomationOutputTriggersDiscussionUpdated",
910
+ {
911
+ "allow_copilot_triggers": NotRequired["bool"],
912
+ "body_substring": NotRequired["str"],
913
+ "categories": NotRequired["list[str]"],
914
+ "write_scope": NotRequired["str"],
915
+ },
916
+ total=False,
917
+ )
918
+ GithubAgentAutomationsCreateRepoAutomationOutputTriggersInterval = TypedDict(
919
+ "GithubAgentAutomationsCreateRepoAutomationOutputTriggersInterval",
920
+ {
921
+ "allow_copilot_triggers": NotRequired["bool"],
922
+ "cadence": Required["list[str]"],
923
+ "day_of_week": NotRequired["int | str"],
924
+ "hour_utc": NotRequired["int | str"],
925
+ "minute_utc": NotRequired["int | str"],
926
+ "write_scope": NotRequired["str"],
927
+ },
928
+ total=False,
929
+ )
930
+ GithubAgentAutomationsCreateRepoAutomationOutputTriggersIssueAssigned = TypedDict(
931
+ "GithubAgentAutomationsCreateRepoAutomationOutputTriggersIssueAssigned",
932
+ {
933
+ "allow_copilot_triggers": NotRequired["bool"],
934
+ "assignees": NotRequired["list[str]"],
935
+ "query": NotRequired["str"],
936
+ "write_scope": NotRequired["str"],
937
+ },
938
+ total=False,
939
+ )
940
+ GithubAgentAutomationsCreateRepoAutomationOutputTriggersIssueClosed = TypedDict(
941
+ "GithubAgentAutomationsCreateRepoAutomationOutputTriggersIssueClosed",
942
+ {
943
+ "allow_copilot_triggers": NotRequired["bool"],
944
+ "query": NotRequired["str"],
945
+ "write_scope": NotRequired["str"],
946
+ },
947
+ total=False,
948
+ )
949
+ GithubAgentAutomationsCreateRepoAutomationOutputTriggersIssueComment = TypedDict(
950
+ "GithubAgentAutomationsCreateRepoAutomationOutputTriggersIssueComment",
951
+ {
952
+ "allow_copilot_triggers": NotRequired["bool"],
953
+ "body_substring": NotRequired["str"],
954
+ "query": NotRequired["str"],
955
+ "write_scope": NotRequired["str"],
956
+ },
957
+ total=False,
958
+ )
959
+ GithubAgentAutomationsCreateRepoAutomationOutputTriggersIssueLabeled = TypedDict(
960
+ "GithubAgentAutomationsCreateRepoAutomationOutputTriggersIssueLabeled",
961
+ {
962
+ "allow_copilot_triggers": NotRequired["bool"],
963
+ "labels": NotRequired["list[str]"],
964
+ "query": NotRequired["str"],
965
+ "write_scope": NotRequired["str"],
966
+ },
967
+ total=False,
968
+ )
969
+ GithubAgentAutomationsCreateRepoAutomationOutputTriggersIssueOpened = TypedDict(
970
+ "GithubAgentAutomationsCreateRepoAutomationOutputTriggersIssueOpened",
971
+ {
972
+ "allow_copilot_triggers": NotRequired["bool"],
973
+ "query": NotRequired["str"],
974
+ "write_scope": NotRequired["str"],
975
+ },
976
+ total=False,
977
+ )
978
+ GithubAgentAutomationsCreateRepoAutomationOutputTriggersIssueReopened = TypedDict(
979
+ "GithubAgentAutomationsCreateRepoAutomationOutputTriggersIssueReopened",
980
+ {
981
+ "allow_copilot_triggers": NotRequired["bool"],
982
+ "query": NotRequired["str"],
983
+ "write_scope": NotRequired["str"],
984
+ },
985
+ total=False,
986
+ )
987
+ GithubAgentAutomationsCreateRepoAutomationOutputTriggersPullRequestAssigned = TypedDict(
988
+ "GithubAgentAutomationsCreateRepoAutomationOutputTriggersPullRequestAssigned",
989
+ {
990
+ "allow_copilot_triggers": NotRequired["bool"],
991
+ "assignees": NotRequired["list[str]"],
992
+ "paths": NotRequired["list[str]"],
993
+ "query": NotRequired["str"],
994
+ "write_scope": NotRequired["str"],
995
+ },
996
+ total=False,
997
+ )
998
+ GithubAgentAutomationsCreateRepoAutomationOutputTriggersPullRequestClosed = TypedDict(
999
+ "GithubAgentAutomationsCreateRepoAutomationOutputTriggersPullRequestClosed",
1000
+ {
1001
+ "allow_copilot_triggers": NotRequired["bool"],
1002
+ "paths": NotRequired["list[str]"],
1003
+ "query": NotRequired["str"],
1004
+ "write_scope": NotRequired["str"],
1005
+ },
1006
+ total=False,
1007
+ )
1008
+ GithubAgentAutomationsCreateRepoAutomationOutputTriggersPullRequestComment = TypedDict(
1009
+ "GithubAgentAutomationsCreateRepoAutomationOutputTriggersPullRequestComment",
1010
+ {
1011
+ "allow_copilot_triggers": NotRequired["bool"],
1012
+ "body_substring": NotRequired["str"],
1013
+ "comment_types": Required["list[str]"],
1014
+ "paths": NotRequired["list[str]"],
1015
+ "query": NotRequired["str"],
1016
+ "write_scope": NotRequired["str"],
1017
+ },
1018
+ total=False,
1019
+ )
1020
+ GithubAgentAutomationsCreateRepoAutomationOutputTriggersPullRequestConvertedToDraft = TypedDict(
1021
+ "GithubAgentAutomationsCreateRepoAutomationOutputTriggersPullRequestConvertedToDraft",
1022
+ {
1023
+ "allow_copilot_triggers": NotRequired["bool"],
1024
+ "paths": NotRequired["list[str]"],
1025
+ "query": NotRequired["str"],
1026
+ "write_scope": NotRequired["str"],
1027
+ },
1028
+ total=False,
1029
+ )
1030
+ GithubAgentAutomationsCreateRepoAutomationOutputTriggersPullRequestLabeled = TypedDict(
1031
+ "GithubAgentAutomationsCreateRepoAutomationOutputTriggersPullRequestLabeled",
1032
+ {
1033
+ "allow_copilot_triggers": NotRequired["bool"],
1034
+ "labels": NotRequired["list[str]"],
1035
+ "paths": NotRequired["list[str]"],
1036
+ "query": NotRequired["str"],
1037
+ "write_scope": NotRequired["str"],
1038
+ },
1039
+ total=False,
1040
+ )
1041
+ GithubAgentAutomationsCreateRepoAutomationOutputTriggersPullRequestMergeConflict = TypedDict(
1042
+ "GithubAgentAutomationsCreateRepoAutomationOutputTriggersPullRequestMergeConflict",
1043
+ {
1044
+ "allow_copilot_triggers": NotRequired["bool"],
1045
+ "paths": NotRequired["list[str]"],
1046
+ "query": NotRequired["str"],
1047
+ "write_scope": NotRequired["str"],
1048
+ },
1049
+ total=False,
1050
+ )
1051
+ GithubAgentAutomationsCreateRepoAutomationOutputTriggersPullRequestMerged = TypedDict(
1052
+ "GithubAgentAutomationsCreateRepoAutomationOutputTriggersPullRequestMerged",
1053
+ {
1054
+ "allow_copilot_triggers": NotRequired["bool"],
1055
+ "paths": NotRequired["list[str]"],
1056
+ "query": NotRequired["str"],
1057
+ "write_scope": NotRequired["str"],
1058
+ },
1059
+ total=False,
1060
+ )
1061
+ GithubAgentAutomationsCreateRepoAutomationOutputTriggersPullRequestOpened = TypedDict(
1062
+ "GithubAgentAutomationsCreateRepoAutomationOutputTriggersPullRequestOpened",
1063
+ {
1064
+ "allow_copilot_triggers": NotRequired["bool"],
1065
+ "paths": NotRequired["list[str]"],
1066
+ "query": NotRequired["str"],
1067
+ "write_scope": NotRequired["str"],
1068
+ },
1069
+ total=False,
1070
+ )
1071
+ GithubAgentAutomationsCreateRepoAutomationOutputTriggersPullRequestReadyForReview = TypedDict(
1072
+ "GithubAgentAutomationsCreateRepoAutomationOutputTriggersPullRequestReadyForReview",
1073
+ {
1074
+ "allow_copilot_triggers": NotRequired["bool"],
1075
+ "paths": NotRequired["list[str]"],
1076
+ "query": NotRequired["str"],
1077
+ "write_scope": NotRequired["str"],
1078
+ },
1079
+ total=False,
1080
+ )
1081
+ GithubAgentAutomationsCreateRepoAutomationOutputTriggersPullRequestReopened = TypedDict(
1082
+ "GithubAgentAutomationsCreateRepoAutomationOutputTriggersPullRequestReopened",
1083
+ {
1084
+ "allow_copilot_triggers": NotRequired["bool"],
1085
+ "paths": NotRequired["list[str]"],
1086
+ "query": NotRequired["str"],
1087
+ "write_scope": NotRequired["str"],
1088
+ },
1089
+ total=False,
1090
+ )
1091
+ GithubAgentAutomationsCreateRepoAutomationOutputTriggersPullRequestReviewDismissed = TypedDict(
1092
+ "GithubAgentAutomationsCreateRepoAutomationOutputTriggersPullRequestReviewDismissed",
1093
+ {
1094
+ "allow_copilot_triggers": NotRequired["bool"],
1095
+ "paths": NotRequired["list[str]"],
1096
+ "query": NotRequired["str"],
1097
+ "write_scope": NotRequired["str"],
1098
+ },
1099
+ total=False,
1100
+ )
1101
+ GithubAgentAutomationsCreateRepoAutomationOutputTriggersPullRequestReviewRequested = TypedDict(
1102
+ "GithubAgentAutomationsCreateRepoAutomationOutputTriggersPullRequestReviewRequested",
1103
+ {
1104
+ "allow_copilot_triggers": NotRequired["bool"],
1105
+ "paths": NotRequired["list[str]"],
1106
+ "query": NotRequired["str"],
1107
+ "write_scope": NotRequired["str"],
1108
+ },
1109
+ total=False,
1110
+ )
1111
+ GithubAgentAutomationsCreateRepoAutomationOutputTriggersPullRequestReviewSubmitted = TypedDict(
1112
+ "GithubAgentAutomationsCreateRepoAutomationOutputTriggersPullRequestReviewSubmitted",
1113
+ {
1114
+ "allow_copilot_triggers": NotRequired["bool"],
1115
+ "paths": NotRequired["list[str]"],
1116
+ "query": NotRequired["str"],
1117
+ "states": Required["list[str]"],
1118
+ "write_scope": NotRequired["str"],
1119
+ },
1120
+ total=False,
1121
+ )
1122
+ GithubAgentAutomationsCreateRepoAutomationOutputTriggersPullRequestReviewThreadResolved = TypedDict(
1123
+ "GithubAgentAutomationsCreateRepoAutomationOutputTriggersPullRequestReviewThreadResolved",
1124
+ {
1125
+ "allow_copilot_triggers": NotRequired["bool"],
1126
+ "paths": NotRequired["list[str]"],
1127
+ "query": NotRequired["str"],
1128
+ "write_scope": NotRequired["str"],
1129
+ },
1130
+ total=False,
1131
+ )
1132
+ GithubAgentAutomationsCreateRepoAutomationOutputTriggersPullRequestReviewThreadUnresolved = (
1133
+ TypedDict(
1134
+ "GithubAgentAutomationsCreateRepoAutomationOutputTriggersPullRequestReviewThreadUnresolved",
1135
+ {
1136
+ "allow_copilot_triggers": NotRequired["bool"],
1137
+ "paths": NotRequired["list[str]"],
1138
+ "query": NotRequired["str"],
1139
+ "write_scope": NotRequired["str"],
1140
+ },
1141
+ total=False,
1142
+ )
1143
+ )
1144
+ GithubAgentAutomationsCreateRepoAutomationOutputTriggersPullRequestSynchronize = TypedDict(
1145
+ "GithubAgentAutomationsCreateRepoAutomationOutputTriggersPullRequestSynchronize",
1146
+ {
1147
+ "allow_copilot_triggers": NotRequired["bool"],
1148
+ "paths": NotRequired["list[str]"],
1149
+ "query": NotRequired["str"],
1150
+ "write_scope": NotRequired["str"],
1151
+ },
1152
+ total=False,
1153
+ )
1154
+ GithubAgentAutomationsCreateRepoAutomationOutputTriggersSecretScanningAlert = TypedDict(
1155
+ "GithubAgentAutomationsCreateRepoAutomationOutputTriggersSecretScanningAlert",
1156
+ {"allow_copilot_triggers": NotRequired["bool"], "write_scope": NotRequired["str"]},
1157
+ total=False,
1158
+ )
1159
+ GithubAgentAutomationsCreateRepoAutomationOutputTriggersSubIssueAdded = TypedDict(
1160
+ "GithubAgentAutomationsCreateRepoAutomationOutputTriggersSubIssueAdded",
1161
+ {
1162
+ "allow_copilot_triggers": NotRequired["bool"],
1163
+ "query": NotRequired["str"],
1164
+ "write_scope": NotRequired["str"],
1165
+ },
1166
+ total=False,
1167
+ )
1168
+ GithubAgentAutomationsCreateRepoAutomationOutputTriggersWorkflowRun = TypedDict(
1169
+ "GithubAgentAutomationsCreateRepoAutomationOutputTriggersWorkflowRun",
1170
+ {
1171
+ "allow_copilot_triggers": NotRequired["bool"],
1172
+ "conclusions": Required["list[str]"],
1173
+ "query": NotRequired["str"],
1174
+ "workflows": Required["list[str]"],
1175
+ "write_scope": NotRequired["str"],
1176
+ },
1177
+ total=False,
1178
+ )
1179
+ GithubAgentAutomationsCreateRepoAutomationTaskInput = TypedDict(
1180
+ "GithubAgentAutomationsCreateRepoAutomationTaskInput",
1181
+ {
1182
+ "path": Required["GithubAgentAutomationsCreateRepoAutomationTaskInputPath"],
1183
+ "body": Required["GithubAgentAutomationsCreateRepoAutomationTaskInputBody"],
1184
+ },
1185
+ total=False,
1186
+ )
1187
+ GithubAgentAutomationsCreateRepoAutomationTaskInputBody = TypedDict(
1188
+ "GithubAgentAutomationsCreateRepoAutomationTaskInputBody",
1189
+ {"context": NotRequired["str"], "event": Required["Literal['manual']"]},
1190
+ total=False,
1191
+ )
1192
+ GithubAgentAutomationsCreateRepoAutomationTaskInputPath = TypedDict(
1193
+ "GithubAgentAutomationsCreateRepoAutomationTaskInputPath",
1194
+ {"owner": Required["str"], "repo": Required["str"], "automation_id": Required["str"]},
1195
+ total=False,
1196
+ )
1197
+ GithubAgentAutomationsCreateRepoAutomationTaskOutput = TypedDict(
1198
+ "GithubAgentAutomationsCreateRepoAutomationTaskOutput",
1199
+ {"automation_id": Required["str"], "event": Required["str"], "task_id": Required["str"]},
1200
+ total=False,
1201
+ )
1202
+ GithubAgentAutomationsDeleteRepoAutomationInput = TypedDict(
1203
+ "GithubAgentAutomationsDeleteRepoAutomationInput",
1204
+ {"path": Required["GithubAgentAutomationsDeleteRepoAutomationInputPath"]},
1205
+ total=False,
1206
+ )
1207
+ GithubAgentAutomationsDeleteRepoAutomationInputPath = TypedDict(
1208
+ "GithubAgentAutomationsDeleteRepoAutomationInputPath",
1209
+ {"owner": Required["str"], "repo": Required["str"], "automation_id": Required["str"]},
1210
+ total=False,
1211
+ )
1212
+ GithubAgentAutomationsDeleteRepoAutomationOutput: TypeAlias = "None"
1213
+ GithubAgentAutomationsEditRepoAutomationInput = TypedDict(
1214
+ "GithubAgentAutomationsEditRepoAutomationInput",
1215
+ {
1216
+ "path": Required["GithubAgentAutomationsEditRepoAutomationInputPath"],
1217
+ "body": Required["GithubAgentAutomationsEditRepoAutomationInputBody"],
1218
+ },
1219
+ total=False,
1220
+ )
1221
+ GithubAgentAutomationsEditRepoAutomationInputBody = TypedDict(
1222
+ "GithubAgentAutomationsEditRepoAutomationInputBody",
1223
+ {
1224
+ "continuous_history": NotRequired["bool"],
1225
+ "enabled": NotRequired["bool"],
1226
+ "model": NotRequired["str"],
1227
+ "name": NotRequired["str"],
1228
+ "prompt": NotRequired["str"],
1229
+ "reasoning_effort": NotRequired[
1230
+ "str | Literal['none', 'low', 'medium', 'high', 'xhigh', 'max']"
1231
+ ],
1232
+ "require_actor_write_permission": NotRequired["bool"],
1233
+ "tools": NotRequired["list[str]"],
1234
+ "triggers": NotRequired["GithubAgentAutomationsEditRepoAutomationInputBodyTriggers"],
1235
+ },
1236
+ total=False,
1237
+ )
1238
+ GithubAgentAutomationsEditRepoAutomationInputBodyTriggers = TypedDict(
1239
+ "GithubAgentAutomationsEditRepoAutomationInputBodyTriggers",
1240
+ {
1241
+ "automation_completed": NotRequired[
1242
+ "GithubAgentAutomationsEditRepoAutomationInputBodyTriggersAutomationCompleted"
1243
+ ],
1244
+ "automation_failed": NotRequired[
1245
+ "GithubAgentAutomationsEditRepoAutomationInputBodyTriggersAutomationFailed"
1246
+ ],
1247
+ "code_scanning_alert": NotRequired[
1248
+ "GithubAgentAutomationsEditRepoAutomationInputBodyTriggersCodeScanningAlert"
1249
+ ],
1250
+ "dependabot_alert": NotRequired[
1251
+ "GithubAgentAutomationsEditRepoAutomationInputBodyTriggersDependabotAlert"
1252
+ ],
1253
+ "discussion_comment": NotRequired[
1254
+ "GithubAgentAutomationsEditRepoAutomationInputBodyTriggersDiscussionComment"
1255
+ ],
1256
+ "discussion_opened": NotRequired[
1257
+ "GithubAgentAutomationsEditRepoAutomationInputBodyTriggersDiscussionOpened"
1258
+ ],
1259
+ "discussion_updated": NotRequired[
1260
+ "GithubAgentAutomationsEditRepoAutomationInputBodyTriggersDiscussionUpdated"
1261
+ ],
1262
+ "interval": NotRequired[
1263
+ "GithubAgentAutomationsEditRepoAutomationInputBodyTriggersInterval"
1264
+ ],
1265
+ "issue_assigned": NotRequired[
1266
+ "GithubAgentAutomationsEditRepoAutomationInputBodyTriggersIssueAssigned"
1267
+ ],
1268
+ "issue_closed": NotRequired[
1269
+ "GithubAgentAutomationsEditRepoAutomationInputBodyTriggersIssueClosed"
1270
+ ],
1271
+ "issue_comment": NotRequired[
1272
+ "GithubAgentAutomationsEditRepoAutomationInputBodyTriggersIssueComment"
1273
+ ],
1274
+ "issue_labeled": NotRequired[
1275
+ "GithubAgentAutomationsEditRepoAutomationInputBodyTriggersIssueLabeled"
1276
+ ],
1277
+ "issue_opened": NotRequired[
1278
+ "GithubAgentAutomationsEditRepoAutomationInputBodyTriggersIssueOpened"
1279
+ ],
1280
+ "issue_reopened": NotRequired[
1281
+ "GithubAgentAutomationsEditRepoAutomationInputBodyTriggersIssueReopened"
1282
+ ],
1283
+ "pull_request_assigned": NotRequired[
1284
+ "GithubAgentAutomationsEditRepoAutomationInputBodyTriggersPullRequestAssigned"
1285
+ ],
1286
+ "pull_request_closed": NotRequired[
1287
+ "GithubAgentAutomationsEditRepoAutomationInputBodyTriggersPullRequestClosed"
1288
+ ],
1289
+ "pull_request_comment": NotRequired[
1290
+ "GithubAgentAutomationsEditRepoAutomationInputBodyTriggersPullRequestComment"
1291
+ ],
1292
+ "pull_request_converted_to_draft": NotRequired[
1293
+ "GithubAgentAutomationsEditRepoAutomationInputBodyTriggersPullRequestConvertedToDraft"
1294
+ ],
1295
+ "pull_request_labeled": NotRequired[
1296
+ "GithubAgentAutomationsEditRepoAutomationInputBodyTriggersPullRequestLabeled"
1297
+ ],
1298
+ "pull_request_merge_conflict": NotRequired[
1299
+ "GithubAgentAutomationsEditRepoAutomationInputBodyTriggersPullRequestMergeConflict"
1300
+ ],
1301
+ "pull_request_merged": NotRequired[
1302
+ "GithubAgentAutomationsEditRepoAutomationInputBodyTriggersPullRequestMerged"
1303
+ ],
1304
+ "pull_request_opened": NotRequired[
1305
+ "GithubAgentAutomationsEditRepoAutomationInputBodyTriggersPullRequestOpened"
1306
+ ],
1307
+ "pull_request_ready_for_review": NotRequired[
1308
+ "GithubAgentAutomationsEditRepoAutomationInputBodyTriggersPullRequestReadyForReview"
1309
+ ],
1310
+ "pull_request_reopened": NotRequired[
1311
+ "GithubAgentAutomationsEditRepoAutomationInputBodyTriggersPullRequestReopened"
1312
+ ],
1313
+ "pull_request_review_dismissed": NotRequired[
1314
+ "GithubAgentAutomationsEditRepoAutomationInputBodyTriggersPullRequestReviewDismissed"
1315
+ ],
1316
+ "pull_request_review_requested": NotRequired[
1317
+ "GithubAgentAutomationsEditRepoAutomationInputBodyTriggersPullRequestReviewRequested"
1318
+ ],
1319
+ "pull_request_review_submitted": NotRequired[
1320
+ "GithubAgentAutomationsEditRepoAutomationInputBodyTriggersPullRequestReviewSubmitted"
1321
+ ],
1322
+ "pull_request_review_thread_resolved": NotRequired[
1323
+ "GithubAgentAutomationsEditRepoAutomationInputBodyTriggersPullRequestReviewThreadResolved"
1324
+ ],
1325
+ "pull_request_review_thread_unresolved": NotRequired[
1326
+ "GithubAgentAutomationsEditRepoAutomationInputBodyTriggersPullRequestReviewThreadUnresolved"
1327
+ ],
1328
+ "pull_request_synchronize": NotRequired[
1329
+ "GithubAgentAutomationsEditRepoAutomationInputBodyTriggersPullRequestSynchronize"
1330
+ ],
1331
+ "secret_scanning_alert": NotRequired[
1332
+ "GithubAgentAutomationsEditRepoAutomationInputBodyTriggersSecretScanningAlert"
1333
+ ],
1334
+ "sub_issue_added": NotRequired[
1335
+ "GithubAgentAutomationsEditRepoAutomationInputBodyTriggersSubIssueAdded"
1336
+ ],
1337
+ "workflow_run": NotRequired[
1338
+ "GithubAgentAutomationsEditRepoAutomationInputBodyTriggersWorkflowRun"
1339
+ ],
1340
+ },
1341
+ total=False,
1342
+ )
1343
+ GithubAgentAutomationsEditRepoAutomationInputBodyTriggersAutomationCompleted = TypedDict(
1344
+ "GithubAgentAutomationsEditRepoAutomationInputBodyTriggersAutomationCompleted",
1345
+ {
1346
+ "allow_copilot_triggers": NotRequired["bool"],
1347
+ "automation_ids": Required["list[str]"],
1348
+ "write_scope": NotRequired["Literal['trigger', 'repository']"],
1349
+ },
1350
+ total=False,
1351
+ )
1352
+ GithubAgentAutomationsEditRepoAutomationInputBodyTriggersAutomationFailed = TypedDict(
1353
+ "GithubAgentAutomationsEditRepoAutomationInputBodyTriggersAutomationFailed",
1354
+ {
1355
+ "allow_copilot_triggers": NotRequired["bool"],
1356
+ "automation_ids": Required["list[str]"],
1357
+ "reasons": NotRequired["list[Literal['reported', 'crashed', 'timed_out']]"],
1358
+ "write_scope": NotRequired["Literal['trigger', 'repository']"],
1359
+ },
1360
+ total=False,
1361
+ )
1362
+ GithubAgentAutomationsEditRepoAutomationInputBodyTriggersCodeScanningAlert = TypedDict(
1363
+ "GithubAgentAutomationsEditRepoAutomationInputBodyTriggersCodeScanningAlert",
1364
+ {
1365
+ "allow_copilot_triggers": NotRequired["bool"],
1366
+ "write_scope": NotRequired["Literal['trigger', 'repository']"],
1367
+ },
1368
+ total=False,
1369
+ )
1370
+ GithubAgentAutomationsEditRepoAutomationInputBodyTriggersDependabotAlert = TypedDict(
1371
+ "GithubAgentAutomationsEditRepoAutomationInputBodyTriggersDependabotAlert",
1372
+ {
1373
+ "allow_copilot_triggers": NotRequired["bool"],
1374
+ "write_scope": NotRequired["Literal['trigger', 'repository']"],
1375
+ },
1376
+ total=False,
1377
+ )
1378
+ GithubAgentAutomationsEditRepoAutomationInputBodyTriggersDiscussionComment = TypedDict(
1379
+ "GithubAgentAutomationsEditRepoAutomationInputBodyTriggersDiscussionComment",
1380
+ {
1381
+ "allow_copilot_triggers": NotRequired["bool"],
1382
+ "body_substring": NotRequired["str"],
1383
+ "categories": NotRequired["list[str]"],
1384
+ "comment_types": NotRequired["list[Literal['comment', 'reply']]"],
1385
+ "write_scope": NotRequired["Literal['trigger', 'repository']"],
1386
+ },
1387
+ total=False,
1388
+ )
1389
+ GithubAgentAutomationsEditRepoAutomationInputBodyTriggersDiscussionOpened = TypedDict(
1390
+ "GithubAgentAutomationsEditRepoAutomationInputBodyTriggersDiscussionOpened",
1391
+ {
1392
+ "allow_copilot_triggers": NotRequired["bool"],
1393
+ "body_substring": NotRequired["str"],
1394
+ "categories": NotRequired["list[str]"],
1395
+ "write_scope": NotRequired["Literal['trigger', 'repository']"],
1396
+ },
1397
+ total=False,
1398
+ )
1399
+ GithubAgentAutomationsEditRepoAutomationInputBodyTriggersDiscussionUpdated = TypedDict(
1400
+ "GithubAgentAutomationsEditRepoAutomationInputBodyTriggersDiscussionUpdated",
1401
+ {
1402
+ "allow_copilot_triggers": NotRequired["bool"],
1403
+ "body_substring": NotRequired["str"],
1404
+ "categories": NotRequired["list[str]"],
1405
+ "write_scope": NotRequired["Literal['trigger', 'repository']"],
1406
+ },
1407
+ total=False,
1408
+ )
1409
+ GithubAgentAutomationsEditRepoAutomationInputBodyTriggersInterval = TypedDict(
1410
+ "GithubAgentAutomationsEditRepoAutomationInputBodyTriggersInterval",
1411
+ {
1412
+ "allow_copilot_triggers": NotRequired["bool"],
1413
+ "cadence": Required["list[Literal['hourly', 'daily', 'weekly']]"],
1414
+ "day_of_week": NotRequired["int"],
1415
+ "hour_utc": NotRequired["int"],
1416
+ "minute_utc": NotRequired["Literal[0, 15, 30, 45]"],
1417
+ "write_scope": NotRequired["Literal['trigger', 'repository']"],
1418
+ },
1419
+ total=False,
1420
+ )
1421
+ GithubAgentAutomationsEditRepoAutomationInputBodyTriggersIssueAssigned = TypedDict(
1422
+ "GithubAgentAutomationsEditRepoAutomationInputBodyTriggersIssueAssigned",
1423
+ {
1424
+ "allow_copilot_triggers": NotRequired["bool"],
1425
+ "assignees": NotRequired["list[str]"],
1426
+ "query": NotRequired["str"],
1427
+ "write_scope": NotRequired["Literal['trigger', 'repository']"],
1428
+ },
1429
+ total=False,
1430
+ )
1431
+ GithubAgentAutomationsEditRepoAutomationInputBodyTriggersIssueClosed = TypedDict(
1432
+ "GithubAgentAutomationsEditRepoAutomationInputBodyTriggersIssueClosed",
1433
+ {
1434
+ "allow_copilot_triggers": NotRequired["bool"],
1435
+ "query": NotRequired["str"],
1436
+ "write_scope": NotRequired["Literal['trigger', 'repository']"],
1437
+ },
1438
+ total=False,
1439
+ )
1440
+ GithubAgentAutomationsEditRepoAutomationInputBodyTriggersIssueComment = TypedDict(
1441
+ "GithubAgentAutomationsEditRepoAutomationInputBodyTriggersIssueComment",
1442
+ {
1443
+ "allow_copilot_triggers": NotRequired["bool"],
1444
+ "body_substring": NotRequired["str"],
1445
+ "query": NotRequired["str"],
1446
+ "write_scope": NotRequired["Literal['trigger', 'repository']"],
1447
+ },
1448
+ total=False,
1449
+ )
1450
+ GithubAgentAutomationsEditRepoAutomationInputBodyTriggersIssueLabeled = TypedDict(
1451
+ "GithubAgentAutomationsEditRepoAutomationInputBodyTriggersIssueLabeled",
1452
+ {
1453
+ "allow_copilot_triggers": NotRequired["bool"],
1454
+ "labels": NotRequired["list[str]"],
1455
+ "query": NotRequired["str"],
1456
+ "write_scope": NotRequired["Literal['trigger', 'repository']"],
1457
+ },
1458
+ total=False,
1459
+ )
1460
+ GithubAgentAutomationsEditRepoAutomationInputBodyTriggersIssueOpened = TypedDict(
1461
+ "GithubAgentAutomationsEditRepoAutomationInputBodyTriggersIssueOpened",
1462
+ {
1463
+ "allow_copilot_triggers": NotRequired["bool"],
1464
+ "query": NotRequired["str"],
1465
+ "write_scope": NotRequired["Literal['trigger', 'repository']"],
1466
+ },
1467
+ total=False,
1468
+ )
1469
+ GithubAgentAutomationsEditRepoAutomationInputBodyTriggersIssueReopened = TypedDict(
1470
+ "GithubAgentAutomationsEditRepoAutomationInputBodyTriggersIssueReopened",
1471
+ {
1472
+ "allow_copilot_triggers": NotRequired["bool"],
1473
+ "query": NotRequired["str"],
1474
+ "write_scope": NotRequired["Literal['trigger', 'repository']"],
1475
+ },
1476
+ total=False,
1477
+ )
1478
+ GithubAgentAutomationsEditRepoAutomationInputBodyTriggersPullRequestAssigned = TypedDict(
1479
+ "GithubAgentAutomationsEditRepoAutomationInputBodyTriggersPullRequestAssigned",
1480
+ {
1481
+ "allow_copilot_triggers": NotRequired["bool"],
1482
+ "assignees": NotRequired["list[str]"],
1483
+ "paths": NotRequired["list[str]"],
1484
+ "query": NotRequired["str"],
1485
+ "write_scope": NotRequired["Literal['trigger', 'repository']"],
1486
+ },
1487
+ total=False,
1488
+ )
1489
+ GithubAgentAutomationsEditRepoAutomationInputBodyTriggersPullRequestClosed = TypedDict(
1490
+ "GithubAgentAutomationsEditRepoAutomationInputBodyTriggersPullRequestClosed",
1491
+ {
1492
+ "allow_copilot_triggers": NotRequired["bool"],
1493
+ "paths": NotRequired["list[str]"],
1494
+ "query": NotRequired["str"],
1495
+ "write_scope": NotRequired["Literal['trigger', 'repository']"],
1496
+ },
1497
+ total=False,
1498
+ )
1499
+ GithubAgentAutomationsEditRepoAutomationInputBodyTriggersPullRequestComment = TypedDict(
1500
+ "GithubAgentAutomationsEditRepoAutomationInputBodyTriggersPullRequestComment",
1501
+ {
1502
+ "allow_copilot_triggers": NotRequired["bool"],
1503
+ "body_substring": NotRequired["str"],
1504
+ "comment_types": Required["list[Literal['timeline_comment', 'review_comment']]"],
1505
+ "paths": NotRequired["list[str]"],
1506
+ "query": NotRequired["str"],
1507
+ "write_scope": NotRequired["Literal['trigger', 'repository']"],
1508
+ },
1509
+ total=False,
1510
+ )
1511
+ GithubAgentAutomationsEditRepoAutomationInputBodyTriggersPullRequestConvertedToDraft = TypedDict(
1512
+ "GithubAgentAutomationsEditRepoAutomationInputBodyTriggersPullRequestConvertedToDraft",
1513
+ {
1514
+ "allow_copilot_triggers": NotRequired["bool"],
1515
+ "paths": NotRequired["list[str]"],
1516
+ "query": NotRequired["str"],
1517
+ "write_scope": NotRequired["Literal['trigger', 'repository']"],
1518
+ },
1519
+ total=False,
1520
+ )
1521
+ GithubAgentAutomationsEditRepoAutomationInputBodyTriggersPullRequestLabeled = TypedDict(
1522
+ "GithubAgentAutomationsEditRepoAutomationInputBodyTriggersPullRequestLabeled",
1523
+ {
1524
+ "allow_copilot_triggers": NotRequired["bool"],
1525
+ "labels": NotRequired["list[str]"],
1526
+ "paths": NotRequired["list[str]"],
1527
+ "query": NotRequired["str"],
1528
+ "write_scope": NotRequired["Literal['trigger', 'repository']"],
1529
+ },
1530
+ total=False,
1531
+ )
1532
+ GithubAgentAutomationsEditRepoAutomationInputBodyTriggersPullRequestMergeConflict = TypedDict(
1533
+ "GithubAgentAutomationsEditRepoAutomationInputBodyTriggersPullRequestMergeConflict",
1534
+ {
1535
+ "allow_copilot_triggers": NotRequired["bool"],
1536
+ "paths": NotRequired["list[str]"],
1537
+ "query": NotRequired["str"],
1538
+ "write_scope": NotRequired["Literal['trigger', 'repository']"],
1539
+ },
1540
+ total=False,
1541
+ )
1542
+ GithubAgentAutomationsEditRepoAutomationInputBodyTriggersPullRequestMerged = TypedDict(
1543
+ "GithubAgentAutomationsEditRepoAutomationInputBodyTriggersPullRequestMerged",
1544
+ {
1545
+ "allow_copilot_triggers": NotRequired["bool"],
1546
+ "paths": NotRequired["list[str]"],
1547
+ "query": NotRequired["str"],
1548
+ "write_scope": NotRequired["Literal['trigger', 'repository']"],
1549
+ },
1550
+ total=False,
1551
+ )
1552
+ GithubAgentAutomationsEditRepoAutomationInputBodyTriggersPullRequestOpened = TypedDict(
1553
+ "GithubAgentAutomationsEditRepoAutomationInputBodyTriggersPullRequestOpened",
1554
+ {
1555
+ "allow_copilot_triggers": NotRequired["bool"],
1556
+ "paths": NotRequired["list[str]"],
1557
+ "query": NotRequired["str"],
1558
+ "write_scope": NotRequired["Literal['trigger', 'repository']"],
1559
+ },
1560
+ total=False,
1561
+ )
1562
+ GithubAgentAutomationsEditRepoAutomationInputBodyTriggersPullRequestReadyForReview = TypedDict(
1563
+ "GithubAgentAutomationsEditRepoAutomationInputBodyTriggersPullRequestReadyForReview",
1564
+ {
1565
+ "allow_copilot_triggers": NotRequired["bool"],
1566
+ "paths": NotRequired["list[str]"],
1567
+ "query": NotRequired["str"],
1568
+ "write_scope": NotRequired["Literal['trigger', 'repository']"],
1569
+ },
1570
+ total=False,
1571
+ )
1572
+ GithubAgentAutomationsEditRepoAutomationInputBodyTriggersPullRequestReopened = TypedDict(
1573
+ "GithubAgentAutomationsEditRepoAutomationInputBodyTriggersPullRequestReopened",
1574
+ {
1575
+ "allow_copilot_triggers": NotRequired["bool"],
1576
+ "paths": NotRequired["list[str]"],
1577
+ "query": NotRequired["str"],
1578
+ "write_scope": NotRequired["Literal['trigger', 'repository']"],
1579
+ },
1580
+ total=False,
1581
+ )
1582
+ GithubAgentAutomationsEditRepoAutomationInputBodyTriggersPullRequestReviewDismissed = TypedDict(
1583
+ "GithubAgentAutomationsEditRepoAutomationInputBodyTriggersPullRequestReviewDismissed",
1584
+ {
1585
+ "allow_copilot_triggers": NotRequired["bool"],
1586
+ "paths": NotRequired["list[str]"],
1587
+ "query": NotRequired["str"],
1588
+ "write_scope": NotRequired["Literal['trigger', 'repository']"],
1589
+ },
1590
+ total=False,
1591
+ )
1592
+ GithubAgentAutomationsEditRepoAutomationInputBodyTriggersPullRequestReviewRequested = TypedDict(
1593
+ "GithubAgentAutomationsEditRepoAutomationInputBodyTriggersPullRequestReviewRequested",
1594
+ {
1595
+ "allow_copilot_triggers": NotRequired["bool"],
1596
+ "paths": NotRequired["list[str]"],
1597
+ "query": NotRequired["str"],
1598
+ "write_scope": NotRequired["Literal['trigger', 'repository']"],
1599
+ },
1600
+ total=False,
1601
+ )
1602
+ GithubAgentAutomationsEditRepoAutomationInputBodyTriggersPullRequestReviewSubmitted = TypedDict(
1603
+ "GithubAgentAutomationsEditRepoAutomationInputBodyTriggersPullRequestReviewSubmitted",
1604
+ {
1605
+ "allow_copilot_triggers": NotRequired["bool"],
1606
+ "paths": NotRequired["list[str]"],
1607
+ "query": NotRequired["str"],
1608
+ "states": Required["list[Literal['approved', 'changes_requested', 'commented']]"],
1609
+ "write_scope": NotRequired["Literal['trigger', 'repository']"],
1610
+ },
1611
+ total=False,
1612
+ )
1613
+ GithubAgentAutomationsEditRepoAutomationInputBodyTriggersPullRequestReviewThreadResolved = (
1614
+ TypedDict(
1615
+ "GithubAgentAutomationsEditRepoAutomationInputBodyTriggersPullRequestReviewThreadResolved",
1616
+ {
1617
+ "allow_copilot_triggers": NotRequired["bool"],
1618
+ "paths": NotRequired["list[str]"],
1619
+ "query": NotRequired["str"],
1620
+ "write_scope": NotRequired["Literal['trigger', 'repository']"],
1621
+ },
1622
+ total=False,
1623
+ )
1624
+ )
1625
+ GithubAgentAutomationsEditRepoAutomationInputBodyTriggersPullRequestReviewThreadUnresolved = TypedDict(
1626
+ "GithubAgentAutomationsEditRepoAutomationInputBodyTriggersPullRequestReviewThreadUnresolved",
1627
+ {
1628
+ "allow_copilot_triggers": NotRequired["bool"],
1629
+ "paths": NotRequired["list[str]"],
1630
+ "query": NotRequired["str"],
1631
+ "write_scope": NotRequired["Literal['trigger', 'repository']"],
1632
+ },
1633
+ total=False,
1634
+ )
1635
+ GithubAgentAutomationsEditRepoAutomationInputBodyTriggersPullRequestSynchronize = TypedDict(
1636
+ "GithubAgentAutomationsEditRepoAutomationInputBodyTriggersPullRequestSynchronize",
1637
+ {
1638
+ "allow_copilot_triggers": NotRequired["bool"],
1639
+ "paths": NotRequired["list[str]"],
1640
+ "query": NotRequired["str"],
1641
+ "write_scope": NotRequired["Literal['trigger', 'repository']"],
1642
+ },
1643
+ total=False,
1644
+ )
1645
+ GithubAgentAutomationsEditRepoAutomationInputBodyTriggersSecretScanningAlert = TypedDict(
1646
+ "GithubAgentAutomationsEditRepoAutomationInputBodyTriggersSecretScanningAlert",
1647
+ {
1648
+ "allow_copilot_triggers": NotRequired["bool"],
1649
+ "write_scope": NotRequired["Literal['trigger', 'repository']"],
1650
+ },
1651
+ total=False,
1652
+ )
1653
+ GithubAgentAutomationsEditRepoAutomationInputBodyTriggersSubIssueAdded = TypedDict(
1654
+ "GithubAgentAutomationsEditRepoAutomationInputBodyTriggersSubIssueAdded",
1655
+ {
1656
+ "allow_copilot_triggers": NotRequired["bool"],
1657
+ "query": NotRequired["str"],
1658
+ "write_scope": NotRequired["Literal['trigger', 'repository']"],
1659
+ },
1660
+ total=False,
1661
+ )
1662
+ GithubAgentAutomationsEditRepoAutomationInputBodyTriggersWorkflowRun = TypedDict(
1663
+ "GithubAgentAutomationsEditRepoAutomationInputBodyTriggersWorkflowRun",
1664
+ {
1665
+ "allow_copilot_triggers": NotRequired["bool"],
1666
+ "conclusions": Required["list[Literal['failure']]"],
1667
+ "query": NotRequired["str"],
1668
+ "workflows": Required["list[str]"],
1669
+ "write_scope": NotRequired["Literal['trigger', 'repository']"],
1670
+ },
1671
+ total=False,
1672
+ )
1673
+ GithubAgentAutomationsEditRepoAutomationInputPath = TypedDict(
1674
+ "GithubAgentAutomationsEditRepoAutomationInputPath",
1675
+ {"owner": Required["str"], "repo": Required["str"], "automation_id": Required["str"]},
1676
+ total=False,
1677
+ )
1678
+ GithubAgentAutomationsEditRepoAutomationOutput = TypedDict(
1679
+ "GithubAgentAutomationsEditRepoAutomationOutput",
1680
+ {
1681
+ "continuous_history": NotRequired["bool"],
1682
+ "created_at": Required["str"],
1683
+ "created_by": Required["GithubAgentAutomationsEditRepoAutomationOutputCreatedBy"],
1684
+ "enabled": NotRequired["bool"],
1685
+ "id": Required["str"],
1686
+ "model": NotRequired["str"],
1687
+ "name": Required["str"],
1688
+ "prompt": Required["str"],
1689
+ "reasoning_effort": NotRequired["str"],
1690
+ "require_actor_write_permission": NotRequired["bool"],
1691
+ "tools": NotRequired["list[str]"],
1692
+ "triggers": NotRequired["GithubAgentAutomationsEditRepoAutomationOutputTriggers"],
1693
+ "type": NotRequired["str"],
1694
+ "updated_at": Required["str"],
1695
+ },
1696
+ total=False,
1697
+ )
1698
+ GithubAgentAutomationsEditRepoAutomationOutputCreatedBy = TypedDict(
1699
+ "GithubAgentAutomationsEditRepoAutomationOutputCreatedBy",
1700
+ {"id": NotRequired["int | str"]},
1701
+ total=False,
1702
+ )
1703
+ GithubAgentAutomationsEditRepoAutomationOutputTriggers = TypedDict(
1704
+ "GithubAgentAutomationsEditRepoAutomationOutputTriggers",
1705
+ {
1706
+ "automation_completed": NotRequired[
1707
+ "GithubAgentAutomationsEditRepoAutomationOutputTriggersAutomationCompleted"
1708
+ ],
1709
+ "automation_failed": NotRequired[
1710
+ "GithubAgentAutomationsEditRepoAutomationOutputTriggersAutomationFailed"
1711
+ ],
1712
+ "code_scanning_alert": NotRequired[
1713
+ "GithubAgentAutomationsEditRepoAutomationOutputTriggersCodeScanningAlert"
1714
+ ],
1715
+ "dependabot_alert": NotRequired[
1716
+ "GithubAgentAutomationsEditRepoAutomationOutputTriggersDependabotAlert"
1717
+ ],
1718
+ "discussion_comment": NotRequired[
1719
+ "GithubAgentAutomationsEditRepoAutomationOutputTriggersDiscussionComment"
1720
+ ],
1721
+ "discussion_opened": NotRequired[
1722
+ "GithubAgentAutomationsEditRepoAutomationOutputTriggersDiscussionOpened"
1723
+ ],
1724
+ "discussion_updated": NotRequired[
1725
+ "GithubAgentAutomationsEditRepoAutomationOutputTriggersDiscussionUpdated"
1726
+ ],
1727
+ "interval": NotRequired["GithubAgentAutomationsEditRepoAutomationOutputTriggersInterval"],
1728
+ "issue_assigned": NotRequired[
1729
+ "GithubAgentAutomationsEditRepoAutomationOutputTriggersIssueAssigned"
1730
+ ],
1731
+ "issue_closed": NotRequired[
1732
+ "GithubAgentAutomationsEditRepoAutomationOutputTriggersIssueClosed"
1733
+ ],
1734
+ "issue_comment": NotRequired[
1735
+ "GithubAgentAutomationsEditRepoAutomationOutputTriggersIssueComment"
1736
+ ],
1737
+ "issue_labeled": NotRequired[
1738
+ "GithubAgentAutomationsEditRepoAutomationOutputTriggersIssueLabeled"
1739
+ ],
1740
+ "issue_opened": NotRequired[
1741
+ "GithubAgentAutomationsEditRepoAutomationOutputTriggersIssueOpened"
1742
+ ],
1743
+ "issue_reopened": NotRequired[
1744
+ "GithubAgentAutomationsEditRepoAutomationOutputTriggersIssueReopened"
1745
+ ],
1746
+ "pull_request_assigned": NotRequired[
1747
+ "GithubAgentAutomationsEditRepoAutomationOutputTriggersPullRequestAssigned"
1748
+ ],
1749
+ "pull_request_closed": NotRequired[
1750
+ "GithubAgentAutomationsEditRepoAutomationOutputTriggersPullRequestClosed"
1751
+ ],
1752
+ "pull_request_comment": NotRequired[
1753
+ "GithubAgentAutomationsEditRepoAutomationOutputTriggersPullRequestComment"
1754
+ ],
1755
+ "pull_request_converted_to_draft": NotRequired[
1756
+ "GithubAgentAutomationsEditRepoAutomationOutputTriggersPullRequestConvertedToDraft"
1757
+ ],
1758
+ "pull_request_labeled": NotRequired[
1759
+ "GithubAgentAutomationsEditRepoAutomationOutputTriggersPullRequestLabeled"
1760
+ ],
1761
+ "pull_request_merge_conflict": NotRequired[
1762
+ "GithubAgentAutomationsEditRepoAutomationOutputTriggersPullRequestMergeConflict"
1763
+ ],
1764
+ "pull_request_merged": NotRequired[
1765
+ "GithubAgentAutomationsEditRepoAutomationOutputTriggersPullRequestMerged"
1766
+ ],
1767
+ "pull_request_opened": NotRequired[
1768
+ "GithubAgentAutomationsEditRepoAutomationOutputTriggersPullRequestOpened"
1769
+ ],
1770
+ "pull_request_ready_for_review": NotRequired[
1771
+ "GithubAgentAutomationsEditRepoAutomationOutputTriggersPullRequestReadyForReview"
1772
+ ],
1773
+ "pull_request_reopened": NotRequired[
1774
+ "GithubAgentAutomationsEditRepoAutomationOutputTriggersPullRequestReopened"
1775
+ ],
1776
+ "pull_request_review_dismissed": NotRequired[
1777
+ "GithubAgentAutomationsEditRepoAutomationOutputTriggersPullRequestReviewDismissed"
1778
+ ],
1779
+ "pull_request_review_requested": NotRequired[
1780
+ "GithubAgentAutomationsEditRepoAutomationOutputTriggersPullRequestReviewRequested"
1781
+ ],
1782
+ "pull_request_review_submitted": NotRequired[
1783
+ "GithubAgentAutomationsEditRepoAutomationOutputTriggersPullRequestReviewSubmitted"
1784
+ ],
1785
+ "pull_request_review_thread_resolved": NotRequired[
1786
+ "GithubAgentAutomationsEditRepoAutomationOutputTriggersPullRequestReviewThreadResolved"
1787
+ ],
1788
+ "pull_request_review_thread_unresolved": NotRequired[
1789
+ "GithubAgentAutomationsEditRepoAutomationOutputTriggersPullRequestReviewThreadUnresolved"
1790
+ ],
1791
+ "pull_request_synchronize": NotRequired[
1792
+ "GithubAgentAutomationsEditRepoAutomationOutputTriggersPullRequestSynchronize"
1793
+ ],
1794
+ "secret_scanning_alert": NotRequired[
1795
+ "GithubAgentAutomationsEditRepoAutomationOutputTriggersSecretScanningAlert"
1796
+ ],
1797
+ "sub_issue_added": NotRequired[
1798
+ "GithubAgentAutomationsEditRepoAutomationOutputTriggersSubIssueAdded"
1799
+ ],
1800
+ "workflow_run": NotRequired[
1801
+ "GithubAgentAutomationsEditRepoAutomationOutputTriggersWorkflowRun"
1802
+ ],
1803
+ },
1804
+ total=False,
1805
+ )
1806
+ GithubAgentAutomationsEditRepoAutomationOutputTriggersAutomationCompleted = TypedDict(
1807
+ "GithubAgentAutomationsEditRepoAutomationOutputTriggersAutomationCompleted",
1808
+ {
1809
+ "allow_copilot_triggers": NotRequired["bool"],
1810
+ "automation_ids": Required["list[str]"],
1811
+ "write_scope": NotRequired["str"],
1812
+ },
1813
+ total=False,
1814
+ )
1815
+ GithubAgentAutomationsEditRepoAutomationOutputTriggersAutomationFailed = TypedDict(
1816
+ "GithubAgentAutomationsEditRepoAutomationOutputTriggersAutomationFailed",
1817
+ {
1818
+ "allow_copilot_triggers": NotRequired["bool"],
1819
+ "automation_ids": Required["list[str]"],
1820
+ "reasons": NotRequired["list[str]"],
1821
+ "write_scope": NotRequired["str"],
1822
+ },
1823
+ total=False,
1824
+ )
1825
+ GithubAgentAutomationsEditRepoAutomationOutputTriggersCodeScanningAlert = TypedDict(
1826
+ "GithubAgentAutomationsEditRepoAutomationOutputTriggersCodeScanningAlert",
1827
+ {"allow_copilot_triggers": NotRequired["bool"], "write_scope": NotRequired["str"]},
1828
+ total=False,
1829
+ )
1830
+ GithubAgentAutomationsEditRepoAutomationOutputTriggersDependabotAlert = TypedDict(
1831
+ "GithubAgentAutomationsEditRepoAutomationOutputTriggersDependabotAlert",
1832
+ {"allow_copilot_triggers": NotRequired["bool"], "write_scope": NotRequired["str"]},
1833
+ total=False,
1834
+ )
1835
+ GithubAgentAutomationsEditRepoAutomationOutputTriggersDiscussionComment = TypedDict(
1836
+ "GithubAgentAutomationsEditRepoAutomationOutputTriggersDiscussionComment",
1837
+ {
1838
+ "allow_copilot_triggers": NotRequired["bool"],
1839
+ "body_substring": NotRequired["str"],
1840
+ "categories": NotRequired["list[str]"],
1841
+ "comment_types": NotRequired["list[str]"],
1842
+ "write_scope": NotRequired["str"],
1843
+ },
1844
+ total=False,
1845
+ )
1846
+ GithubAgentAutomationsEditRepoAutomationOutputTriggersDiscussionOpened = TypedDict(
1847
+ "GithubAgentAutomationsEditRepoAutomationOutputTriggersDiscussionOpened",
1848
+ {
1849
+ "allow_copilot_triggers": NotRequired["bool"],
1850
+ "body_substring": NotRequired["str"],
1851
+ "categories": NotRequired["list[str]"],
1852
+ "write_scope": NotRequired["str"],
1853
+ },
1854
+ total=False,
1855
+ )
1856
+ GithubAgentAutomationsEditRepoAutomationOutputTriggersDiscussionUpdated = TypedDict(
1857
+ "GithubAgentAutomationsEditRepoAutomationOutputTriggersDiscussionUpdated",
1858
+ {
1859
+ "allow_copilot_triggers": NotRequired["bool"],
1860
+ "body_substring": NotRequired["str"],
1861
+ "categories": NotRequired["list[str]"],
1862
+ "write_scope": NotRequired["str"],
1863
+ },
1864
+ total=False,
1865
+ )
1866
+ GithubAgentAutomationsEditRepoAutomationOutputTriggersInterval = TypedDict(
1867
+ "GithubAgentAutomationsEditRepoAutomationOutputTriggersInterval",
1868
+ {
1869
+ "allow_copilot_triggers": NotRequired["bool"],
1870
+ "cadence": Required["list[str]"],
1871
+ "day_of_week": NotRequired["int | str"],
1872
+ "hour_utc": NotRequired["int | str"],
1873
+ "minute_utc": NotRequired["int | str"],
1874
+ "write_scope": NotRequired["str"],
1875
+ },
1876
+ total=False,
1877
+ )
1878
+ GithubAgentAutomationsEditRepoAutomationOutputTriggersIssueAssigned = TypedDict(
1879
+ "GithubAgentAutomationsEditRepoAutomationOutputTriggersIssueAssigned",
1880
+ {
1881
+ "allow_copilot_triggers": NotRequired["bool"],
1882
+ "assignees": NotRequired["list[str]"],
1883
+ "query": NotRequired["str"],
1884
+ "write_scope": NotRequired["str"],
1885
+ },
1886
+ total=False,
1887
+ )
1888
+ GithubAgentAutomationsEditRepoAutomationOutputTriggersIssueClosed = TypedDict(
1889
+ "GithubAgentAutomationsEditRepoAutomationOutputTriggersIssueClosed",
1890
+ {
1891
+ "allow_copilot_triggers": NotRequired["bool"],
1892
+ "query": NotRequired["str"],
1893
+ "write_scope": NotRequired["str"],
1894
+ },
1895
+ total=False,
1896
+ )
1897
+ GithubAgentAutomationsEditRepoAutomationOutputTriggersIssueComment = TypedDict(
1898
+ "GithubAgentAutomationsEditRepoAutomationOutputTriggersIssueComment",
1899
+ {
1900
+ "allow_copilot_triggers": NotRequired["bool"],
1901
+ "body_substring": NotRequired["str"],
1902
+ "query": NotRequired["str"],
1903
+ "write_scope": NotRequired["str"],
1904
+ },
1905
+ total=False,
1906
+ )
1907
+ GithubAgentAutomationsEditRepoAutomationOutputTriggersIssueLabeled = TypedDict(
1908
+ "GithubAgentAutomationsEditRepoAutomationOutputTriggersIssueLabeled",
1909
+ {
1910
+ "allow_copilot_triggers": NotRequired["bool"],
1911
+ "labels": NotRequired["list[str]"],
1912
+ "query": NotRequired["str"],
1913
+ "write_scope": NotRequired["str"],
1914
+ },
1915
+ total=False,
1916
+ )
1917
+ GithubAgentAutomationsEditRepoAutomationOutputTriggersIssueOpened = TypedDict(
1918
+ "GithubAgentAutomationsEditRepoAutomationOutputTriggersIssueOpened",
1919
+ {
1920
+ "allow_copilot_triggers": NotRequired["bool"],
1921
+ "query": NotRequired["str"],
1922
+ "write_scope": NotRequired["str"],
1923
+ },
1924
+ total=False,
1925
+ )
1926
+ GithubAgentAutomationsEditRepoAutomationOutputTriggersIssueReopened = TypedDict(
1927
+ "GithubAgentAutomationsEditRepoAutomationOutputTriggersIssueReopened",
1928
+ {
1929
+ "allow_copilot_triggers": NotRequired["bool"],
1930
+ "query": NotRequired["str"],
1931
+ "write_scope": NotRequired["str"],
1932
+ },
1933
+ total=False,
1934
+ )
1935
+ GithubAgentAutomationsEditRepoAutomationOutputTriggersPullRequestAssigned = TypedDict(
1936
+ "GithubAgentAutomationsEditRepoAutomationOutputTriggersPullRequestAssigned",
1937
+ {
1938
+ "allow_copilot_triggers": NotRequired["bool"],
1939
+ "assignees": NotRequired["list[str]"],
1940
+ "paths": NotRequired["list[str]"],
1941
+ "query": NotRequired["str"],
1942
+ "write_scope": NotRequired["str"],
1943
+ },
1944
+ total=False,
1945
+ )
1946
+ GithubAgentAutomationsEditRepoAutomationOutputTriggersPullRequestClosed = TypedDict(
1947
+ "GithubAgentAutomationsEditRepoAutomationOutputTriggersPullRequestClosed",
1948
+ {
1949
+ "allow_copilot_triggers": NotRequired["bool"],
1950
+ "paths": NotRequired["list[str]"],
1951
+ "query": NotRequired["str"],
1952
+ "write_scope": NotRequired["str"],
1953
+ },
1954
+ total=False,
1955
+ )
1956
+ GithubAgentAutomationsEditRepoAutomationOutputTriggersPullRequestComment = TypedDict(
1957
+ "GithubAgentAutomationsEditRepoAutomationOutputTriggersPullRequestComment",
1958
+ {
1959
+ "allow_copilot_triggers": NotRequired["bool"],
1960
+ "body_substring": NotRequired["str"],
1961
+ "comment_types": Required["list[str]"],
1962
+ "paths": NotRequired["list[str]"],
1963
+ "query": NotRequired["str"],
1964
+ "write_scope": NotRequired["str"],
1965
+ },
1966
+ total=False,
1967
+ )
1968
+ GithubAgentAutomationsEditRepoAutomationOutputTriggersPullRequestConvertedToDraft = TypedDict(
1969
+ "GithubAgentAutomationsEditRepoAutomationOutputTriggersPullRequestConvertedToDraft",
1970
+ {
1971
+ "allow_copilot_triggers": NotRequired["bool"],
1972
+ "paths": NotRequired["list[str]"],
1973
+ "query": NotRequired["str"],
1974
+ "write_scope": NotRequired["str"],
1975
+ },
1976
+ total=False,
1977
+ )
1978
+ GithubAgentAutomationsEditRepoAutomationOutputTriggersPullRequestLabeled = TypedDict(
1979
+ "GithubAgentAutomationsEditRepoAutomationOutputTriggersPullRequestLabeled",
1980
+ {
1981
+ "allow_copilot_triggers": NotRequired["bool"],
1982
+ "labels": NotRequired["list[str]"],
1983
+ "paths": NotRequired["list[str]"],
1984
+ "query": NotRequired["str"],
1985
+ "write_scope": NotRequired["str"],
1986
+ },
1987
+ total=False,
1988
+ )
1989
+ GithubAgentAutomationsEditRepoAutomationOutputTriggersPullRequestMergeConflict = TypedDict(
1990
+ "GithubAgentAutomationsEditRepoAutomationOutputTriggersPullRequestMergeConflict",
1991
+ {
1992
+ "allow_copilot_triggers": NotRequired["bool"],
1993
+ "paths": NotRequired["list[str]"],
1994
+ "query": NotRequired["str"],
1995
+ "write_scope": NotRequired["str"],
1996
+ },
1997
+ total=False,
1998
+ )
1999
+ GithubAgentAutomationsEditRepoAutomationOutputTriggersPullRequestMerged = TypedDict(
2000
+ "GithubAgentAutomationsEditRepoAutomationOutputTriggersPullRequestMerged",
2001
+ {
2002
+ "allow_copilot_triggers": NotRequired["bool"],
2003
+ "paths": NotRequired["list[str]"],
2004
+ "query": NotRequired["str"],
2005
+ "write_scope": NotRequired["str"],
2006
+ },
2007
+ total=False,
2008
+ )
2009
+ GithubAgentAutomationsEditRepoAutomationOutputTriggersPullRequestOpened = TypedDict(
2010
+ "GithubAgentAutomationsEditRepoAutomationOutputTriggersPullRequestOpened",
2011
+ {
2012
+ "allow_copilot_triggers": NotRequired["bool"],
2013
+ "paths": NotRequired["list[str]"],
2014
+ "query": NotRequired["str"],
2015
+ "write_scope": NotRequired["str"],
2016
+ },
2017
+ total=False,
2018
+ )
2019
+ GithubAgentAutomationsEditRepoAutomationOutputTriggersPullRequestReadyForReview = TypedDict(
2020
+ "GithubAgentAutomationsEditRepoAutomationOutputTriggersPullRequestReadyForReview",
2021
+ {
2022
+ "allow_copilot_triggers": NotRequired["bool"],
2023
+ "paths": NotRequired["list[str]"],
2024
+ "query": NotRequired["str"],
2025
+ "write_scope": NotRequired["str"],
2026
+ },
2027
+ total=False,
2028
+ )
2029
+ GithubAgentAutomationsEditRepoAutomationOutputTriggersPullRequestReopened = TypedDict(
2030
+ "GithubAgentAutomationsEditRepoAutomationOutputTriggersPullRequestReopened",
2031
+ {
2032
+ "allow_copilot_triggers": NotRequired["bool"],
2033
+ "paths": NotRequired["list[str]"],
2034
+ "query": NotRequired["str"],
2035
+ "write_scope": NotRequired["str"],
2036
+ },
2037
+ total=False,
2038
+ )
2039
+ GithubAgentAutomationsEditRepoAutomationOutputTriggersPullRequestReviewDismissed = TypedDict(
2040
+ "GithubAgentAutomationsEditRepoAutomationOutputTriggersPullRequestReviewDismissed",
2041
+ {
2042
+ "allow_copilot_triggers": NotRequired["bool"],
2043
+ "paths": NotRequired["list[str]"],
2044
+ "query": NotRequired["str"],
2045
+ "write_scope": NotRequired["str"],
2046
+ },
2047
+ total=False,
2048
+ )
2049
+ GithubAgentAutomationsEditRepoAutomationOutputTriggersPullRequestReviewRequested = TypedDict(
2050
+ "GithubAgentAutomationsEditRepoAutomationOutputTriggersPullRequestReviewRequested",
2051
+ {
2052
+ "allow_copilot_triggers": NotRequired["bool"],
2053
+ "paths": NotRequired["list[str]"],
2054
+ "query": NotRequired["str"],
2055
+ "write_scope": NotRequired["str"],
2056
+ },
2057
+ total=False,
2058
+ )
2059
+ GithubAgentAutomationsEditRepoAutomationOutputTriggersPullRequestReviewSubmitted = TypedDict(
2060
+ "GithubAgentAutomationsEditRepoAutomationOutputTriggersPullRequestReviewSubmitted",
2061
+ {
2062
+ "allow_copilot_triggers": NotRequired["bool"],
2063
+ "paths": NotRequired["list[str]"],
2064
+ "query": NotRequired["str"],
2065
+ "states": Required["list[str]"],
2066
+ "write_scope": NotRequired["str"],
2067
+ },
2068
+ total=False,
2069
+ )
2070
+ GithubAgentAutomationsEditRepoAutomationOutputTriggersPullRequestReviewThreadResolved = TypedDict(
2071
+ "GithubAgentAutomationsEditRepoAutomationOutputTriggersPullRequestReviewThreadResolved",
2072
+ {
2073
+ "allow_copilot_triggers": NotRequired["bool"],
2074
+ "paths": NotRequired["list[str]"],
2075
+ "query": NotRequired["str"],
2076
+ "write_scope": NotRequired["str"],
2077
+ },
2078
+ total=False,
2079
+ )
2080
+ GithubAgentAutomationsEditRepoAutomationOutputTriggersPullRequestReviewThreadUnresolved = TypedDict(
2081
+ "GithubAgentAutomationsEditRepoAutomationOutputTriggersPullRequestReviewThreadUnresolved",
2082
+ {
2083
+ "allow_copilot_triggers": NotRequired["bool"],
2084
+ "paths": NotRequired["list[str]"],
2085
+ "query": NotRequired["str"],
2086
+ "write_scope": NotRequired["str"],
2087
+ },
2088
+ total=False,
2089
+ )
2090
+ GithubAgentAutomationsEditRepoAutomationOutputTriggersPullRequestSynchronize = TypedDict(
2091
+ "GithubAgentAutomationsEditRepoAutomationOutputTriggersPullRequestSynchronize",
2092
+ {
2093
+ "allow_copilot_triggers": NotRequired["bool"],
2094
+ "paths": NotRequired["list[str]"],
2095
+ "query": NotRequired["str"],
2096
+ "write_scope": NotRequired["str"],
2097
+ },
2098
+ total=False,
2099
+ )
2100
+ GithubAgentAutomationsEditRepoAutomationOutputTriggersSecretScanningAlert = TypedDict(
2101
+ "GithubAgentAutomationsEditRepoAutomationOutputTriggersSecretScanningAlert",
2102
+ {"allow_copilot_triggers": NotRequired["bool"], "write_scope": NotRequired["str"]},
2103
+ total=False,
2104
+ )
2105
+ GithubAgentAutomationsEditRepoAutomationOutputTriggersSubIssueAdded = TypedDict(
2106
+ "GithubAgentAutomationsEditRepoAutomationOutputTriggersSubIssueAdded",
2107
+ {
2108
+ "allow_copilot_triggers": NotRequired["bool"],
2109
+ "query": NotRequired["str"],
2110
+ "write_scope": NotRequired["str"],
2111
+ },
2112
+ total=False,
2113
+ )
2114
+ GithubAgentAutomationsEditRepoAutomationOutputTriggersWorkflowRun = TypedDict(
2115
+ "GithubAgentAutomationsEditRepoAutomationOutputTriggersWorkflowRun",
2116
+ {
2117
+ "allow_copilot_triggers": NotRequired["bool"],
2118
+ "conclusions": Required["list[str]"],
2119
+ "query": NotRequired["str"],
2120
+ "workflows": Required["list[str]"],
2121
+ "write_scope": NotRequired["str"],
2122
+ },
2123
+ total=False,
2124
+ )
2125
+ GithubAgentAutomationsGetRepoAutomationInput = TypedDict(
2126
+ "GithubAgentAutomationsGetRepoAutomationInput",
2127
+ {"path": Required["GithubAgentAutomationsGetRepoAutomationInputPath"]},
2128
+ total=False,
2129
+ )
2130
+ GithubAgentAutomationsGetRepoAutomationInputPath = TypedDict(
2131
+ "GithubAgentAutomationsGetRepoAutomationInputPath",
2132
+ {"owner": Required["str"], "repo": Required["str"], "automation_id": Required["str"]},
2133
+ total=False,
2134
+ )
2135
+ GithubAgentAutomationsGetRepoAutomationOutput = TypedDict(
2136
+ "GithubAgentAutomationsGetRepoAutomationOutput",
2137
+ {
2138
+ "continuous_history": NotRequired["bool"],
2139
+ "created_at": Required["str"],
2140
+ "created_by": Required["GithubAgentAutomationsGetRepoAutomationOutputCreatedBy"],
2141
+ "enabled": NotRequired["bool"],
2142
+ "id": Required["str"],
2143
+ "model": NotRequired["str"],
2144
+ "name": Required["str"],
2145
+ "prompt": Required["str"],
2146
+ "reasoning_effort": NotRequired["str"],
2147
+ "require_actor_write_permission": NotRequired["bool"],
2148
+ "tools": NotRequired["list[str]"],
2149
+ "triggers": NotRequired["GithubAgentAutomationsGetRepoAutomationOutputTriggers"],
2150
+ "type": NotRequired["str"],
2151
+ "updated_at": Required["str"],
2152
+ },
2153
+ total=False,
2154
+ )
2155
+ GithubAgentAutomationsGetRepoAutomationOutputCreatedBy = TypedDict(
2156
+ "GithubAgentAutomationsGetRepoAutomationOutputCreatedBy",
2157
+ {"id": NotRequired["int | str"]},
2158
+ total=False,
2159
+ )
2160
+ GithubAgentAutomationsGetRepoAutomationOutputTriggers = TypedDict(
2161
+ "GithubAgentAutomationsGetRepoAutomationOutputTriggers",
2162
+ {
2163
+ "automation_completed": NotRequired[
2164
+ "GithubAgentAutomationsGetRepoAutomationOutputTriggersAutomationCompleted"
2165
+ ],
2166
+ "automation_failed": NotRequired[
2167
+ "GithubAgentAutomationsGetRepoAutomationOutputTriggersAutomationFailed"
2168
+ ],
2169
+ "code_scanning_alert": NotRequired[
2170
+ "GithubAgentAutomationsGetRepoAutomationOutputTriggersCodeScanningAlert"
2171
+ ],
2172
+ "dependabot_alert": NotRequired[
2173
+ "GithubAgentAutomationsGetRepoAutomationOutputTriggersDependabotAlert"
2174
+ ],
2175
+ "discussion_comment": NotRequired[
2176
+ "GithubAgentAutomationsGetRepoAutomationOutputTriggersDiscussionComment"
2177
+ ],
2178
+ "discussion_opened": NotRequired[
2179
+ "GithubAgentAutomationsGetRepoAutomationOutputTriggersDiscussionOpened"
2180
+ ],
2181
+ "discussion_updated": NotRequired[
2182
+ "GithubAgentAutomationsGetRepoAutomationOutputTriggersDiscussionUpdated"
2183
+ ],
2184
+ "interval": NotRequired["GithubAgentAutomationsGetRepoAutomationOutputTriggersInterval"],
2185
+ "issue_assigned": NotRequired[
2186
+ "GithubAgentAutomationsGetRepoAutomationOutputTriggersIssueAssigned"
2187
+ ],
2188
+ "issue_closed": NotRequired[
2189
+ "GithubAgentAutomationsGetRepoAutomationOutputTriggersIssueClosed"
2190
+ ],
2191
+ "issue_comment": NotRequired[
2192
+ "GithubAgentAutomationsGetRepoAutomationOutputTriggersIssueComment"
2193
+ ],
2194
+ "issue_labeled": NotRequired[
2195
+ "GithubAgentAutomationsGetRepoAutomationOutputTriggersIssueLabeled"
2196
+ ],
2197
+ "issue_opened": NotRequired[
2198
+ "GithubAgentAutomationsGetRepoAutomationOutputTriggersIssueOpened"
2199
+ ],
2200
+ "issue_reopened": NotRequired[
2201
+ "GithubAgentAutomationsGetRepoAutomationOutputTriggersIssueReopened"
2202
+ ],
2203
+ "pull_request_assigned": NotRequired[
2204
+ "GithubAgentAutomationsGetRepoAutomationOutputTriggersPullRequestAssigned"
2205
+ ],
2206
+ "pull_request_closed": NotRequired[
2207
+ "GithubAgentAutomationsGetRepoAutomationOutputTriggersPullRequestClosed"
2208
+ ],
2209
+ "pull_request_comment": NotRequired[
2210
+ "GithubAgentAutomationsGetRepoAutomationOutputTriggersPullRequestComment"
2211
+ ],
2212
+ "pull_request_converted_to_draft": NotRequired[
2213
+ "GithubAgentAutomationsGetRepoAutomationOutputTriggersPullRequestConvertedToDraft"
2214
+ ],
2215
+ "pull_request_labeled": NotRequired[
2216
+ "GithubAgentAutomationsGetRepoAutomationOutputTriggersPullRequestLabeled"
2217
+ ],
2218
+ "pull_request_merge_conflict": NotRequired[
2219
+ "GithubAgentAutomationsGetRepoAutomationOutputTriggersPullRequestMergeConflict"
2220
+ ],
2221
+ "pull_request_merged": NotRequired[
2222
+ "GithubAgentAutomationsGetRepoAutomationOutputTriggersPullRequestMerged"
2223
+ ],
2224
+ "pull_request_opened": NotRequired[
2225
+ "GithubAgentAutomationsGetRepoAutomationOutputTriggersPullRequestOpened"
2226
+ ],
2227
+ "pull_request_ready_for_review": NotRequired[
2228
+ "GithubAgentAutomationsGetRepoAutomationOutputTriggersPullRequestReadyForReview"
2229
+ ],
2230
+ "pull_request_reopened": NotRequired[
2231
+ "GithubAgentAutomationsGetRepoAutomationOutputTriggersPullRequestReopened"
2232
+ ],
2233
+ "pull_request_review_dismissed": NotRequired[
2234
+ "GithubAgentAutomationsGetRepoAutomationOutputTriggersPullRequestReviewDismissed"
2235
+ ],
2236
+ "pull_request_review_requested": NotRequired[
2237
+ "GithubAgentAutomationsGetRepoAutomationOutputTriggersPullRequestReviewRequested"
2238
+ ],
2239
+ "pull_request_review_submitted": NotRequired[
2240
+ "GithubAgentAutomationsGetRepoAutomationOutputTriggersPullRequestReviewSubmitted"
2241
+ ],
2242
+ "pull_request_review_thread_resolved": NotRequired[
2243
+ "GithubAgentAutomationsGetRepoAutomationOutputTriggersPullRequestReviewThreadResolved"
2244
+ ],
2245
+ "pull_request_review_thread_unresolved": NotRequired[
2246
+ "GithubAgentAutomationsGetRepoAutomationOutputTriggersPullRequestReviewThreadUnresolved"
2247
+ ],
2248
+ "pull_request_synchronize": NotRequired[
2249
+ "GithubAgentAutomationsGetRepoAutomationOutputTriggersPullRequestSynchronize"
2250
+ ],
2251
+ "secret_scanning_alert": NotRequired[
2252
+ "GithubAgentAutomationsGetRepoAutomationOutputTriggersSecretScanningAlert"
2253
+ ],
2254
+ "sub_issue_added": NotRequired[
2255
+ "GithubAgentAutomationsGetRepoAutomationOutputTriggersSubIssueAdded"
2256
+ ],
2257
+ "workflow_run": NotRequired[
2258
+ "GithubAgentAutomationsGetRepoAutomationOutputTriggersWorkflowRun"
2259
+ ],
2260
+ },
2261
+ total=False,
2262
+ )
2263
+ GithubAgentAutomationsGetRepoAutomationOutputTriggersAutomationCompleted = TypedDict(
2264
+ "GithubAgentAutomationsGetRepoAutomationOutputTriggersAutomationCompleted",
2265
+ {
2266
+ "allow_copilot_triggers": NotRequired["bool"],
2267
+ "automation_ids": Required["list[str]"],
2268
+ "write_scope": NotRequired["str"],
2269
+ },
2270
+ total=False,
2271
+ )
2272
+ GithubAgentAutomationsGetRepoAutomationOutputTriggersAutomationFailed = TypedDict(
2273
+ "GithubAgentAutomationsGetRepoAutomationOutputTriggersAutomationFailed",
2274
+ {
2275
+ "allow_copilot_triggers": NotRequired["bool"],
2276
+ "automation_ids": Required["list[str]"],
2277
+ "reasons": NotRequired["list[str]"],
2278
+ "write_scope": NotRequired["str"],
2279
+ },
2280
+ total=False,
2281
+ )
2282
+ GithubAgentAutomationsGetRepoAutomationOutputTriggersCodeScanningAlert = TypedDict(
2283
+ "GithubAgentAutomationsGetRepoAutomationOutputTriggersCodeScanningAlert",
2284
+ {"allow_copilot_triggers": NotRequired["bool"], "write_scope": NotRequired["str"]},
2285
+ total=False,
2286
+ )
2287
+ GithubAgentAutomationsGetRepoAutomationOutputTriggersDependabotAlert = TypedDict(
2288
+ "GithubAgentAutomationsGetRepoAutomationOutputTriggersDependabotAlert",
2289
+ {"allow_copilot_triggers": NotRequired["bool"], "write_scope": NotRequired["str"]},
2290
+ total=False,
2291
+ )
2292
+ GithubAgentAutomationsGetRepoAutomationOutputTriggersDiscussionComment = TypedDict(
2293
+ "GithubAgentAutomationsGetRepoAutomationOutputTriggersDiscussionComment",
2294
+ {
2295
+ "allow_copilot_triggers": NotRequired["bool"],
2296
+ "body_substring": NotRequired["str"],
2297
+ "categories": NotRequired["list[str]"],
2298
+ "comment_types": NotRequired["list[str]"],
2299
+ "write_scope": NotRequired["str"],
2300
+ },
2301
+ total=False,
2302
+ )
2303
+ GithubAgentAutomationsGetRepoAutomationOutputTriggersDiscussionOpened = TypedDict(
2304
+ "GithubAgentAutomationsGetRepoAutomationOutputTriggersDiscussionOpened",
2305
+ {
2306
+ "allow_copilot_triggers": NotRequired["bool"],
2307
+ "body_substring": NotRequired["str"],
2308
+ "categories": NotRequired["list[str]"],
2309
+ "write_scope": NotRequired["str"],
2310
+ },
2311
+ total=False,
2312
+ )
2313
+ GithubAgentAutomationsGetRepoAutomationOutputTriggersDiscussionUpdated = TypedDict(
2314
+ "GithubAgentAutomationsGetRepoAutomationOutputTriggersDiscussionUpdated",
2315
+ {
2316
+ "allow_copilot_triggers": NotRequired["bool"],
2317
+ "body_substring": NotRequired["str"],
2318
+ "categories": NotRequired["list[str]"],
2319
+ "write_scope": NotRequired["str"],
2320
+ },
2321
+ total=False,
2322
+ )
2323
+ GithubAgentAutomationsGetRepoAutomationOutputTriggersInterval = TypedDict(
2324
+ "GithubAgentAutomationsGetRepoAutomationOutputTriggersInterval",
2325
+ {
2326
+ "allow_copilot_triggers": NotRequired["bool"],
2327
+ "cadence": Required["list[str]"],
2328
+ "day_of_week": NotRequired["int | str"],
2329
+ "hour_utc": NotRequired["int | str"],
2330
+ "minute_utc": NotRequired["int | str"],
2331
+ "write_scope": NotRequired["str"],
2332
+ },
2333
+ total=False,
2334
+ )
2335
+ GithubAgentAutomationsGetRepoAutomationOutputTriggersIssueAssigned = TypedDict(
2336
+ "GithubAgentAutomationsGetRepoAutomationOutputTriggersIssueAssigned",
2337
+ {
2338
+ "allow_copilot_triggers": NotRequired["bool"],
2339
+ "assignees": NotRequired["list[str]"],
2340
+ "query": NotRequired["str"],
2341
+ "write_scope": NotRequired["str"],
2342
+ },
2343
+ total=False,
2344
+ )
2345
+ GithubAgentAutomationsGetRepoAutomationOutputTriggersIssueClosed = TypedDict(
2346
+ "GithubAgentAutomationsGetRepoAutomationOutputTriggersIssueClosed",
2347
+ {
2348
+ "allow_copilot_triggers": NotRequired["bool"],
2349
+ "query": NotRequired["str"],
2350
+ "write_scope": NotRequired["str"],
2351
+ },
2352
+ total=False,
2353
+ )
2354
+ GithubAgentAutomationsGetRepoAutomationOutputTriggersIssueComment = TypedDict(
2355
+ "GithubAgentAutomationsGetRepoAutomationOutputTriggersIssueComment",
2356
+ {
2357
+ "allow_copilot_triggers": NotRequired["bool"],
2358
+ "body_substring": NotRequired["str"],
2359
+ "query": NotRequired["str"],
2360
+ "write_scope": NotRequired["str"],
2361
+ },
2362
+ total=False,
2363
+ )
2364
+ GithubAgentAutomationsGetRepoAutomationOutputTriggersIssueLabeled = TypedDict(
2365
+ "GithubAgentAutomationsGetRepoAutomationOutputTriggersIssueLabeled",
2366
+ {
2367
+ "allow_copilot_triggers": NotRequired["bool"],
2368
+ "labels": NotRequired["list[str]"],
2369
+ "query": NotRequired["str"],
2370
+ "write_scope": NotRequired["str"],
2371
+ },
2372
+ total=False,
2373
+ )
2374
+ GithubAgentAutomationsGetRepoAutomationOutputTriggersIssueOpened = TypedDict(
2375
+ "GithubAgentAutomationsGetRepoAutomationOutputTriggersIssueOpened",
2376
+ {
2377
+ "allow_copilot_triggers": NotRequired["bool"],
2378
+ "query": NotRequired["str"],
2379
+ "write_scope": NotRequired["str"],
2380
+ },
2381
+ total=False,
2382
+ )
2383
+ GithubAgentAutomationsGetRepoAutomationOutputTriggersIssueReopened = TypedDict(
2384
+ "GithubAgentAutomationsGetRepoAutomationOutputTriggersIssueReopened",
2385
+ {
2386
+ "allow_copilot_triggers": NotRequired["bool"],
2387
+ "query": NotRequired["str"],
2388
+ "write_scope": NotRequired["str"],
2389
+ },
2390
+ total=False,
2391
+ )
2392
+ GithubAgentAutomationsGetRepoAutomationOutputTriggersPullRequestAssigned = TypedDict(
2393
+ "GithubAgentAutomationsGetRepoAutomationOutputTriggersPullRequestAssigned",
2394
+ {
2395
+ "allow_copilot_triggers": NotRequired["bool"],
2396
+ "assignees": NotRequired["list[str]"],
2397
+ "paths": NotRequired["list[str]"],
2398
+ "query": NotRequired["str"],
2399
+ "write_scope": NotRequired["str"],
2400
+ },
2401
+ total=False,
2402
+ )
2403
+ GithubAgentAutomationsGetRepoAutomationOutputTriggersPullRequestClosed = TypedDict(
2404
+ "GithubAgentAutomationsGetRepoAutomationOutputTriggersPullRequestClosed",
2405
+ {
2406
+ "allow_copilot_triggers": NotRequired["bool"],
2407
+ "paths": NotRequired["list[str]"],
2408
+ "query": NotRequired["str"],
2409
+ "write_scope": NotRequired["str"],
2410
+ },
2411
+ total=False,
2412
+ )
2413
+ GithubAgentAutomationsGetRepoAutomationOutputTriggersPullRequestComment = TypedDict(
2414
+ "GithubAgentAutomationsGetRepoAutomationOutputTriggersPullRequestComment",
2415
+ {
2416
+ "allow_copilot_triggers": NotRequired["bool"],
2417
+ "body_substring": NotRequired["str"],
2418
+ "comment_types": Required["list[str]"],
2419
+ "paths": NotRequired["list[str]"],
2420
+ "query": NotRequired["str"],
2421
+ "write_scope": NotRequired["str"],
2422
+ },
2423
+ total=False,
2424
+ )
2425
+ GithubAgentAutomationsGetRepoAutomationOutputTriggersPullRequestConvertedToDraft = TypedDict(
2426
+ "GithubAgentAutomationsGetRepoAutomationOutputTriggersPullRequestConvertedToDraft",
2427
+ {
2428
+ "allow_copilot_triggers": NotRequired["bool"],
2429
+ "paths": NotRequired["list[str]"],
2430
+ "query": NotRequired["str"],
2431
+ "write_scope": NotRequired["str"],
2432
+ },
2433
+ total=False,
2434
+ )
2435
+ GithubAgentAutomationsGetRepoAutomationOutputTriggersPullRequestLabeled = TypedDict(
2436
+ "GithubAgentAutomationsGetRepoAutomationOutputTriggersPullRequestLabeled",
2437
+ {
2438
+ "allow_copilot_triggers": NotRequired["bool"],
2439
+ "labels": NotRequired["list[str]"],
2440
+ "paths": NotRequired["list[str]"],
2441
+ "query": NotRequired["str"],
2442
+ "write_scope": NotRequired["str"],
2443
+ },
2444
+ total=False,
2445
+ )
2446
+ GithubAgentAutomationsGetRepoAutomationOutputTriggersPullRequestMergeConflict = TypedDict(
2447
+ "GithubAgentAutomationsGetRepoAutomationOutputTriggersPullRequestMergeConflict",
2448
+ {
2449
+ "allow_copilot_triggers": NotRequired["bool"],
2450
+ "paths": NotRequired["list[str]"],
2451
+ "query": NotRequired["str"],
2452
+ "write_scope": NotRequired["str"],
2453
+ },
2454
+ total=False,
2455
+ )
2456
+ GithubAgentAutomationsGetRepoAutomationOutputTriggersPullRequestMerged = TypedDict(
2457
+ "GithubAgentAutomationsGetRepoAutomationOutputTriggersPullRequestMerged",
2458
+ {
2459
+ "allow_copilot_triggers": NotRequired["bool"],
2460
+ "paths": NotRequired["list[str]"],
2461
+ "query": NotRequired["str"],
2462
+ "write_scope": NotRequired["str"],
2463
+ },
2464
+ total=False,
2465
+ )
2466
+ GithubAgentAutomationsGetRepoAutomationOutputTriggersPullRequestOpened = TypedDict(
2467
+ "GithubAgentAutomationsGetRepoAutomationOutputTriggersPullRequestOpened",
2468
+ {
2469
+ "allow_copilot_triggers": NotRequired["bool"],
2470
+ "paths": NotRequired["list[str]"],
2471
+ "query": NotRequired["str"],
2472
+ "write_scope": NotRequired["str"],
2473
+ },
2474
+ total=False,
2475
+ )
2476
+ GithubAgentAutomationsGetRepoAutomationOutputTriggersPullRequestReadyForReview = TypedDict(
2477
+ "GithubAgentAutomationsGetRepoAutomationOutputTriggersPullRequestReadyForReview",
2478
+ {
2479
+ "allow_copilot_triggers": NotRequired["bool"],
2480
+ "paths": NotRequired["list[str]"],
2481
+ "query": NotRequired["str"],
2482
+ "write_scope": NotRequired["str"],
2483
+ },
2484
+ total=False,
2485
+ )
2486
+ GithubAgentAutomationsGetRepoAutomationOutputTriggersPullRequestReopened = TypedDict(
2487
+ "GithubAgentAutomationsGetRepoAutomationOutputTriggersPullRequestReopened",
2488
+ {
2489
+ "allow_copilot_triggers": NotRequired["bool"],
2490
+ "paths": NotRequired["list[str]"],
2491
+ "query": NotRequired["str"],
2492
+ "write_scope": NotRequired["str"],
2493
+ },
2494
+ total=False,
2495
+ )
2496
+ GithubAgentAutomationsGetRepoAutomationOutputTriggersPullRequestReviewDismissed = TypedDict(
2497
+ "GithubAgentAutomationsGetRepoAutomationOutputTriggersPullRequestReviewDismissed",
2498
+ {
2499
+ "allow_copilot_triggers": NotRequired["bool"],
2500
+ "paths": NotRequired["list[str]"],
2501
+ "query": NotRequired["str"],
2502
+ "write_scope": NotRequired["str"],
2503
+ },
2504
+ total=False,
2505
+ )
2506
+ GithubAgentAutomationsGetRepoAutomationOutputTriggersPullRequestReviewRequested = TypedDict(
2507
+ "GithubAgentAutomationsGetRepoAutomationOutputTriggersPullRequestReviewRequested",
2508
+ {
2509
+ "allow_copilot_triggers": NotRequired["bool"],
2510
+ "paths": NotRequired["list[str]"],
2511
+ "query": NotRequired["str"],
2512
+ "write_scope": NotRequired["str"],
2513
+ },
2514
+ total=False,
2515
+ )
2516
+ GithubAgentAutomationsGetRepoAutomationOutputTriggersPullRequestReviewSubmitted = TypedDict(
2517
+ "GithubAgentAutomationsGetRepoAutomationOutputTriggersPullRequestReviewSubmitted",
2518
+ {
2519
+ "allow_copilot_triggers": NotRequired["bool"],
2520
+ "paths": NotRequired["list[str]"],
2521
+ "query": NotRequired["str"],
2522
+ "states": Required["list[str]"],
2523
+ "write_scope": NotRequired["str"],
2524
+ },
2525
+ total=False,
2526
+ )
2527
+ GithubAgentAutomationsGetRepoAutomationOutputTriggersPullRequestReviewThreadResolved = TypedDict(
2528
+ "GithubAgentAutomationsGetRepoAutomationOutputTriggersPullRequestReviewThreadResolved",
2529
+ {
2530
+ "allow_copilot_triggers": NotRequired["bool"],
2531
+ "paths": NotRequired["list[str]"],
2532
+ "query": NotRequired["str"],
2533
+ "write_scope": NotRequired["str"],
2534
+ },
2535
+ total=False,
2536
+ )
2537
+ GithubAgentAutomationsGetRepoAutomationOutputTriggersPullRequestReviewThreadUnresolved = TypedDict(
2538
+ "GithubAgentAutomationsGetRepoAutomationOutputTriggersPullRequestReviewThreadUnresolved",
2539
+ {
2540
+ "allow_copilot_triggers": NotRequired["bool"],
2541
+ "paths": NotRequired["list[str]"],
2542
+ "query": NotRequired["str"],
2543
+ "write_scope": NotRequired["str"],
2544
+ },
2545
+ total=False,
2546
+ )
2547
+ GithubAgentAutomationsGetRepoAutomationOutputTriggersPullRequestSynchronize = TypedDict(
2548
+ "GithubAgentAutomationsGetRepoAutomationOutputTriggersPullRequestSynchronize",
2549
+ {
2550
+ "allow_copilot_triggers": NotRequired["bool"],
2551
+ "paths": NotRequired["list[str]"],
2552
+ "query": NotRequired["str"],
2553
+ "write_scope": NotRequired["str"],
2554
+ },
2555
+ total=False,
2556
+ )
2557
+ GithubAgentAutomationsGetRepoAutomationOutputTriggersSecretScanningAlert = TypedDict(
2558
+ "GithubAgentAutomationsGetRepoAutomationOutputTriggersSecretScanningAlert",
2559
+ {"allow_copilot_triggers": NotRequired["bool"], "write_scope": NotRequired["str"]},
2560
+ total=False,
2561
+ )
2562
+ GithubAgentAutomationsGetRepoAutomationOutputTriggersSubIssueAdded = TypedDict(
2563
+ "GithubAgentAutomationsGetRepoAutomationOutputTriggersSubIssueAdded",
2564
+ {
2565
+ "allow_copilot_triggers": NotRequired["bool"],
2566
+ "query": NotRequired["str"],
2567
+ "write_scope": NotRequired["str"],
2568
+ },
2569
+ total=False,
2570
+ )
2571
+ GithubAgentAutomationsGetRepoAutomationOutputTriggersWorkflowRun = TypedDict(
2572
+ "GithubAgentAutomationsGetRepoAutomationOutputTriggersWorkflowRun",
2573
+ {
2574
+ "allow_copilot_triggers": NotRequired["bool"],
2575
+ "conclusions": Required["list[str]"],
2576
+ "query": NotRequired["str"],
2577
+ "workflows": Required["list[str]"],
2578
+ "write_scope": NotRequired["str"],
2579
+ },
2580
+ total=False,
2581
+ )
2582
+ GithubAgentAutomationsListAutomationsInput = TypedDict(
2583
+ "GithubAgentAutomationsListAutomationsInput",
2584
+ {"query": NotRequired["GithubAgentAutomationsListAutomationsInputQuery"]},
2585
+ total=False,
2586
+ )
2587
+ GithubAgentAutomationsListAutomationsInputQuery = TypedDict(
2588
+ "GithubAgentAutomationsListAutomationsInputQuery",
2589
+ {
2590
+ "page": NotRequired["int"],
2591
+ "per_page": NotRequired["int"],
2592
+ "type": NotRequired["Literal['personal', 'shared']"],
2593
+ },
2594
+ total=False,
2595
+ )
2596
+ GithubAgentAutomationsListAutomationsOutput: TypeAlias = (
2597
+ "list[GithubAgentAutomationsListAutomationsOutputItem]"
2598
+ )
2599
+ GithubAgentAutomationsListAutomationsOutputItem = TypedDict(
2600
+ "GithubAgentAutomationsListAutomationsOutputItem",
2601
+ {
2602
+ "created_at": Required["str"],
2603
+ "created_by": Required["GithubAgentAutomationsListAutomationsOutputItemCreatedBy"],
2604
+ "enabled": NotRequired["bool"],
2605
+ "id": Required["str"],
2606
+ "model": NotRequired["str"],
2607
+ "name": Required["str"],
2608
+ "reasoning_effort": NotRequired["str"],
2609
+ "repository": Required["GithubAgentAutomationsListAutomationsOutputItemRepository"],
2610
+ "require_actor_write_permission": NotRequired["bool"],
2611
+ "triggers": NotRequired["GithubAgentAutomationsListAutomationsOutputItemTriggers"],
2612
+ "type": NotRequired["str"],
2613
+ "updated_at": Required["str"],
2614
+ },
2615
+ total=False,
2616
+ )
2617
+ GithubAgentAutomationsListAutomationsOutputItemCreatedBy = TypedDict(
2618
+ "GithubAgentAutomationsListAutomationsOutputItemCreatedBy",
2619
+ {"id": NotRequired["int | str"]},
2620
+ total=False,
2621
+ )
2622
+ GithubAgentAutomationsListAutomationsOutputItemRepository = TypedDict(
2623
+ "GithubAgentAutomationsListAutomationsOutputItemRepository",
2624
+ {"id": Required["int | str"], "name": Required["str"], "owner": Required["str"]},
2625
+ total=False,
2626
+ )
2627
+ GithubAgentAutomationsListAutomationsOutputItemTriggers = TypedDict(
2628
+ "GithubAgentAutomationsListAutomationsOutputItemTriggers",
2629
+ {
2630
+ "automation_completed": NotRequired[
2631
+ "GithubAgentAutomationsListAutomationsOutputItemTriggersAutomationCompleted"
2632
+ ],
2633
+ "automation_failed": NotRequired[
2634
+ "GithubAgentAutomationsListAutomationsOutputItemTriggersAutomationFailed"
2635
+ ],
2636
+ "code_scanning_alert": NotRequired[
2637
+ "GithubAgentAutomationsListAutomationsOutputItemTriggersCodeScanningAlert"
2638
+ ],
2639
+ "dependabot_alert": NotRequired[
2640
+ "GithubAgentAutomationsListAutomationsOutputItemTriggersDependabotAlert"
2641
+ ],
2642
+ "discussion_comment": NotRequired[
2643
+ "GithubAgentAutomationsListAutomationsOutputItemTriggersDiscussionComment"
2644
+ ],
2645
+ "discussion_opened": NotRequired[
2646
+ "GithubAgentAutomationsListAutomationsOutputItemTriggersDiscussionOpened"
2647
+ ],
2648
+ "discussion_updated": NotRequired[
2649
+ "GithubAgentAutomationsListAutomationsOutputItemTriggersDiscussionUpdated"
2650
+ ],
2651
+ "interval": NotRequired["GithubAgentAutomationsListAutomationsOutputItemTriggersInterval"],
2652
+ "issue_assigned": NotRequired[
2653
+ "GithubAgentAutomationsListAutomationsOutputItemTriggersIssueAssigned"
2654
+ ],
2655
+ "issue_closed": NotRequired[
2656
+ "GithubAgentAutomationsListAutomationsOutputItemTriggersIssueClosed"
2657
+ ],
2658
+ "issue_comment": NotRequired[
2659
+ "GithubAgentAutomationsListAutomationsOutputItemTriggersIssueComment"
2660
+ ],
2661
+ "issue_labeled": NotRequired[
2662
+ "GithubAgentAutomationsListAutomationsOutputItemTriggersIssueLabeled"
2663
+ ],
2664
+ "issue_opened": NotRequired[
2665
+ "GithubAgentAutomationsListAutomationsOutputItemTriggersIssueOpened"
2666
+ ],
2667
+ "issue_reopened": NotRequired[
2668
+ "GithubAgentAutomationsListAutomationsOutputItemTriggersIssueReopened"
2669
+ ],
2670
+ "pull_request_assigned": NotRequired[
2671
+ "GithubAgentAutomationsListAutomationsOutputItemTriggersPullRequestAssigned"
2672
+ ],
2673
+ "pull_request_closed": NotRequired[
2674
+ "GithubAgentAutomationsListAutomationsOutputItemTriggersPullRequestClosed"
2675
+ ],
2676
+ "pull_request_comment": NotRequired[
2677
+ "GithubAgentAutomationsListAutomationsOutputItemTriggersPullRequestComment"
2678
+ ],
2679
+ "pull_request_converted_to_draft": NotRequired[
2680
+ "GithubAgentAutomationsListAutomationsOutputItemTriggersPullRequestConvertedToDraft"
2681
+ ],
2682
+ "pull_request_labeled": NotRequired[
2683
+ "GithubAgentAutomationsListAutomationsOutputItemTriggersPullRequestLabeled"
2684
+ ],
2685
+ "pull_request_merge_conflict": NotRequired[
2686
+ "GithubAgentAutomationsListAutomationsOutputItemTriggersPullRequestMergeConflict"
2687
+ ],
2688
+ "pull_request_merged": NotRequired[
2689
+ "GithubAgentAutomationsListAutomationsOutputItemTriggersPullRequestMerged"
2690
+ ],
2691
+ "pull_request_opened": NotRequired[
2692
+ "GithubAgentAutomationsListAutomationsOutputItemTriggersPullRequestOpened"
2693
+ ],
2694
+ "pull_request_ready_for_review": NotRequired[
2695
+ "GithubAgentAutomationsListAutomationsOutputItemTriggersPullRequestReadyForReview"
2696
+ ],
2697
+ "pull_request_reopened": NotRequired[
2698
+ "GithubAgentAutomationsListAutomationsOutputItemTriggersPullRequestReopened"
2699
+ ],
2700
+ "pull_request_review_dismissed": NotRequired[
2701
+ "GithubAgentAutomationsListAutomationsOutputItemTriggersPullRequestReviewDismissed"
2702
+ ],
2703
+ "pull_request_review_requested": NotRequired[
2704
+ "GithubAgentAutomationsListAutomationsOutputItemTriggersPullRequestReviewRequested"
2705
+ ],
2706
+ "pull_request_review_submitted": NotRequired[
2707
+ "GithubAgentAutomationsListAutomationsOutputItemTriggersPullRequestReviewSubmitted"
2708
+ ],
2709
+ "pull_request_review_thread_resolved": NotRequired[
2710
+ "GithubAgentAutomationsListAutomationsOutputItemTriggersPullRequestReviewThreadResolved"
2711
+ ],
2712
+ "pull_request_review_thread_unresolved": NotRequired[
2713
+ "GithubAgentAutomationsListAutomationsOutputItemTriggersPullRequestReviewThreadUnresolved"
2714
+ ],
2715
+ "pull_request_synchronize": NotRequired[
2716
+ "GithubAgentAutomationsListAutomationsOutputItemTriggersPullRequestSynchronize"
2717
+ ],
2718
+ "secret_scanning_alert": NotRequired[
2719
+ "GithubAgentAutomationsListAutomationsOutputItemTriggersSecretScanningAlert"
2720
+ ],
2721
+ "sub_issue_added": NotRequired[
2722
+ "GithubAgentAutomationsListAutomationsOutputItemTriggersSubIssueAdded"
2723
+ ],
2724
+ "workflow_run": NotRequired[
2725
+ "GithubAgentAutomationsListAutomationsOutputItemTriggersWorkflowRun"
2726
+ ],
2727
+ },
2728
+ total=False,
2729
+ )
2730
+ GithubAgentAutomationsListAutomationsOutputItemTriggersAutomationCompleted = TypedDict(
2731
+ "GithubAgentAutomationsListAutomationsOutputItemTriggersAutomationCompleted",
2732
+ {
2733
+ "allow_copilot_triggers": NotRequired["bool"],
2734
+ "automation_ids": Required["list[str]"],
2735
+ "write_scope": NotRequired["str"],
2736
+ },
2737
+ total=False,
2738
+ )
2739
+ GithubAgentAutomationsListAutomationsOutputItemTriggersAutomationFailed = TypedDict(
2740
+ "GithubAgentAutomationsListAutomationsOutputItemTriggersAutomationFailed",
2741
+ {
2742
+ "allow_copilot_triggers": NotRequired["bool"],
2743
+ "automation_ids": Required["list[str]"],
2744
+ "reasons": NotRequired["list[str]"],
2745
+ "write_scope": NotRequired["str"],
2746
+ },
2747
+ total=False,
2748
+ )
2749
+ GithubAgentAutomationsListAutomationsOutputItemTriggersCodeScanningAlert = TypedDict(
2750
+ "GithubAgentAutomationsListAutomationsOutputItemTriggersCodeScanningAlert",
2751
+ {"allow_copilot_triggers": NotRequired["bool"], "write_scope": NotRequired["str"]},
2752
+ total=False,
2753
+ )
2754
+ GithubAgentAutomationsListAutomationsOutputItemTriggersDependabotAlert = TypedDict(
2755
+ "GithubAgentAutomationsListAutomationsOutputItemTriggersDependabotAlert",
2756
+ {"allow_copilot_triggers": NotRequired["bool"], "write_scope": NotRequired["str"]},
2757
+ total=False,
2758
+ )
2759
+ GithubAgentAutomationsListAutomationsOutputItemTriggersDiscussionComment = TypedDict(
2760
+ "GithubAgentAutomationsListAutomationsOutputItemTriggersDiscussionComment",
2761
+ {
2762
+ "allow_copilot_triggers": NotRequired["bool"],
2763
+ "body_substring": NotRequired["str"],
2764
+ "categories": NotRequired["list[str]"],
2765
+ "comment_types": NotRequired["list[str]"],
2766
+ "write_scope": NotRequired["str"],
2767
+ },
2768
+ total=False,
2769
+ )
2770
+ GithubAgentAutomationsListAutomationsOutputItemTriggersDiscussionOpened = TypedDict(
2771
+ "GithubAgentAutomationsListAutomationsOutputItemTriggersDiscussionOpened",
2772
+ {
2773
+ "allow_copilot_triggers": NotRequired["bool"],
2774
+ "body_substring": NotRequired["str"],
2775
+ "categories": NotRequired["list[str]"],
2776
+ "write_scope": NotRequired["str"],
2777
+ },
2778
+ total=False,
2779
+ )
2780
+ GithubAgentAutomationsListAutomationsOutputItemTriggersDiscussionUpdated = TypedDict(
2781
+ "GithubAgentAutomationsListAutomationsOutputItemTriggersDiscussionUpdated",
2782
+ {
2783
+ "allow_copilot_triggers": NotRequired["bool"],
2784
+ "body_substring": NotRequired["str"],
2785
+ "categories": NotRequired["list[str]"],
2786
+ "write_scope": NotRequired["str"],
2787
+ },
2788
+ total=False,
2789
+ )
2790
+ GithubAgentAutomationsListAutomationsOutputItemTriggersInterval = TypedDict(
2791
+ "GithubAgentAutomationsListAutomationsOutputItemTriggersInterval",
2792
+ {
2793
+ "allow_copilot_triggers": NotRequired["bool"],
2794
+ "cadence": Required["list[str]"],
2795
+ "day_of_week": NotRequired["int | str"],
2796
+ "hour_utc": NotRequired["int | str"],
2797
+ "minute_utc": NotRequired["int | str"],
2798
+ "write_scope": NotRequired["str"],
2799
+ },
2800
+ total=False,
2801
+ )
2802
+ GithubAgentAutomationsListAutomationsOutputItemTriggersIssueAssigned = TypedDict(
2803
+ "GithubAgentAutomationsListAutomationsOutputItemTriggersIssueAssigned",
2804
+ {
2805
+ "allow_copilot_triggers": NotRequired["bool"],
2806
+ "assignees": NotRequired["list[str]"],
2807
+ "query": NotRequired["str"],
2808
+ "write_scope": NotRequired["str"],
2809
+ },
2810
+ total=False,
2811
+ )
2812
+ GithubAgentAutomationsListAutomationsOutputItemTriggersIssueClosed = TypedDict(
2813
+ "GithubAgentAutomationsListAutomationsOutputItemTriggersIssueClosed",
2814
+ {
2815
+ "allow_copilot_triggers": NotRequired["bool"],
2816
+ "query": NotRequired["str"],
2817
+ "write_scope": NotRequired["str"],
2818
+ },
2819
+ total=False,
2820
+ )
2821
+ GithubAgentAutomationsListAutomationsOutputItemTriggersIssueComment = TypedDict(
2822
+ "GithubAgentAutomationsListAutomationsOutputItemTriggersIssueComment",
2823
+ {
2824
+ "allow_copilot_triggers": NotRequired["bool"],
2825
+ "body_substring": NotRequired["str"],
2826
+ "query": NotRequired["str"],
2827
+ "write_scope": NotRequired["str"],
2828
+ },
2829
+ total=False,
2830
+ )
2831
+ GithubAgentAutomationsListAutomationsOutputItemTriggersIssueLabeled = TypedDict(
2832
+ "GithubAgentAutomationsListAutomationsOutputItemTriggersIssueLabeled",
2833
+ {
2834
+ "allow_copilot_triggers": NotRequired["bool"],
2835
+ "labels": NotRequired["list[str]"],
2836
+ "query": NotRequired["str"],
2837
+ "write_scope": NotRequired["str"],
2838
+ },
2839
+ total=False,
2840
+ )
2841
+ GithubAgentAutomationsListAutomationsOutputItemTriggersIssueOpened = TypedDict(
2842
+ "GithubAgentAutomationsListAutomationsOutputItemTriggersIssueOpened",
2843
+ {
2844
+ "allow_copilot_triggers": NotRequired["bool"],
2845
+ "query": NotRequired["str"],
2846
+ "write_scope": NotRequired["str"],
2847
+ },
2848
+ total=False,
2849
+ )
2850
+ GithubAgentAutomationsListAutomationsOutputItemTriggersIssueReopened = TypedDict(
2851
+ "GithubAgentAutomationsListAutomationsOutputItemTriggersIssueReopened",
2852
+ {
2853
+ "allow_copilot_triggers": NotRequired["bool"],
2854
+ "query": NotRequired["str"],
2855
+ "write_scope": NotRequired["str"],
2856
+ },
2857
+ total=False,
2858
+ )
2859
+ GithubAgentAutomationsListAutomationsOutputItemTriggersPullRequestAssigned = TypedDict(
2860
+ "GithubAgentAutomationsListAutomationsOutputItemTriggersPullRequestAssigned",
2861
+ {
2862
+ "allow_copilot_triggers": NotRequired["bool"],
2863
+ "assignees": NotRequired["list[str]"],
2864
+ "paths": NotRequired["list[str]"],
2865
+ "query": NotRequired["str"],
2866
+ "write_scope": NotRequired["str"],
2867
+ },
2868
+ total=False,
2869
+ )
2870
+ GithubAgentAutomationsListAutomationsOutputItemTriggersPullRequestClosed = TypedDict(
2871
+ "GithubAgentAutomationsListAutomationsOutputItemTriggersPullRequestClosed",
2872
+ {
2873
+ "allow_copilot_triggers": NotRequired["bool"],
2874
+ "paths": NotRequired["list[str]"],
2875
+ "query": NotRequired["str"],
2876
+ "write_scope": NotRequired["str"],
2877
+ },
2878
+ total=False,
2879
+ )
2880
+ GithubAgentAutomationsListAutomationsOutputItemTriggersPullRequestComment = TypedDict(
2881
+ "GithubAgentAutomationsListAutomationsOutputItemTriggersPullRequestComment",
2882
+ {
2883
+ "allow_copilot_triggers": NotRequired["bool"],
2884
+ "body_substring": NotRequired["str"],
2885
+ "comment_types": Required["list[str]"],
2886
+ "paths": NotRequired["list[str]"],
2887
+ "query": NotRequired["str"],
2888
+ "write_scope": NotRequired["str"],
2889
+ },
2890
+ total=False,
2891
+ )
2892
+ GithubAgentAutomationsListAutomationsOutputItemTriggersPullRequestConvertedToDraft = TypedDict(
2893
+ "GithubAgentAutomationsListAutomationsOutputItemTriggersPullRequestConvertedToDraft",
2894
+ {
2895
+ "allow_copilot_triggers": NotRequired["bool"],
2896
+ "paths": NotRequired["list[str]"],
2897
+ "query": NotRequired["str"],
2898
+ "write_scope": NotRequired["str"],
2899
+ },
2900
+ total=False,
2901
+ )
2902
+ GithubAgentAutomationsListAutomationsOutputItemTriggersPullRequestLabeled = TypedDict(
2903
+ "GithubAgentAutomationsListAutomationsOutputItemTriggersPullRequestLabeled",
2904
+ {
2905
+ "allow_copilot_triggers": NotRequired["bool"],
2906
+ "labels": NotRequired["list[str]"],
2907
+ "paths": NotRequired["list[str]"],
2908
+ "query": NotRequired["str"],
2909
+ "write_scope": NotRequired["str"],
2910
+ },
2911
+ total=False,
2912
+ )
2913
+ GithubAgentAutomationsListAutomationsOutputItemTriggersPullRequestMergeConflict = TypedDict(
2914
+ "GithubAgentAutomationsListAutomationsOutputItemTriggersPullRequestMergeConflict",
2915
+ {
2916
+ "allow_copilot_triggers": NotRequired["bool"],
2917
+ "paths": NotRequired["list[str]"],
2918
+ "query": NotRequired["str"],
2919
+ "write_scope": NotRequired["str"],
2920
+ },
2921
+ total=False,
2922
+ )
2923
+ GithubAgentAutomationsListAutomationsOutputItemTriggersPullRequestMerged = TypedDict(
2924
+ "GithubAgentAutomationsListAutomationsOutputItemTriggersPullRequestMerged",
2925
+ {
2926
+ "allow_copilot_triggers": NotRequired["bool"],
2927
+ "paths": NotRequired["list[str]"],
2928
+ "query": NotRequired["str"],
2929
+ "write_scope": NotRequired["str"],
2930
+ },
2931
+ total=False,
2932
+ )
2933
+ GithubAgentAutomationsListAutomationsOutputItemTriggersPullRequestOpened = TypedDict(
2934
+ "GithubAgentAutomationsListAutomationsOutputItemTriggersPullRequestOpened",
2935
+ {
2936
+ "allow_copilot_triggers": NotRequired["bool"],
2937
+ "paths": NotRequired["list[str]"],
2938
+ "query": NotRequired["str"],
2939
+ "write_scope": NotRequired["str"],
2940
+ },
2941
+ total=False,
2942
+ )
2943
+ GithubAgentAutomationsListAutomationsOutputItemTriggersPullRequestReadyForReview = TypedDict(
2944
+ "GithubAgentAutomationsListAutomationsOutputItemTriggersPullRequestReadyForReview",
2945
+ {
2946
+ "allow_copilot_triggers": NotRequired["bool"],
2947
+ "paths": NotRequired["list[str]"],
2948
+ "query": NotRequired["str"],
2949
+ "write_scope": NotRequired["str"],
2950
+ },
2951
+ total=False,
2952
+ )
2953
+ GithubAgentAutomationsListAutomationsOutputItemTriggersPullRequestReopened = TypedDict(
2954
+ "GithubAgentAutomationsListAutomationsOutputItemTriggersPullRequestReopened",
2955
+ {
2956
+ "allow_copilot_triggers": NotRequired["bool"],
2957
+ "paths": NotRequired["list[str]"],
2958
+ "query": NotRequired["str"],
2959
+ "write_scope": NotRequired["str"],
2960
+ },
2961
+ total=False,
2962
+ )
2963
+ GithubAgentAutomationsListAutomationsOutputItemTriggersPullRequestReviewDismissed = TypedDict(
2964
+ "GithubAgentAutomationsListAutomationsOutputItemTriggersPullRequestReviewDismissed",
2965
+ {
2966
+ "allow_copilot_triggers": NotRequired["bool"],
2967
+ "paths": NotRequired["list[str]"],
2968
+ "query": NotRequired["str"],
2969
+ "write_scope": NotRequired["str"],
2970
+ },
2971
+ total=False,
2972
+ )
2973
+ GithubAgentAutomationsListAutomationsOutputItemTriggersPullRequestReviewRequested = TypedDict(
2974
+ "GithubAgentAutomationsListAutomationsOutputItemTriggersPullRequestReviewRequested",
2975
+ {
2976
+ "allow_copilot_triggers": NotRequired["bool"],
2977
+ "paths": NotRequired["list[str]"],
2978
+ "query": NotRequired["str"],
2979
+ "write_scope": NotRequired["str"],
2980
+ },
2981
+ total=False,
2982
+ )
2983
+ GithubAgentAutomationsListAutomationsOutputItemTriggersPullRequestReviewSubmitted = TypedDict(
2984
+ "GithubAgentAutomationsListAutomationsOutputItemTriggersPullRequestReviewSubmitted",
2985
+ {
2986
+ "allow_copilot_triggers": NotRequired["bool"],
2987
+ "paths": NotRequired["list[str]"],
2988
+ "query": NotRequired["str"],
2989
+ "states": Required["list[str]"],
2990
+ "write_scope": NotRequired["str"],
2991
+ },
2992
+ total=False,
2993
+ )
2994
+ GithubAgentAutomationsListAutomationsOutputItemTriggersPullRequestReviewThreadResolved = TypedDict(
2995
+ "GithubAgentAutomationsListAutomationsOutputItemTriggersPullRequestReviewThreadResolved",
2996
+ {
2997
+ "allow_copilot_triggers": NotRequired["bool"],
2998
+ "paths": NotRequired["list[str]"],
2999
+ "query": NotRequired["str"],
3000
+ "write_scope": NotRequired["str"],
3001
+ },
3002
+ total=False,
3003
+ )
3004
+ GithubAgentAutomationsListAutomationsOutputItemTriggersPullRequestReviewThreadUnresolved = (
3005
+ TypedDict(
3006
+ "GithubAgentAutomationsListAutomationsOutputItemTriggersPullRequestReviewThreadUnresolved",
3007
+ {
3008
+ "allow_copilot_triggers": NotRequired["bool"],
3009
+ "paths": NotRequired["list[str]"],
3010
+ "query": NotRequired["str"],
3011
+ "write_scope": NotRequired["str"],
3012
+ },
3013
+ total=False,
3014
+ )
3015
+ )
3016
+ GithubAgentAutomationsListAutomationsOutputItemTriggersPullRequestSynchronize = TypedDict(
3017
+ "GithubAgentAutomationsListAutomationsOutputItemTriggersPullRequestSynchronize",
3018
+ {
3019
+ "allow_copilot_triggers": NotRequired["bool"],
3020
+ "paths": NotRequired["list[str]"],
3021
+ "query": NotRequired["str"],
3022
+ "write_scope": NotRequired["str"],
3023
+ },
3024
+ total=False,
3025
+ )
3026
+ GithubAgentAutomationsListAutomationsOutputItemTriggersSecretScanningAlert = TypedDict(
3027
+ "GithubAgentAutomationsListAutomationsOutputItemTriggersSecretScanningAlert",
3028
+ {"allow_copilot_triggers": NotRequired["bool"], "write_scope": NotRequired["str"]},
3029
+ total=False,
3030
+ )
3031
+ GithubAgentAutomationsListAutomationsOutputItemTriggersSubIssueAdded = TypedDict(
3032
+ "GithubAgentAutomationsListAutomationsOutputItemTriggersSubIssueAdded",
3033
+ {
3034
+ "allow_copilot_triggers": NotRequired["bool"],
3035
+ "query": NotRequired["str"],
3036
+ "write_scope": NotRequired["str"],
3037
+ },
3038
+ total=False,
3039
+ )
3040
+ GithubAgentAutomationsListAutomationsOutputItemTriggersWorkflowRun = TypedDict(
3041
+ "GithubAgentAutomationsListAutomationsOutputItemTriggersWorkflowRun",
3042
+ {
3043
+ "allow_copilot_triggers": NotRequired["bool"],
3044
+ "conclusions": Required["list[str]"],
3045
+ "query": NotRequired["str"],
3046
+ "workflows": Required["list[str]"],
3047
+ "write_scope": NotRequired["str"],
3048
+ },
3049
+ total=False,
3050
+ )
3051
+ GithubAgentAutomationsListAvailableRepoAutomationToolsInput = TypedDict(
3052
+ "GithubAgentAutomationsListAvailableRepoAutomationToolsInput",
3053
+ {"path": Required["GithubAgentAutomationsListAvailableRepoAutomationToolsInputPath"]},
3054
+ total=False,
3055
+ )
3056
+ GithubAgentAutomationsListAvailableRepoAutomationToolsInputPath = TypedDict(
3057
+ "GithubAgentAutomationsListAvailableRepoAutomationToolsInputPath",
3058
+ {"owner": Required["str"], "repo": Required["str"]},
3059
+ total=False,
3060
+ )
3061
+ GithubAgentAutomationsListAvailableRepoAutomationToolsOutput = TypedDict(
3062
+ "GithubAgentAutomationsListAvailableRepoAutomationToolsOutput",
3063
+ {
3064
+ "mcp_servers": Required[
3065
+ "list[GithubAgentAutomationsListAvailableRepoAutomationToolsOutputMcpServersItem]"
3066
+ ],
3067
+ "tool_groups": Required[
3068
+ "list[GithubAgentAutomationsListAvailableRepoAutomationToolsOutputToolGroupsItem]"
3069
+ ],
3070
+ },
3071
+ total=False,
3072
+ )
3073
+ GithubAgentAutomationsListAvailableRepoAutomationToolsOutputMcpServersItem = TypedDict(
3074
+ "GithubAgentAutomationsListAvailableRepoAutomationToolsOutputMcpServersItem",
3075
+ {
3076
+ "name": Required["str"],
3077
+ "supports_wildcard": Required["bool"],
3078
+ "tools": Required[
3079
+ "list[GithubAgentAutomationsListAvailableRepoAutomationToolsOutputMcpServersItemToolsItem]"
3080
+ ],
3081
+ },
3082
+ total=False,
3083
+ )
3084
+ GithubAgentAutomationsListAvailableRepoAutomationToolsOutputMcpServersItemToolsItem = TypedDict(
3085
+ "GithubAgentAutomationsListAvailableRepoAutomationToolsOutputMcpServersItemToolsItem",
3086
+ {"id": Required["str"]},
3087
+ total=False,
3088
+ )
3089
+ GithubAgentAutomationsListAvailableRepoAutomationToolsOutputToolGroupsItem = TypedDict(
3090
+ "GithubAgentAutomationsListAvailableRepoAutomationToolsOutputToolGroupsItem",
3091
+ {
3092
+ "id": Required["str"],
3093
+ "title": Required["str"],
3094
+ "tools": Required[
3095
+ "list[GithubAgentAutomationsListAvailableRepoAutomationToolsOutputToolGroupsItemToolsItem]"
3096
+ ],
3097
+ },
3098
+ total=False,
3099
+ )
3100
+ GithubAgentAutomationsListAvailableRepoAutomationToolsOutputToolGroupsItemToolsItem = TypedDict(
3101
+ "GithubAgentAutomationsListAvailableRepoAutomationToolsOutputToolGroupsItemToolsItem",
3102
+ {
3103
+ "description": Required["str"],
3104
+ "id": Required["str"],
3105
+ "scope": NotRequired["str"],
3106
+ "title": Required["str"],
3107
+ },
3108
+ total=False,
3109
+ )
3110
+ GithubAgentAutomationsListAvailableRepoAutomationTriggersInput = TypedDict(
3111
+ "GithubAgentAutomationsListAvailableRepoAutomationTriggersInput",
3112
+ {"path": Required["GithubAgentAutomationsListAvailableRepoAutomationTriggersInputPath"]},
3113
+ total=False,
3114
+ )
3115
+ GithubAgentAutomationsListAvailableRepoAutomationTriggersInputPath = TypedDict(
3116
+ "GithubAgentAutomationsListAvailableRepoAutomationTriggersInputPath",
3117
+ {"owner": Required["str"], "repo": Required["str"]},
3118
+ total=False,
3119
+ )
3120
+ GithubAgentAutomationsListAvailableRepoAutomationTriggersOutput: TypeAlias = (
3121
+ "list[GithubAgentAutomationsListAvailableRepoAutomationTriggersOutputItem]"
3122
+ )
3123
+ GithubAgentAutomationsListAvailableRepoAutomationTriggersOutputItem = TypedDict(
3124
+ "GithubAgentAutomationsListAvailableRepoAutomationTriggersOutputItem",
3125
+ {
3126
+ "description": Required["str"],
3127
+ "fields": Required[
3128
+ "list[GithubAgentAutomationsListAvailableRepoAutomationTriggersOutputItemFieldsItem]"
3129
+ ],
3130
+ "id": Required["str"],
3131
+ "title": Required["str"],
3132
+ },
3133
+ total=False,
3134
+ )
3135
+ GithubAgentAutomationsListAvailableRepoAutomationTriggersOutputItemFieldsItem = TypedDict(
3136
+ "GithubAgentAutomationsListAvailableRepoAutomationTriggersOutputItemFieldsItem",
3137
+ {
3138
+ "description": NotRequired["str"],
3139
+ "id": Required["str"],
3140
+ "label": Required["str"],
3141
+ "required": Required["bool"],
3142
+ "schema": Required[
3143
+ "GithubAgentAutomationsListAvailableRepoAutomationTriggersOutputItemFieldsItemSchemaVariant0 | GithubAgentAutomationsListAvailableRepoAutomationTriggersOutputItemFieldsItemSchemaVariant1 | GithubAgentAutomationsListAvailableRepoAutomationTriggersOutputItemFieldsItemSchemaVariant2"
3144
+ ],
3145
+ },
3146
+ total=False,
3147
+ )
3148
+ GithubAgentAutomationsListAvailableRepoAutomationTriggersOutputItemFieldsItemSchemaVariant0 = TypedDict(
3149
+ "GithubAgentAutomationsListAvailableRepoAutomationTriggersOutputItemFieldsItemSchemaVariant0",
3150
+ {
3151
+ "enum": NotRequired["list[str]"],
3152
+ "minLength": NotRequired["int | str"],
3153
+ "type": Required["str"],
3154
+ },
3155
+ total=False,
3156
+ )
3157
+ GithubAgentAutomationsListAvailableRepoAutomationTriggersOutputItemFieldsItemSchemaVariant1 = TypedDict(
3158
+ "GithubAgentAutomationsListAvailableRepoAutomationTriggersOutputItemFieldsItemSchemaVariant1",
3159
+ {
3160
+ "items": Required[
3161
+ "GithubAgentAutomationsListAvailableRepoAutomationTriggersOutputItemFieldsItemSchemaVariant1Items"
3162
+ ],
3163
+ "maxItems": NotRequired["int | str"],
3164
+ "minItems": NotRequired["int | str"],
3165
+ "type": Required["str"],
3166
+ "uniqueItems": NotRequired["bool"],
3167
+ },
3168
+ total=False,
3169
+ )
3170
+ GithubAgentAutomationsListAvailableRepoAutomationTriggersOutputItemFieldsItemSchemaVariant1Items = TypedDict(
3171
+ "GithubAgentAutomationsListAvailableRepoAutomationTriggersOutputItemFieldsItemSchemaVariant1Items",
3172
+ {
3173
+ "enum": NotRequired["list[str]"],
3174
+ "minLength": NotRequired["int | str"],
3175
+ "type": Required["str"],
3176
+ },
3177
+ total=False,
3178
+ )
3179
+ GithubAgentAutomationsListAvailableRepoAutomationTriggersOutputItemFieldsItemSchemaVariant2 = TypedDict(
3180
+ "GithubAgentAutomationsListAvailableRepoAutomationTriggersOutputItemFieldsItemSchemaVariant2",
3181
+ {
3182
+ "enum": NotRequired["list[int | str]"],
3183
+ "maximum": NotRequired["int | str"],
3184
+ "minimum": NotRequired["int | str"],
3185
+ "type": Required["str"],
3186
+ },
3187
+ total=False,
3188
+ )
3189
+ GithubAgentAutomationsListRepoAutomationTasksInput = TypedDict(
3190
+ "GithubAgentAutomationsListRepoAutomationTasksInput",
3191
+ {
3192
+ "path": Required["GithubAgentAutomationsListRepoAutomationTasksInputPath"],
3193
+ "query": NotRequired["GithubAgentAutomationsListRepoAutomationTasksInputQuery"],
3194
+ },
3195
+ total=False,
3196
+ )
3197
+ GithubAgentAutomationsListRepoAutomationTasksInputPath = TypedDict(
3198
+ "GithubAgentAutomationsListRepoAutomationTasksInputPath",
3199
+ {"owner": Required["str"], "repo": Required["str"], "automation_id": Required["str"]},
3200
+ total=False,
3201
+ )
3202
+ GithubAgentAutomationsListRepoAutomationTasksInputQuery = TypedDict(
3203
+ "GithubAgentAutomationsListRepoAutomationTasksInputQuery",
3204
+ {
3205
+ "per_page": NotRequired["int"],
3206
+ "page": NotRequired["int"],
3207
+ "sort": NotRequired["Literal['updated_at', 'created_at']"],
3208
+ "direction": NotRequired["Literal['asc', 'desc']"],
3209
+ "state": NotRequired["str"],
3210
+ "is_archived": NotRequired["bool"],
3211
+ },
3212
+ total=False,
3213
+ )
3214
+ GithubAgentAutomationsListRepoAutomationTasksOutput = TypedDict(
3215
+ "GithubAgentAutomationsListRepoAutomationTasksOutput",
3216
+ {"tasks": Required["list[GithubAgentAutomationsListRepoAutomationTasksOutputTasksItem]"]},
3217
+ total=False,
3218
+ )
3219
+ GithubAgentAutomationsListRepoAutomationTasksOutputTasksItem = TypedDict(
3220
+ "GithubAgentAutomationsListRepoAutomationTasksOutputTasksItem",
3221
+ {
3222
+ "archived_at": NotRequired["str | None"],
3223
+ "artifacts": NotRequired[
3224
+ "list[GithubAgentAutomationsListRepoAutomationTasksOutputTasksItemArtifactsItem]"
3225
+ ],
3226
+ "clients": NotRequired[
3227
+ "list[GithubAgentAutomationsListRepoAutomationTasksOutputTasksItemClientsItem]"
3228
+ ],
3229
+ "created_at": Required["str"],
3230
+ "creator": NotRequired[
3231
+ "GithubAgentAutomationsListRepoAutomationTasksOutputTasksItemCreatorVariant0"
3232
+ ],
3233
+ "creator_type": NotRequired["str"],
3234
+ "custom_agent": NotRequired[
3235
+ "GithubAgentAutomationsListRepoAutomationTasksOutputTasksItemCustomAgent"
3236
+ ],
3237
+ "html_url": NotRequired["str"],
3238
+ "id": Required["str"],
3239
+ "name": NotRequired["str"],
3240
+ "owner": NotRequired["GithubAgentAutomationsListRepoAutomationTasksOutputTasksItemOwner"],
3241
+ "repository": NotRequired[
3242
+ "GithubAgentAutomationsListRepoAutomationTasksOutputTasksItemRepository"
3243
+ ],
3244
+ "session_count": NotRequired["int | str"],
3245
+ "state": Required["str"],
3246
+ "updated_at": NotRequired["str"],
3247
+ "url": NotRequired["str"],
3248
+ "user_collaborators": NotRequired[
3249
+ "list[GithubAgentAutomationsListRepoAutomationTasksOutputTasksItemUserCollaboratorsItem]"
3250
+ ],
3251
+ },
3252
+ total=False,
3253
+ )
3254
+ GithubAgentAutomationsListRepoAutomationTasksOutputTasksItemArtifactsItem = TypedDict(
3255
+ "GithubAgentAutomationsListRepoAutomationTasksOutputTasksItemArtifactsItem",
3256
+ {
3257
+ "data": Required[
3258
+ "GithubAgentAutomationsListRepoAutomationTasksOutputTasksItemArtifactsItemDataVariant0 | GithubAgentAutomationsListRepoAutomationTasksOutputTasksItemArtifactsItemDataVariant1"
3259
+ ],
3260
+ "provider": Required["str"],
3261
+ "type": Required["str"],
3262
+ },
3263
+ total=False,
3264
+ )
3265
+ GithubAgentAutomationsListRepoAutomationTasksOutputTasksItemArtifactsItemDataVariant0 = TypedDict(
3266
+ "GithubAgentAutomationsListRepoAutomationTasksOutputTasksItemArtifactsItemDataVariant0",
3267
+ {"global_id": NotRequired["str"], "id": Required["int | str"]},
3268
+ total=False,
3269
+ )
3270
+ GithubAgentAutomationsListRepoAutomationTasksOutputTasksItemArtifactsItemDataVariant1 = TypedDict(
3271
+ "GithubAgentAutomationsListRepoAutomationTasksOutputTasksItemArtifactsItemDataVariant1",
3272
+ {"base_ref": Required["str"], "head_ref": Required["str"]},
3273
+ total=False,
3274
+ )
3275
+ GithubAgentAutomationsListRepoAutomationTasksOutputTasksItemClientsItem = TypedDict(
3276
+ "GithubAgentAutomationsListRepoAutomationTasksOutputTasksItemClientsItem",
3277
+ {"creator": Required["bool"], "integration_id": Required["str"], "slug": Required["str"]},
3278
+ total=False,
3279
+ )
3280
+ GithubAgentAutomationsListRepoAutomationTasksOutputTasksItemCreatorVariant0 = TypedDict(
3281
+ "GithubAgentAutomationsListRepoAutomationTasksOutputTasksItemCreatorVariant0",
3282
+ {"id": NotRequired["int | str"]},
3283
+ total=False,
3284
+ )
3285
+ GithubAgentAutomationsListRepoAutomationTasksOutputTasksItemCustomAgent = TypedDict(
3286
+ "GithubAgentAutomationsListRepoAutomationTasksOutputTasksItemCustomAgent",
3287
+ {"id": NotRequired["str"]},
3288
+ total=False,
3289
+ )
3290
+ GithubAgentAutomationsListRepoAutomationTasksOutputTasksItemOwner = TypedDict(
3291
+ "GithubAgentAutomationsListRepoAutomationTasksOutputTasksItemOwner",
3292
+ {"id": NotRequired["int | str"]},
3293
+ total=False,
3294
+ )
3295
+ GithubAgentAutomationsListRepoAutomationTasksOutputTasksItemRepository = TypedDict(
3296
+ "GithubAgentAutomationsListRepoAutomationTasksOutputTasksItemRepository",
3297
+ {"id": NotRequired["int | str"]},
3298
+ total=False,
3299
+ )
3300
+ GithubAgentAutomationsListRepoAutomationTasksOutputTasksItemUserCollaboratorsItem = TypedDict(
3301
+ "GithubAgentAutomationsListRepoAutomationTasksOutputTasksItemUserCollaboratorsItem",
3302
+ {"id": NotRequired["int | str"]},
3303
+ total=False,
3304
+ )
3305
+ GithubAgentAutomationsListRepoAutomationsInput = TypedDict(
3306
+ "GithubAgentAutomationsListRepoAutomationsInput",
3307
+ {
3308
+ "path": Required["GithubAgentAutomationsListRepoAutomationsInputPath"],
3309
+ "query": NotRequired["GithubAgentAutomationsListRepoAutomationsInputQuery"],
3310
+ },
3311
+ total=False,
3312
+ )
3313
+ GithubAgentAutomationsListRepoAutomationsInputPath = TypedDict(
3314
+ "GithubAgentAutomationsListRepoAutomationsInputPath",
3315
+ {"owner": Required["str"], "repo": Required["str"]},
3316
+ total=False,
3317
+ )
3318
+ GithubAgentAutomationsListRepoAutomationsInputQuery = TypedDict(
3319
+ "GithubAgentAutomationsListRepoAutomationsInputQuery",
3320
+ {
3321
+ "page": NotRequired["int"],
3322
+ "per_page": NotRequired["int"],
3323
+ "type": NotRequired["Literal['personal', 'shared']"],
3324
+ },
3325
+ total=False,
3326
+ )
3327
+ GithubAgentAutomationsListRepoAutomationsOutput = TypedDict(
3328
+ "GithubAgentAutomationsListRepoAutomationsOutput",
3329
+ {
3330
+ "automations": Required[
3331
+ "list[GithubAgentAutomationsListRepoAutomationsOutputAutomationsItem]"
3332
+ ],
3333
+ "total_count": Required["int | str"],
3334
+ },
3335
+ total=False,
3336
+ )
3337
+ GithubAgentAutomationsListRepoAutomationsOutputAutomationsItem = TypedDict(
3338
+ "GithubAgentAutomationsListRepoAutomationsOutputAutomationsItem",
3339
+ {
3340
+ "created_at": Required["str"],
3341
+ "created_by": Required[
3342
+ "GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemCreatedBy"
3343
+ ],
3344
+ "enabled": NotRequired["bool"],
3345
+ "id": Required["str"],
3346
+ "model": NotRequired["str"],
3347
+ "name": Required["str"],
3348
+ "reasoning_effort": NotRequired["str"],
3349
+ "require_actor_write_permission": NotRequired["bool"],
3350
+ "triggers": NotRequired[
3351
+ "GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggers"
3352
+ ],
3353
+ "type": NotRequired["str"],
3354
+ "updated_at": Required["str"],
3355
+ },
3356
+ total=False,
3357
+ )
3358
+ GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemCreatedBy = TypedDict(
3359
+ "GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemCreatedBy",
3360
+ {"id": NotRequired["int | str"]},
3361
+ total=False,
3362
+ )
3363
+ GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggers = TypedDict(
3364
+ "GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggers",
3365
+ {
3366
+ "automation_completed": NotRequired[
3367
+ "GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersAutomationCompleted"
3368
+ ],
3369
+ "automation_failed": NotRequired[
3370
+ "GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersAutomationFailed"
3371
+ ],
3372
+ "code_scanning_alert": NotRequired[
3373
+ "GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersCodeScanningAlert"
3374
+ ],
3375
+ "dependabot_alert": NotRequired[
3376
+ "GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersDependabotAlert"
3377
+ ],
3378
+ "discussion_comment": NotRequired[
3379
+ "GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersDiscussionComment"
3380
+ ],
3381
+ "discussion_opened": NotRequired[
3382
+ "GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersDiscussionOpened"
3383
+ ],
3384
+ "discussion_updated": NotRequired[
3385
+ "GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersDiscussionUpdated"
3386
+ ],
3387
+ "interval": NotRequired[
3388
+ "GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersInterval"
3389
+ ],
3390
+ "issue_assigned": NotRequired[
3391
+ "GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersIssueAssigned"
3392
+ ],
3393
+ "issue_closed": NotRequired[
3394
+ "GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersIssueClosed"
3395
+ ],
3396
+ "issue_comment": NotRequired[
3397
+ "GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersIssueComment"
3398
+ ],
3399
+ "issue_labeled": NotRequired[
3400
+ "GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersIssueLabeled"
3401
+ ],
3402
+ "issue_opened": NotRequired[
3403
+ "GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersIssueOpened"
3404
+ ],
3405
+ "issue_reopened": NotRequired[
3406
+ "GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersIssueReopened"
3407
+ ],
3408
+ "pull_request_assigned": NotRequired[
3409
+ "GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersPullRequestAssigned"
3410
+ ],
3411
+ "pull_request_closed": NotRequired[
3412
+ "GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersPullRequestClosed"
3413
+ ],
3414
+ "pull_request_comment": NotRequired[
3415
+ "GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersPullRequestComment"
3416
+ ],
3417
+ "pull_request_converted_to_draft": NotRequired[
3418
+ "GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersPullRequestConvertedToDraft"
3419
+ ],
3420
+ "pull_request_labeled": NotRequired[
3421
+ "GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersPullRequestLabeled"
3422
+ ],
3423
+ "pull_request_merge_conflict": NotRequired[
3424
+ "GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersPullRequestMergeConflict"
3425
+ ],
3426
+ "pull_request_merged": NotRequired[
3427
+ "GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersPullRequestMerged"
3428
+ ],
3429
+ "pull_request_opened": NotRequired[
3430
+ "GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersPullRequestOpened"
3431
+ ],
3432
+ "pull_request_ready_for_review": NotRequired[
3433
+ "GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersPullRequestReadyForReview"
3434
+ ],
3435
+ "pull_request_reopened": NotRequired[
3436
+ "GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersPullRequestReopened"
3437
+ ],
3438
+ "pull_request_review_dismissed": NotRequired[
3439
+ "GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersPullRequestReviewDismissed"
3440
+ ],
3441
+ "pull_request_review_requested": NotRequired[
3442
+ "GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersPullRequestReviewRequested"
3443
+ ],
3444
+ "pull_request_review_submitted": NotRequired[
3445
+ "GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersPullRequestReviewSubmitted"
3446
+ ],
3447
+ "pull_request_review_thread_resolved": NotRequired[
3448
+ "GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersPullRequestReviewThreadResolved"
3449
+ ],
3450
+ "pull_request_review_thread_unresolved": NotRequired[
3451
+ "GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersPullRequestReviewThreadUnresolved"
3452
+ ],
3453
+ "pull_request_synchronize": NotRequired[
3454
+ "GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersPullRequestSynchronize"
3455
+ ],
3456
+ "secret_scanning_alert": NotRequired[
3457
+ "GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersSecretScanningAlert"
3458
+ ],
3459
+ "sub_issue_added": NotRequired[
3460
+ "GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersSubIssueAdded"
3461
+ ],
3462
+ "workflow_run": NotRequired[
3463
+ "GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersWorkflowRun"
3464
+ ],
3465
+ },
3466
+ total=False,
3467
+ )
3468
+ GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersAutomationCompleted = (
3469
+ TypedDict(
3470
+ "GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersAutomationCompleted",
3471
+ {
3472
+ "allow_copilot_triggers": NotRequired["bool"],
3473
+ "automation_ids": Required["list[str]"],
3474
+ "write_scope": NotRequired["str"],
3475
+ },
3476
+ total=False,
3477
+ )
3478
+ )
3479
+ GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersAutomationFailed = TypedDict(
3480
+ "GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersAutomationFailed",
3481
+ {
3482
+ "allow_copilot_triggers": NotRequired["bool"],
3483
+ "automation_ids": Required["list[str]"],
3484
+ "reasons": NotRequired["list[str]"],
3485
+ "write_scope": NotRequired["str"],
3486
+ },
3487
+ total=False,
3488
+ )
3489
+ GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersCodeScanningAlert = TypedDict(
3490
+ "GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersCodeScanningAlert",
3491
+ {"allow_copilot_triggers": NotRequired["bool"], "write_scope": NotRequired["str"]},
3492
+ total=False,
3493
+ )
3494
+ GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersDependabotAlert = TypedDict(
3495
+ "GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersDependabotAlert",
3496
+ {"allow_copilot_triggers": NotRequired["bool"], "write_scope": NotRequired["str"]},
3497
+ total=False,
3498
+ )
3499
+ GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersDiscussionComment = TypedDict(
3500
+ "GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersDiscussionComment",
3501
+ {
3502
+ "allow_copilot_triggers": NotRequired["bool"],
3503
+ "body_substring": NotRequired["str"],
3504
+ "categories": NotRequired["list[str]"],
3505
+ "comment_types": NotRequired["list[str]"],
3506
+ "write_scope": NotRequired["str"],
3507
+ },
3508
+ total=False,
3509
+ )
3510
+ GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersDiscussionOpened = TypedDict(
3511
+ "GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersDiscussionOpened",
3512
+ {
3513
+ "allow_copilot_triggers": NotRequired["bool"],
3514
+ "body_substring": NotRequired["str"],
3515
+ "categories": NotRequired["list[str]"],
3516
+ "write_scope": NotRequired["str"],
3517
+ },
3518
+ total=False,
3519
+ )
3520
+ GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersDiscussionUpdated = TypedDict(
3521
+ "GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersDiscussionUpdated",
3522
+ {
3523
+ "allow_copilot_triggers": NotRequired["bool"],
3524
+ "body_substring": NotRequired["str"],
3525
+ "categories": NotRequired["list[str]"],
3526
+ "write_scope": NotRequired["str"],
3527
+ },
3528
+ total=False,
3529
+ )
3530
+ GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersInterval = TypedDict(
3531
+ "GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersInterval",
3532
+ {
3533
+ "allow_copilot_triggers": NotRequired["bool"],
3534
+ "cadence": Required["list[str]"],
3535
+ "day_of_week": NotRequired["int | str"],
3536
+ "hour_utc": NotRequired["int | str"],
3537
+ "minute_utc": NotRequired["int | str"],
3538
+ "write_scope": NotRequired["str"],
3539
+ },
3540
+ total=False,
3541
+ )
3542
+ GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersIssueAssigned = TypedDict(
3543
+ "GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersIssueAssigned",
3544
+ {
3545
+ "allow_copilot_triggers": NotRequired["bool"],
3546
+ "assignees": NotRequired["list[str]"],
3547
+ "query": NotRequired["str"],
3548
+ "write_scope": NotRequired["str"],
3549
+ },
3550
+ total=False,
3551
+ )
3552
+ GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersIssueClosed = TypedDict(
3553
+ "GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersIssueClosed",
3554
+ {
3555
+ "allow_copilot_triggers": NotRequired["bool"],
3556
+ "query": NotRequired["str"],
3557
+ "write_scope": NotRequired["str"],
3558
+ },
3559
+ total=False,
3560
+ )
3561
+ GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersIssueComment = TypedDict(
3562
+ "GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersIssueComment",
3563
+ {
3564
+ "allow_copilot_triggers": NotRequired["bool"],
3565
+ "body_substring": NotRequired["str"],
3566
+ "query": NotRequired["str"],
3567
+ "write_scope": NotRequired["str"],
3568
+ },
3569
+ total=False,
3570
+ )
3571
+ GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersIssueLabeled = TypedDict(
3572
+ "GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersIssueLabeled",
3573
+ {
3574
+ "allow_copilot_triggers": NotRequired["bool"],
3575
+ "labels": NotRequired["list[str]"],
3576
+ "query": NotRequired["str"],
3577
+ "write_scope": NotRequired["str"],
3578
+ },
3579
+ total=False,
3580
+ )
3581
+ GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersIssueOpened = TypedDict(
3582
+ "GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersIssueOpened",
3583
+ {
3584
+ "allow_copilot_triggers": NotRequired["bool"],
3585
+ "query": NotRequired["str"],
3586
+ "write_scope": NotRequired["str"],
3587
+ },
3588
+ total=False,
3589
+ )
3590
+ GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersIssueReopened = TypedDict(
3591
+ "GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersIssueReopened",
3592
+ {
3593
+ "allow_copilot_triggers": NotRequired["bool"],
3594
+ "query": NotRequired["str"],
3595
+ "write_scope": NotRequired["str"],
3596
+ },
3597
+ total=False,
3598
+ )
3599
+ GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersPullRequestAssigned = (
3600
+ TypedDict(
3601
+ "GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersPullRequestAssigned",
3602
+ {
3603
+ "allow_copilot_triggers": NotRequired["bool"],
3604
+ "assignees": NotRequired["list[str]"],
3605
+ "paths": NotRequired["list[str]"],
3606
+ "query": NotRequired["str"],
3607
+ "write_scope": NotRequired["str"],
3608
+ },
3609
+ total=False,
3610
+ )
3611
+ )
3612
+ GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersPullRequestClosed = TypedDict(
3613
+ "GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersPullRequestClosed",
3614
+ {
3615
+ "allow_copilot_triggers": NotRequired["bool"],
3616
+ "paths": NotRequired["list[str]"],
3617
+ "query": NotRequired["str"],
3618
+ "write_scope": NotRequired["str"],
3619
+ },
3620
+ total=False,
3621
+ )
3622
+ GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersPullRequestComment = (
3623
+ TypedDict(
3624
+ "GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersPullRequestComment",
3625
+ {
3626
+ "allow_copilot_triggers": NotRequired["bool"],
3627
+ "body_substring": NotRequired["str"],
3628
+ "comment_types": Required["list[str]"],
3629
+ "paths": NotRequired["list[str]"],
3630
+ "query": NotRequired["str"],
3631
+ "write_scope": NotRequired["str"],
3632
+ },
3633
+ total=False,
3634
+ )
3635
+ )
3636
+ GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersPullRequestConvertedToDraft = TypedDict(
3637
+ "GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersPullRequestConvertedToDraft",
3638
+ {
3639
+ "allow_copilot_triggers": NotRequired["bool"],
3640
+ "paths": NotRequired["list[str]"],
3641
+ "query": NotRequired["str"],
3642
+ "write_scope": NotRequired["str"],
3643
+ },
3644
+ total=False,
3645
+ )
3646
+ GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersPullRequestLabeled = (
3647
+ TypedDict(
3648
+ "GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersPullRequestLabeled",
3649
+ {
3650
+ "allow_copilot_triggers": NotRequired["bool"],
3651
+ "labels": NotRequired["list[str]"],
3652
+ "paths": NotRequired["list[str]"],
3653
+ "query": NotRequired["str"],
3654
+ "write_scope": NotRequired["str"],
3655
+ },
3656
+ total=False,
3657
+ )
3658
+ )
3659
+ GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersPullRequestMergeConflict = TypedDict(
3660
+ "GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersPullRequestMergeConflict",
3661
+ {
3662
+ "allow_copilot_triggers": NotRequired["bool"],
3663
+ "paths": NotRequired["list[str]"],
3664
+ "query": NotRequired["str"],
3665
+ "write_scope": NotRequired["str"],
3666
+ },
3667
+ total=False,
3668
+ )
3669
+ GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersPullRequestMerged = TypedDict(
3670
+ "GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersPullRequestMerged",
3671
+ {
3672
+ "allow_copilot_triggers": NotRequired["bool"],
3673
+ "paths": NotRequired["list[str]"],
3674
+ "query": NotRequired["str"],
3675
+ "write_scope": NotRequired["str"],
3676
+ },
3677
+ total=False,
3678
+ )
3679
+ GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersPullRequestOpened = TypedDict(
3680
+ "GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersPullRequestOpened",
3681
+ {
3682
+ "allow_copilot_triggers": NotRequired["bool"],
3683
+ "paths": NotRequired["list[str]"],
3684
+ "query": NotRequired["str"],
3685
+ "write_scope": NotRequired["str"],
3686
+ },
3687
+ total=False,
3688
+ )
3689
+ GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersPullRequestReadyForReview = TypedDict(
3690
+ "GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersPullRequestReadyForReview",
3691
+ {
3692
+ "allow_copilot_triggers": NotRequired["bool"],
3693
+ "paths": NotRequired["list[str]"],
3694
+ "query": NotRequired["str"],
3695
+ "write_scope": NotRequired["str"],
3696
+ },
3697
+ total=False,
3698
+ )
3699
+ GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersPullRequestReopened = (
3700
+ TypedDict(
3701
+ "GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersPullRequestReopened",
3702
+ {
3703
+ "allow_copilot_triggers": NotRequired["bool"],
3704
+ "paths": NotRequired["list[str]"],
3705
+ "query": NotRequired["str"],
3706
+ "write_scope": NotRequired["str"],
3707
+ },
3708
+ total=False,
3709
+ )
3710
+ )
3711
+ GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersPullRequestReviewDismissed = TypedDict(
3712
+ "GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersPullRequestReviewDismissed",
3713
+ {
3714
+ "allow_copilot_triggers": NotRequired["bool"],
3715
+ "paths": NotRequired["list[str]"],
3716
+ "query": NotRequired["str"],
3717
+ "write_scope": NotRequired["str"],
3718
+ },
3719
+ total=False,
3720
+ )
3721
+ GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersPullRequestReviewRequested = TypedDict(
3722
+ "GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersPullRequestReviewRequested",
3723
+ {
3724
+ "allow_copilot_triggers": NotRequired["bool"],
3725
+ "paths": NotRequired["list[str]"],
3726
+ "query": NotRequired["str"],
3727
+ "write_scope": NotRequired["str"],
3728
+ },
3729
+ total=False,
3730
+ )
3731
+ GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersPullRequestReviewSubmitted = TypedDict(
3732
+ "GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersPullRequestReviewSubmitted",
3733
+ {
3734
+ "allow_copilot_triggers": NotRequired["bool"],
3735
+ "paths": NotRequired["list[str]"],
3736
+ "query": NotRequired["str"],
3737
+ "states": Required["list[str]"],
3738
+ "write_scope": NotRequired["str"],
3739
+ },
3740
+ total=False,
3741
+ )
3742
+ GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersPullRequestReviewThreadResolved = TypedDict(
3743
+ "GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersPullRequestReviewThreadResolved",
3744
+ {
3745
+ "allow_copilot_triggers": NotRequired["bool"],
3746
+ "paths": NotRequired["list[str]"],
3747
+ "query": NotRequired["str"],
3748
+ "write_scope": NotRequired["str"],
3749
+ },
3750
+ total=False,
3751
+ )
3752
+ GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersPullRequestReviewThreadUnresolved = TypedDict(
3753
+ "GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersPullRequestReviewThreadUnresolved",
3754
+ {
3755
+ "allow_copilot_triggers": NotRequired["bool"],
3756
+ "paths": NotRequired["list[str]"],
3757
+ "query": NotRequired["str"],
3758
+ "write_scope": NotRequired["str"],
3759
+ },
3760
+ total=False,
3761
+ )
3762
+ GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersPullRequestSynchronize = TypedDict(
3763
+ "GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersPullRequestSynchronize",
3764
+ {
3765
+ "allow_copilot_triggers": NotRequired["bool"],
3766
+ "paths": NotRequired["list[str]"],
3767
+ "query": NotRequired["str"],
3768
+ "write_scope": NotRequired["str"],
3769
+ },
3770
+ total=False,
3771
+ )
3772
+ GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersSecretScanningAlert = (
3773
+ TypedDict(
3774
+ "GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersSecretScanningAlert",
3775
+ {"allow_copilot_triggers": NotRequired["bool"], "write_scope": NotRequired["str"]},
3776
+ total=False,
3777
+ )
3778
+ )
3779
+ GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersSubIssueAdded = TypedDict(
3780
+ "GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersSubIssueAdded",
3781
+ {
3782
+ "allow_copilot_triggers": NotRequired["bool"],
3783
+ "query": NotRequired["str"],
3784
+ "write_scope": NotRequired["str"],
3785
+ },
3786
+ total=False,
3787
+ )
3788
+ GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersWorkflowRun = TypedDict(
3789
+ "GithubAgentAutomationsListRepoAutomationsOutputAutomationsItemTriggersWorkflowRun",
3790
+ {
3791
+ "allow_copilot_triggers": NotRequired["bool"],
3792
+ "conclusions": Required["list[str]"],
3793
+ "query": NotRequired["str"],
3794
+ "workflows": Required["list[str]"],
3795
+ "write_scope": NotRequired["str"],
3796
+ },
3797
+ total=False,
3798
+ )
3799
+ GithubAgentMergeDeleteAgentMergeEnrollmentInput = TypedDict(
3800
+ "GithubAgentMergeDeleteAgentMergeEnrollmentInput",
3801
+ {"path": Required["GithubAgentMergeDeleteAgentMergeEnrollmentInputPath"]},
3802
+ total=False,
3803
+ )
3804
+ GithubAgentMergeDeleteAgentMergeEnrollmentInputPath = TypedDict(
3805
+ "GithubAgentMergeDeleteAgentMergeEnrollmentInputPath",
3806
+ {"owner": Required["str"], "repo": Required["str"], "pull_number": Required["int"]},
3807
+ total=False,
3808
+ )
3809
+ GithubAgentMergeDeleteAgentMergeEnrollmentOutput: TypeAlias = "None"
3810
+ GithubAgentMergeGetAgentMergeEnrollmentInput = TypedDict(
3811
+ "GithubAgentMergeGetAgentMergeEnrollmentInput",
3812
+ {"path": Required["GithubAgentMergeGetAgentMergeEnrollmentInputPath"]},
3813
+ total=False,
3814
+ )
3815
+ GithubAgentMergeGetAgentMergeEnrollmentInputPath = TypedDict(
3816
+ "GithubAgentMergeGetAgentMergeEnrollmentInputPath",
3817
+ {"owner": Required["str"], "repo": Required["str"], "pull_number": Required["int"]},
3818
+ total=False,
3819
+ )
3820
+ GithubAgentMergeGetAgentMergeEnrollmentOutput = TypedDict(
3821
+ "GithubAgentMergeGetAgentMergeEnrollmentOutput",
3822
+ {
3823
+ "allowed_actions": Required["list[str]"],
3824
+ "created_at": Required["str"],
3825
+ "updated_at": Required["str"],
3826
+ "user": Required["GithubAgentMergeGetAgentMergeEnrollmentOutputUser"],
3827
+ },
3828
+ total=False,
3829
+ )
3830
+ GithubAgentMergeGetAgentMergeEnrollmentOutputUser = TypedDict(
3831
+ "GithubAgentMergeGetAgentMergeEnrollmentOutputUser", {"id": Required["int | str"]}, total=False
3832
+ )
3833
+ GithubAgentMergePutAgentMergeEnrollmentInput = TypedDict(
3834
+ "GithubAgentMergePutAgentMergeEnrollmentInput",
3835
+ {
3836
+ "path": Required["GithubAgentMergePutAgentMergeEnrollmentInputPath"],
3837
+ "body": Required["GithubAgentMergePutAgentMergeEnrollmentInputBody"],
3838
+ },
3839
+ total=False,
3840
+ )
3841
+ GithubAgentMergePutAgentMergeEnrollmentInputBody = TypedDict(
3842
+ "GithubAgentMergePutAgentMergeEnrollmentInputBody",
3843
+ {"allowed_actions": Required["list[Literal['fix_ci', 'resolve_merge_conflicts']]"]},
3844
+ total=False,
3845
+ )
3846
+ GithubAgentMergePutAgentMergeEnrollmentInputPath = TypedDict(
3847
+ "GithubAgentMergePutAgentMergeEnrollmentInputPath",
3848
+ {"owner": Required["str"], "repo": Required["str"], "pull_number": Required["int"]},
3849
+ total=False,
3850
+ )
3851
+ GithubAgentMergePutAgentMergeEnrollmentOutput: TypeAlias = "GithubAgentMergePutAgentMergeEnrollmentOutputVariant0 | GithubAgentMergePutAgentMergeEnrollmentOutputVariant1"
3852
+ GithubAgentMergePutAgentMergeEnrollmentOutputVariant0 = TypedDict(
3853
+ "GithubAgentMergePutAgentMergeEnrollmentOutputVariant0",
3854
+ {
3855
+ "allowed_actions": Required["list[str]"],
3856
+ "created_at": Required["str"],
3857
+ "updated_at": Required["str"],
3858
+ "user": Required["GithubAgentMergePutAgentMergeEnrollmentOutputVariant0User"],
3859
+ },
3860
+ total=False,
3861
+ )
3862
+ GithubAgentMergePutAgentMergeEnrollmentOutputVariant0User = TypedDict(
3863
+ "GithubAgentMergePutAgentMergeEnrollmentOutputVariant0User",
3864
+ {"id": Required["int | str"]},
3865
+ total=False,
3866
+ )
3867
+ GithubAgentMergePutAgentMergeEnrollmentOutputVariant1 = TypedDict(
3868
+ "GithubAgentMergePutAgentMergeEnrollmentOutputVariant1",
3869
+ {
3870
+ "allowed_actions": Required["list[str]"],
3871
+ "created_at": Required["str"],
3872
+ "updated_at": Required["str"],
3873
+ "user": Required["GithubAgentMergePutAgentMergeEnrollmentOutputVariant1User"],
3874
+ },
3875
+ total=False,
3876
+ )
3877
+ GithubAgentMergePutAgentMergeEnrollmentOutputVariant1User = TypedDict(
3878
+ "GithubAgentMergePutAgentMergeEnrollmentOutputVariant1User",
3879
+ {"id": Required["int | str"]},
3880
+ total=False,
3881
+ )
3882
+ GithubAgentTasksCreateTaskInRepoInput = TypedDict(
3883
+ "GithubAgentTasksCreateTaskInRepoInput",
3884
+ {
3885
+ "path": Required["GithubAgentTasksCreateTaskInRepoInputPath"],
3886
+ "body": Required["GithubAgentTasksCreateTaskInRepoInputBody"],
3887
+ },
3888
+ total=False,
3889
+ )
3890
+ GithubAgentTasksCreateTaskInRepoInputBody = TypedDict(
3891
+ "GithubAgentTasksCreateTaskInRepoInputBody",
3892
+ {
3893
+ "base_ref": NotRequired["str"],
3894
+ "create_pull_request": NotRequired["bool"],
3895
+ "custom_agent": NotRequired["str"],
3896
+ "head_ref": NotRequired["str"],
3897
+ "model": NotRequired["str"],
3898
+ "prompt": Required["str"],
3899
+ },
3900
+ total=False,
3901
+ )
3902
+ GithubAgentTasksCreateTaskInRepoInputPath = TypedDict(
3903
+ "GithubAgentTasksCreateTaskInRepoInputPath",
3904
+ {"owner": Required["str"], "repo": Required["str"]},
3905
+ total=False,
3906
+ )
3907
+ GithubAgentTasksCreateTaskInRepoOutput = TypedDict(
3908
+ "GithubAgentTasksCreateTaskInRepoOutput",
3909
+ {
3910
+ "archived_at": NotRequired["str | None"],
3911
+ "artifacts": NotRequired["list[GithubAgentTasksCreateTaskInRepoOutputArtifactsItem]"],
3912
+ "created_at": Required["str"],
3913
+ "creator": NotRequired["GithubAgentTasksCreateTaskInRepoOutputCreatorVariant0"],
3914
+ "creator_type": NotRequired["str"],
3915
+ "custom_agent": NotRequired["GithubAgentTasksCreateTaskInRepoOutputCustomAgent"],
3916
+ "html_url": NotRequired["str"],
3917
+ "id": Required["str"],
3918
+ "name": NotRequired["str"],
3919
+ "owner": NotRequired["GithubAgentTasksCreateTaskInRepoOutputOwner"],
3920
+ "repository": NotRequired["GithubAgentTasksCreateTaskInRepoOutputRepository"],
3921
+ "session_count": NotRequired["int | str"],
3922
+ "state": Required["str"],
3923
+ "updated_at": NotRequired["str"],
3924
+ "url": NotRequired["str"],
3925
+ "user_collaborators": NotRequired[
3926
+ "list[GithubAgentTasksCreateTaskInRepoOutputUserCollaboratorsItem]"
3927
+ ],
3928
+ },
3929
+ total=False,
3930
+ )
3931
+ GithubAgentTasksCreateTaskInRepoOutputArtifactsItem = TypedDict(
3932
+ "GithubAgentTasksCreateTaskInRepoOutputArtifactsItem",
3933
+ {
3934
+ "data": Required[
3935
+ "GithubAgentTasksCreateTaskInRepoOutputArtifactsItemDataVariant0 | GithubAgentTasksCreateTaskInRepoOutputArtifactsItemDataVariant1"
3936
+ ],
3937
+ "provider": Required["str"],
3938
+ "type": Required["str"],
3939
+ },
3940
+ total=False,
3941
+ )
3942
+ GithubAgentTasksCreateTaskInRepoOutputArtifactsItemDataVariant0 = TypedDict(
3943
+ "GithubAgentTasksCreateTaskInRepoOutputArtifactsItemDataVariant0",
3944
+ {"global_id": NotRequired["str"], "id": Required["int | str"]},
3945
+ total=False,
3946
+ )
3947
+ GithubAgentTasksCreateTaskInRepoOutputArtifactsItemDataVariant1 = TypedDict(
3948
+ "GithubAgentTasksCreateTaskInRepoOutputArtifactsItemDataVariant1",
3949
+ {"base_ref": Required["str"], "head_ref": Required["str"]},
3950
+ total=False,
3951
+ )
3952
+ GithubAgentTasksCreateTaskInRepoOutputCreatorVariant0 = TypedDict(
3953
+ "GithubAgentTasksCreateTaskInRepoOutputCreatorVariant0",
3954
+ {"id": NotRequired["int | str"]},
3955
+ total=False,
3956
+ )
3957
+ GithubAgentTasksCreateTaskInRepoOutputCustomAgent = TypedDict(
3958
+ "GithubAgentTasksCreateTaskInRepoOutputCustomAgent", {"id": NotRequired["str"]}, total=False
3959
+ )
3960
+ GithubAgentTasksCreateTaskInRepoOutputOwner = TypedDict(
3961
+ "GithubAgentTasksCreateTaskInRepoOutputOwner", {"id": NotRequired["int | str"]}, total=False
3962
+ )
3963
+ GithubAgentTasksCreateTaskInRepoOutputRepository = TypedDict(
3964
+ "GithubAgentTasksCreateTaskInRepoOutputRepository",
3965
+ {"id": NotRequired["int | str"]},
3966
+ total=False,
3967
+ )
3968
+ GithubAgentTasksCreateTaskInRepoOutputUserCollaboratorsItem = TypedDict(
3969
+ "GithubAgentTasksCreateTaskInRepoOutputUserCollaboratorsItem",
3970
+ {"id": NotRequired["int | str"]},
3971
+ total=False,
3972
+ )
3973
+ GithubAgentTasksGetTaskByIdInput = TypedDict(
3974
+ "GithubAgentTasksGetTaskByIdInput",
3975
+ {"path": Required["GithubAgentTasksGetTaskByIdInputPath"]},
3976
+ total=False,
3977
+ )
3978
+ GithubAgentTasksGetTaskByIdInputPath = TypedDict(
3979
+ "GithubAgentTasksGetTaskByIdInputPath", {"task_id": Required["str"]}, total=False
3980
+ )
3981
+ GithubAgentTasksGetTaskByIdOutput = TypedDict(
3982
+ "GithubAgentTasksGetTaskByIdOutput",
3983
+ {
3984
+ "archived_at": NotRequired["str | None"],
3985
+ "artifacts": NotRequired["list[GithubAgentTasksGetTaskByIdOutputArtifactsItem]"],
3986
+ "created_at": Required["str"],
3987
+ "creator": NotRequired["GithubAgentTasksGetTaskByIdOutputCreatorVariant0"],
3988
+ "creator_type": NotRequired["str"],
3989
+ "custom_agent": NotRequired["GithubAgentTasksGetTaskByIdOutputCustomAgent"],
3990
+ "html_url": NotRequired["str"],
3991
+ "id": Required["str"],
3992
+ "name": NotRequired["str"],
3993
+ "owner": NotRequired["GithubAgentTasksGetTaskByIdOutputOwner"],
3994
+ "repository": NotRequired["GithubAgentTasksGetTaskByIdOutputRepository"],
3995
+ "session_count": NotRequired["int | str"],
3996
+ "state": Required["str"],
3997
+ "updated_at": NotRequired["str"],
3998
+ "url": NotRequired["str"],
3999
+ "user_collaborators": NotRequired[
4000
+ "list[GithubAgentTasksGetTaskByIdOutputUserCollaboratorsItem]"
4001
+ ],
4002
+ "sessions": NotRequired["list[GithubAgentTasksGetTaskByIdOutputSessionsItem]"],
4003
+ },
4004
+ total=False,
4005
+ )
4006
+ GithubAgentTasksGetTaskByIdOutputArtifactsItem = TypedDict(
4007
+ "GithubAgentTasksGetTaskByIdOutputArtifactsItem",
4008
+ {
4009
+ "data": Required[
4010
+ "GithubAgentTasksGetTaskByIdOutputArtifactsItemDataVariant0 | GithubAgentTasksGetTaskByIdOutputArtifactsItemDataVariant1"
4011
+ ],
4012
+ "provider": Required["str"],
4013
+ "type": Required["str"],
4014
+ },
4015
+ total=False,
4016
+ )
4017
+ GithubAgentTasksGetTaskByIdOutputArtifactsItemDataVariant0 = TypedDict(
4018
+ "GithubAgentTasksGetTaskByIdOutputArtifactsItemDataVariant0",
4019
+ {"global_id": NotRequired["str"], "id": Required["int | str"]},
4020
+ total=False,
4021
+ )
4022
+ GithubAgentTasksGetTaskByIdOutputArtifactsItemDataVariant1 = TypedDict(
4023
+ "GithubAgentTasksGetTaskByIdOutputArtifactsItemDataVariant1",
4024
+ {"base_ref": Required["str"], "head_ref": Required["str"]},
4025
+ total=False,
4026
+ )
4027
+ GithubAgentTasksGetTaskByIdOutputCreatorVariant0 = TypedDict(
4028
+ "GithubAgentTasksGetTaskByIdOutputCreatorVariant0",
4029
+ {"id": NotRequired["int | str"]},
4030
+ total=False,
4031
+ )
4032
+ GithubAgentTasksGetTaskByIdOutputCustomAgent = TypedDict(
4033
+ "GithubAgentTasksGetTaskByIdOutputCustomAgent", {"id": NotRequired["str"]}, total=False
4034
+ )
4035
+ GithubAgentTasksGetTaskByIdOutputOwner = TypedDict(
4036
+ "GithubAgentTasksGetTaskByIdOutputOwner", {"id": NotRequired["int | str"]}, total=False
4037
+ )
4038
+ GithubAgentTasksGetTaskByIdOutputRepository = TypedDict(
4039
+ "GithubAgentTasksGetTaskByIdOutputRepository", {"id": NotRequired["int | str"]}, total=False
4040
+ )
4041
+ GithubAgentTasksGetTaskByIdOutputSessionsItem = TypedDict(
4042
+ "GithubAgentTasksGetTaskByIdOutputSessionsItem",
4043
+ {
4044
+ "base_ref": NotRequired["str"],
4045
+ "completed_at": NotRequired["str"],
4046
+ "created_at": Required["str"],
4047
+ "error": NotRequired["GithubAgentTasksGetTaskByIdOutputSessionsItemError"],
4048
+ "head_ref": NotRequired["str"],
4049
+ "id": Required["str"],
4050
+ "model": NotRequired["str"],
4051
+ "name": NotRequired["str"],
4052
+ "owner": NotRequired["GithubAgentTasksGetTaskByIdOutputSessionsItemOwner"],
4053
+ "prompt": NotRequired["str"],
4054
+ "repository": NotRequired["GithubAgentTasksGetTaskByIdOutputSessionsItemRepository"],
4055
+ "state": Required["str"],
4056
+ "task_id": NotRequired["str"],
4057
+ "updated_at": NotRequired["str"],
4058
+ "usage": NotRequired["GithubAgentTasksGetTaskByIdOutputSessionsItemUsage"],
4059
+ "user": NotRequired["GithubAgentTasksGetTaskByIdOutputSessionsItemUser"],
4060
+ },
4061
+ total=False,
4062
+ )
4063
+ GithubAgentTasksGetTaskByIdOutputSessionsItemError = TypedDict(
4064
+ "GithubAgentTasksGetTaskByIdOutputSessionsItemError",
4065
+ {"message": NotRequired["str"]},
4066
+ total=False,
4067
+ )
4068
+ GithubAgentTasksGetTaskByIdOutputSessionsItemOwner = TypedDict(
4069
+ "GithubAgentTasksGetTaskByIdOutputSessionsItemOwner",
4070
+ {"id": NotRequired["int | str"]},
4071
+ total=False,
4072
+ )
4073
+ GithubAgentTasksGetTaskByIdOutputSessionsItemRepository = TypedDict(
4074
+ "GithubAgentTasksGetTaskByIdOutputSessionsItemRepository",
4075
+ {"id": NotRequired["int | str"]},
4076
+ total=False,
4077
+ )
4078
+ GithubAgentTasksGetTaskByIdOutputSessionsItemUsage = TypedDict(
4079
+ "GithubAgentTasksGetTaskByIdOutputSessionsItemUsage",
4080
+ {"amount": Required["float | str"], "type": Required["str"]},
4081
+ total=False,
4082
+ )
4083
+ GithubAgentTasksGetTaskByIdOutputSessionsItemUser = TypedDict(
4084
+ "GithubAgentTasksGetTaskByIdOutputSessionsItemUser",
4085
+ {"id": NotRequired["int | str"]},
4086
+ total=False,
4087
+ )
4088
+ GithubAgentTasksGetTaskByIdOutputUserCollaboratorsItem = TypedDict(
4089
+ "GithubAgentTasksGetTaskByIdOutputUserCollaboratorsItem",
4090
+ {"id": NotRequired["int | str"]},
4091
+ total=False,
4092
+ )
4093
+ GithubAgentTasksGetTaskByRepoAndIdInput = TypedDict(
4094
+ "GithubAgentTasksGetTaskByRepoAndIdInput",
4095
+ {"path": Required["GithubAgentTasksGetTaskByRepoAndIdInputPath"]},
4096
+ total=False,
4097
+ )