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,4726 @@
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, Union
6
+
7
+ if TYPE_CHECKING:
8
+ from alter_sdk_github._github_models_00 import AddedToProjectIssueEvent
9
+ from alter_sdk_github._github_models_00 import AlertCreatedAt
10
+ from alter_sdk_github._github_models_00 import AlertHtmlUrl
11
+ from alter_sdk_github._github_models_00 import AlertNumber
12
+ from alter_sdk_github._github_models_00 import AlertUrl
13
+ from alter_sdk_github._github_models_00 import AppPermissions
14
+ from alter_sdk_github._github_models_00 import AssignedIssueEvent
15
+ from alter_sdk_github._github_models_00 import AuthorAssociation
16
+ from alter_sdk_github._github_models_00 import BlockedByAddedIssueEvent
17
+ from alter_sdk_github._github_models_00 import BlockedByRemovedIssueEvent
18
+ from alter_sdk_github._github_models_00 import BlockingAddedIssueEvent
19
+ from alter_sdk_github._github_models_00 import BlockingRemovedIssueEvent
20
+ from alter_sdk_github._github_models_00 import CodeOfConduct
21
+ from alter_sdk_github._github_models_00 import ConvertedNoteToIssueIssueEvent
22
+ from alter_sdk_github._github_models_00 import CustomPropertyValue
23
+ from alter_sdk_github._github_models_00 import DemilestonedIssueEvent
24
+ from alter_sdk_github._github_models_00 import Dependency
25
+ from alter_sdk_github._github_models_01 import Enterprise
26
+ from alter_sdk_github._github_models_14 import OutputcodeScanningAutofixStartedAt
27
+ from alter_sdk_github._github_models_14 import OutputcodeScanningAutofixStatus
28
+ from alter_sdk_github._github_models_14 import OutputcodeScanningRef
29
+ from alter_sdk_github._github_models_14 import Outputcommit
30
+ from alter_sdk_github._github_models_14 import OutputdeploymentSimple
31
+ from alter_sdk_github._github_models_14 import OutputenabledRepositories
32
+ from alter_sdk_github._github_models_14 import Outputintegration
33
+ from alter_sdk_github._github_models_14 import OutputminimalRepository
34
+ from alter_sdk_github._github_models_14 import OutputnullableActionsHostedRunnerPoolImage
35
+ from alter_sdk_github._github_models_14 import OutputnullableIntegration
36
+ from alter_sdk_github._github_models_14 import OutputnullableIssueEventIntent
37
+ from alter_sdk_github._github_models_14 import OutputnullableIssueReference
38
+ from alter_sdk_github._github_models_14 import OutputnullableSimpleUser
39
+ from alter_sdk_github._github_models_15 import OutputprotectedBranchAdminEnforced
40
+ from alter_sdk_github._github_models_15 import OutputprotectedBranchPullRequestReview
41
+ from alter_sdk_github._github_models_15 import OutputprotectedBranchRequiredStatusCheck
42
+ from alter_sdk_github._github_models_15 import OutputpublicIp
43
+ from alter_sdk_github._github_models_15 import OutputpullRequestMinimal
44
+ from alter_sdk_github._github_models_15 import OutputpullRequestSimple
45
+ from alter_sdk_github._github_models_15 import Outputrepository
46
+ from alter_sdk_github._github_models_15 import OutputrepositoryRuleEnforcement
47
+ from alter_sdk_github._github_models_15 import OutputselectedActionsUrl
48
+ from alter_sdk_github._github_models_15 import OutputshaPinningRequired
49
+ from alter_sdk_github._github_models_15 import OutputsimpleCommit
50
+ from alter_sdk_github._github_models_15 import OutputsimpleUser
51
+ from alter_sdk_github._github_models_15 import Outputteam
52
+ from alter_sdk_github._github_models_15 import Outputtraffic
53
+ from alter_sdk_github._github_models_16 import ParentIssueAddedIssueEvent
54
+ from alter_sdk_github._github_models_16 import ParentIssueRemovedIssueEvent
55
+ from alter_sdk_github._github_models_16 import ReactionRollup
56
+ from alter_sdk_github._github_models_16 import RemovedFromProjectIssueEvent
57
+ from alter_sdk_github._github_models_16 import RenamedIssueEvent
58
+ from alter_sdk_github._github_models_16 import Repository
59
+ from alter_sdk_github._github_models_16 import RepositoryRuleBranchNamePattern
60
+ from alter_sdk_github._github_models_16 import RepositoryRuleCodeScanning
61
+ from alter_sdk_github._github_models_16 import RepositoryRuleCommitAuthorEmailPattern
62
+ from alter_sdk_github._github_models_16 import RepositoryRuleCommitMessagePattern
63
+ from alter_sdk_github._github_models_16 import RepositoryRuleCommitterEmailPattern
64
+ from alter_sdk_github._github_models_16 import RepositoryRuleCopilotCodeReview
65
+ from alter_sdk_github._github_models_16 import RepositoryRuleCreation
66
+ from alter_sdk_github._github_models_16 import RepositoryRuleDeletion
67
+ from alter_sdk_github._github_models_16 import RepositoryRuleFileExtensionRestriction
68
+ from alter_sdk_github._github_models_16 import RepositoryRuleFilePathRestriction
69
+ from alter_sdk_github._github_models_16 import RepositoryRuleMaxFilePathLength
70
+ from alter_sdk_github._github_models_16 import RepositoryRuleMaxFileSize
71
+ from alter_sdk_github._github_models_16 import RepositoryRuleNonFastForward
72
+ from alter_sdk_github._github_models_16 import RepositoryRulePullRequest
73
+ from alter_sdk_github._github_models_16 import RepositoryRuleRequiredDeployments
74
+ from alter_sdk_github._github_models_16 import RepositoryRuleRequiredLinearHistory
75
+ from alter_sdk_github._github_models_16 import RepositoryRuleRequiredSignatures
76
+ from alter_sdk_github._github_models_16 import RepositoryRuleRequiredStatusChecks
77
+ from alter_sdk_github._github_models_16 import RepositoryRuleTagNamePattern
78
+ from alter_sdk_github._github_models_16 import RepositoryRuleUpdate
79
+ from alter_sdk_github._github_models_16 import RepositoryRuleWorkflows
80
+ from alter_sdk_github._github_models_16 import ReviewDismissedIssueEvent
81
+ from alter_sdk_github._github_models_16 import ReviewRequestRemovedIssueEvent
82
+ from alter_sdk_github._github_models_16 import ReviewRequestedIssueEvent
83
+ from alter_sdk_github._github_models_16 import SearchResultTextMatches
84
+ from alter_sdk_github._github_models_16 import SecretScanningAlertResolution
85
+ from alter_sdk_github._github_models_16 import SecretScanningAlertState
86
+ from alter_sdk_github._github_models_16 import SecretScanningLocationCommit
87
+ from alter_sdk_github._github_models_16 import SecretScanningLocationDiscussionBody
88
+ from alter_sdk_github._github_models_16 import SecretScanningLocationDiscussionComment
89
+ from alter_sdk_github._github_models_16 import SecretScanningLocationDiscussionTitle
90
+ from alter_sdk_github._github_models_16 import SecretScanningLocationIssueBody
91
+ from alter_sdk_github._github_models_16 import SecretScanningLocationIssueComment
92
+ from alter_sdk_github._github_models_16 import SecretScanningLocationIssueTitle
93
+ from alter_sdk_github._github_models_16 import SecretScanningLocationPullRequestBody
94
+ from alter_sdk_github._github_models_16 import SecretScanningLocationPullRequestComment
95
+ from alter_sdk_github._github_models_16 import SecretScanningLocationPullRequestReview
96
+ from alter_sdk_github._github_models_16 import SecretScanningLocationPullRequestReviewComment
97
+ from alter_sdk_github._github_models_16 import SecretScanningLocationPullRequestTitle
98
+ from alter_sdk_github._github_models_16 import SecretScanningLocationWikiCommit
99
+ from alter_sdk_github._github_models_16 import SecurityAndAnalysis
100
+ from alter_sdk_github._github_models_16 import SimpleCommit
101
+ from alter_sdk_github._github_models_16 import SimpleRepository
102
+ from alter_sdk_github._github_models_16 import SimpleUser
103
+ from alter_sdk_github._github_models_17 import SubIssueAddedIssueEvent
104
+ from alter_sdk_github._github_models_17 import SubIssueRemovedIssueEvent
105
+ from alter_sdk_github._github_models_17 import SubIssuesSummary
106
+ from alter_sdk_github._github_models_17 import Team
107
+ from alter_sdk_github._github_models_17 import UnassignedIssueEvent
108
+ from alter_sdk_github._github_models_17 import UnlabeledIssueEvent
109
+ from alter_sdk_github._github_models_17 import WebhookConfig
110
+
111
+ GollumEventPagesItem = TypedDict(
112
+ "GollumEventPagesItem",
113
+ {
114
+ "action": NotRequired["str"],
115
+ "html_url": NotRequired["str"],
116
+ "page_name": NotRequired["str | None"],
117
+ "sha": NotRequired["str"],
118
+ "summary": NotRequired["str | None"],
119
+ "title": NotRequired["str | None"],
120
+ },
121
+ total=False,
122
+ )
123
+ GpgKey = TypedDict(
124
+ "GpgKey",
125
+ {
126
+ "can_certify": Required["bool"],
127
+ "can_encrypt_comms": Required["bool"],
128
+ "can_encrypt_storage": Required["bool"],
129
+ "can_sign": Required["bool"],
130
+ "created_at": Required["str"],
131
+ "emails": Required["list[GpgKeyEmailsItem]"],
132
+ "expires_at": Required["str | None"],
133
+ "id": Required["int"],
134
+ "key_id": Required["str"],
135
+ "name": NotRequired["str | None"],
136
+ "primary_key_id": Required["int | None"],
137
+ "public_key": Required["str"],
138
+ "raw_key": Required["str | None"],
139
+ "revoked": Required["bool"],
140
+ "subkeys": Required["list[GpgKeySubkeysItem]"],
141
+ },
142
+ total=False,
143
+ )
144
+ GpgKeyEmailsItem = TypedDict(
145
+ "GpgKeyEmailsItem", {"email": NotRequired["str"], "verified": NotRequired["bool"]}, total=False
146
+ )
147
+ GpgKeySubkeysItem = TypedDict(
148
+ "GpgKeySubkeysItem",
149
+ {
150
+ "can_certify": NotRequired["bool"],
151
+ "can_encrypt_comms": NotRequired["bool"],
152
+ "can_encrypt_storage": NotRequired["bool"],
153
+ "can_sign": NotRequired["bool"],
154
+ "created_at": NotRequired["str"],
155
+ "emails": NotRequired["list[GpgKeySubkeysItemEmailsItem]"],
156
+ "expires_at": NotRequired["str | None"],
157
+ "id": NotRequired["int"],
158
+ "key_id": NotRequired["str"],
159
+ "primary_key_id": NotRequired["int"],
160
+ "public_key": NotRequired["str"],
161
+ "raw_key": NotRequired["str | None"],
162
+ "revoked": NotRequired["bool"],
163
+ "subkeys": NotRequired["list[Any]"],
164
+ },
165
+ total=False,
166
+ )
167
+ GpgKeySubkeysItemEmailsItem = TypedDict(
168
+ "GpgKeySubkeysItemEmailsItem",
169
+ {"email": NotRequired["str"], "verified": NotRequired["bool"]},
170
+ total=False,
171
+ )
172
+ Hook = TypedDict(
173
+ "Hook",
174
+ {
175
+ "active": Required["bool"],
176
+ "config": Required["WebhookConfig"],
177
+ "created_at": Required["str"],
178
+ "deliveries_url": NotRequired["str"],
179
+ "events": Required["list[str]"],
180
+ "id": Required["int"],
181
+ "last_response": Required["HookResponse"],
182
+ "name": Required["str"],
183
+ "ping_url": Required["str"],
184
+ "test_url": Required["str"],
185
+ "type": Required["str"],
186
+ "updated_at": Required["str"],
187
+ "url": Required["str"],
188
+ },
189
+ total=False,
190
+ )
191
+ HookDelivery = TypedDict(
192
+ "HookDelivery",
193
+ {
194
+ "action": Required["str | None"],
195
+ "delivered_at": Required["str"],
196
+ "duration": Required["float"],
197
+ "event": Required["str"],
198
+ "guid": Required["str"],
199
+ "id": Required["int"],
200
+ "installation_id": Required["int | None"],
201
+ "redelivery": Required["bool"],
202
+ "repository_id": Required["int | None"],
203
+ "request": Required["HookDeliveryRequest"],
204
+ "response": Required["HookDeliveryResponse"],
205
+ "status": Required["str"],
206
+ "status_code": Required["int"],
207
+ "throttled_at": NotRequired["str | None"],
208
+ "url": NotRequired["str"],
209
+ },
210
+ total=False,
211
+ )
212
+ HookDeliveryItem = TypedDict(
213
+ "HookDeliveryItem",
214
+ {
215
+ "action": Required["str | None"],
216
+ "delivered_at": Required["str"],
217
+ "duration": Required["float"],
218
+ "event": Required["str"],
219
+ "guid": Required["str"],
220
+ "id": Required["int"],
221
+ "installation_id": Required["int | None"],
222
+ "redelivery": Required["bool"],
223
+ "repository_id": Required["int | None"],
224
+ "status": Required["str"],
225
+ "status_code": Required["int"],
226
+ "throttled_at": NotRequired["str | None"],
227
+ },
228
+ total=False,
229
+ )
230
+ HookDeliveryRequest = TypedDict(
231
+ "HookDeliveryRequest",
232
+ {
233
+ "headers": Required["dict[str, object] | None"],
234
+ "payload": Required["dict[str, object] | None"],
235
+ },
236
+ total=False,
237
+ )
238
+ HookDeliveryResponse = TypedDict(
239
+ "HookDeliveryResponse",
240
+ {"headers": Required["dict[str, object] | None"], "payload": Required["str | None"]},
241
+ total=False,
242
+ )
243
+ HookResponse = TypedDict(
244
+ "HookResponse",
245
+ {
246
+ "code": Required["int | None"],
247
+ "message": Required["str | None"],
248
+ "status": Required["str | None"],
249
+ },
250
+ total=False,
251
+ )
252
+ Hovercard = TypedDict(
253
+ "Hovercard", {"contexts": Required["list[HovercardContextsItem]"]}, total=False
254
+ )
255
+ HovercardContextsItem = TypedDict(
256
+ "HovercardContextsItem", {"message": Required["str"], "octicon": Required["str"]}, total=False
257
+ )
258
+ ImmutableReleasesOrganizationSettings = TypedDict(
259
+ "ImmutableReleasesOrganizationSettings",
260
+ {
261
+ "enforced_repositories": Required["Literal['all', 'none', 'selected']"],
262
+ "selected_repositories_url": NotRequired["str"],
263
+ },
264
+ total=False,
265
+ )
266
+ Import = TypedDict(
267
+ "Import",
268
+ {
269
+ "authors_count": NotRequired["int | None"],
270
+ "authors_url": Required["str"],
271
+ "commit_count": NotRequired["int | None"],
272
+ "error_message": NotRequired["str | None"],
273
+ "failed_step": NotRequired["str | None"],
274
+ "has_large_files": NotRequired["bool"],
275
+ "html_url": Required["str"],
276
+ "import_percent": NotRequired["int | None"],
277
+ "large_files_count": NotRequired["int"],
278
+ "large_files_size": NotRequired["int"],
279
+ "message": NotRequired["str"],
280
+ "project_choices": NotRequired["list[ImportProjectChoicesItem]"],
281
+ "push_percent": NotRequired["int | None"],
282
+ "repository_url": Required["str"],
283
+ "status": Required[
284
+ "Literal['auth', 'error', 'none', 'detecting', 'choose', 'auth_failed', 'importing', 'mapping', 'waiting_to_push', 'pushing', 'complete', 'setup', 'unknown', 'detection_found_multiple', 'detection_found_nothing', 'detection_needs_auth']"
285
+ ],
286
+ "status_text": NotRequired["str | None"],
287
+ "svc_root": NotRequired["str"],
288
+ "svn_root": NotRequired["str"],
289
+ "tfvc_project": NotRequired["str"],
290
+ "url": Required["str"],
291
+ "use_lfs": NotRequired["bool"],
292
+ "vcs": Required["str | None"],
293
+ "vcs_url": Required["str"],
294
+ },
295
+ total=False,
296
+ )
297
+ ImportProjectChoicesItem = TypedDict(
298
+ "ImportProjectChoicesItem",
299
+ {
300
+ "human_name": NotRequired["str"],
301
+ "tfvc_project": NotRequired["str"],
302
+ "vcs": NotRequired["str"],
303
+ },
304
+ total=False,
305
+ )
306
+ Installation = TypedDict(
307
+ "Installation",
308
+ {
309
+ "access_tokens_url": Required["str"],
310
+ "account": Required["Union[SimpleUser | Enterprise, None]"],
311
+ "app_id": Required["int"],
312
+ "app_slug": Required["str"],
313
+ "client_id": NotRequired["str"],
314
+ "contact_email": NotRequired["str | None"],
315
+ "created_at": Required["str"],
316
+ "events": Required["list[str]"],
317
+ "has_multiple_single_files": NotRequired["bool"],
318
+ "html_url": Required["str"],
319
+ "id": Required["int"],
320
+ "permissions": Required["AppPermissions"],
321
+ "repositories_url": Required["str"],
322
+ "repository_selection": Required["Literal['all', 'selected']"],
323
+ "single_file_name": Required["str | None"],
324
+ "single_file_paths": NotRequired["list[str]"],
325
+ "suspended_at": Required["str | None"],
326
+ "suspended_by": Required["NullableSimpleUser"],
327
+ "target_id": Required["int"],
328
+ "target_type": Required["str"],
329
+ "updated_at": Required["str"],
330
+ },
331
+ total=False,
332
+ )
333
+ InstallationToken = TypedDict(
334
+ "InstallationToken",
335
+ {
336
+ "expires_at": Required["str"],
337
+ "has_multiple_single_files": NotRequired["bool"],
338
+ "permissions": NotRequired["AppPermissions"],
339
+ "repositories": NotRequired["list[Repository]"],
340
+ "repository_selection": NotRequired["Literal['all', 'selected']"],
341
+ "single_file": NotRequired["str"],
342
+ "single_file_paths": NotRequired["list[str]"],
343
+ "token": Required["str"],
344
+ },
345
+ total=False,
346
+ )
347
+ Integration: TypeAlias = "IntegrationVariant0 | None"
348
+ IntegrationInstallationRequest = TypedDict(
349
+ "IntegrationInstallationRequest",
350
+ {
351
+ "account": Required["SimpleUser | Enterprise"],
352
+ "created_at": Required["str"],
353
+ "id": Required["int"],
354
+ "node_id": NotRequired["str"],
355
+ "requester": Required["SimpleUser"],
356
+ },
357
+ total=False,
358
+ )
359
+ IntegrationVariant0 = TypedDict(
360
+ "IntegrationVariant0",
361
+ {
362
+ "client_id": NotRequired["str"],
363
+ "created_at": Required["str"],
364
+ "description": Required["str | None"],
365
+ "events": Required["list[str]"],
366
+ "external_url": Required["str"],
367
+ "html_url": Required["str"],
368
+ "id": Required["int"],
369
+ "installations_count": NotRequired["int"],
370
+ "name": Required["str"],
371
+ "node_id": Required["str"],
372
+ "owner": Required["SimpleUser | Enterprise"],
373
+ "permissions": Required["IntegrationVariant0Permissions"],
374
+ "slug": NotRequired["str"],
375
+ "updated_at": Required["str"],
376
+ },
377
+ total=False,
378
+ )
379
+ IntegrationVariant0Permissions = TypedDict(
380
+ "IntegrationVariant0Permissions",
381
+ {
382
+ "checks": NotRequired["str"],
383
+ "contents": NotRequired["str"],
384
+ "deployments": NotRequired["str"],
385
+ "issues": NotRequired["str"],
386
+ "metadata": NotRequired["str"],
387
+ },
388
+ total=False,
389
+ )
390
+ InteractionExpiry: TypeAlias = (
391
+ "Literal['one_day', 'three_days', 'one_week', 'one_month', 'six_months']"
392
+ )
393
+ InteractionGroup: TypeAlias = "Literal['existing_users', 'contributors_only', 'collaborators_only']"
394
+ InteractionLimit = TypedDict(
395
+ "InteractionLimit",
396
+ {"expiry": NotRequired["InteractionExpiry"], "limit": Required["InteractionGroup"]},
397
+ total=False,
398
+ )
399
+ InteractionLimitPullRequestBypassList = TypedDict(
400
+ "InteractionLimitPullRequestBypassList", {"users": Required["list[str]"]}, total=False
401
+ )
402
+ InteractionLimitResponse = TypedDict(
403
+ "InteractionLimitResponse",
404
+ {
405
+ "expires_at": Required["str"],
406
+ "limit": Required["InteractionGroup"],
407
+ "origin": Required["str"],
408
+ },
409
+ total=False,
410
+ )
411
+ Issue = TypedDict(
412
+ "Issue",
413
+ {
414
+ "active_lock_reason": NotRequired["str | None"],
415
+ "assignees": NotRequired["list[SimpleUser]"],
416
+ "author_association": NotRequired["AuthorAssociation"],
417
+ "body": NotRequired["str | None"],
418
+ "body_html": NotRequired["str"],
419
+ "body_text": NotRequired["str"],
420
+ "closed_at": Required["str | None"],
421
+ "closed_by": NotRequired["NullableSimpleUser"],
422
+ "comments": Required["int"],
423
+ "comments_url": Required["str"],
424
+ "created_at": Required["str"],
425
+ "draft": NotRequired["bool"],
426
+ "events_url": Required["str"],
427
+ "html_url": Required["str"],
428
+ "id": Required["int"],
429
+ "issue_dependencies_summary": NotRequired["IssueDependenciesSummary"],
430
+ "issue_field_values": NotRequired["list[IssueFieldValue]"],
431
+ "labels": Required["list[str | IssueLabelsItemVariant1]"],
432
+ "labels_url": Required["str"],
433
+ "locked": Required["bool"],
434
+ "milestone": Required["NullableMilestone"],
435
+ "node_id": Required["str"],
436
+ "number": Required["int"],
437
+ "parent_issue_url": NotRequired["str | None"],
438
+ "performed_via_github_app": NotRequired["NullableIntegration"],
439
+ "pinned_comment": NotRequired["NullableIssueComment"],
440
+ "pull_request": NotRequired["IssuePullRequest"],
441
+ "reactions": NotRequired["ReactionRollup"],
442
+ "repository": NotRequired["Repository"],
443
+ "repository_url": Required["str"],
444
+ "state": Required["str"],
445
+ "state_reason": NotRequired[
446
+ "Literal['completed', 'reopened', 'not_planned', 'duplicate'] | None"
447
+ ],
448
+ "sub_issues_summary": NotRequired["SubIssuesSummary"],
449
+ "timeline_url": NotRequired["str"],
450
+ "title": Required["str"],
451
+ "type": NotRequired["IssueType"],
452
+ "updated_at": Required["str"],
453
+ "url": Required["str"],
454
+ "user": Required["NullableSimpleUser"],
455
+ },
456
+ total=False,
457
+ )
458
+ IssueArtifact = TypedDict(
459
+ "IssueArtifact",
460
+ {
461
+ "body": Required["str"],
462
+ "body_html": Required["str | None"],
463
+ "created_at": Required["str | None"],
464
+ "creator": Required["IssueArtifactCreatorVariant0 | None"],
465
+ "description": Required["str"],
466
+ "html_url": NotRequired["str"],
467
+ "id": Required["int"],
468
+ "name": Required["str"],
469
+ "number": Required["int"],
470
+ "type": Required["str"],
471
+ "updated_at": Required["str | None"],
472
+ "updated_by_actor": Required["IssueArtifactUpdatedByActorVariant0 | None"],
473
+ },
474
+ total=False,
475
+ )
476
+ IssueArtifactCreatorVariant0 = TypedDict(
477
+ "IssueArtifactCreatorVariant0", {"id": Required["int"], "login": Required["str"]}, total=False
478
+ )
479
+ IssueArtifactUpdatedByActorVariant0 = TypedDict(
480
+ "IssueArtifactUpdatedByActorVariant0",
481
+ {"id": Required["int"], "login": Required["str"]},
482
+ total=False,
483
+ )
484
+ IssueComment = TypedDict(
485
+ "IssueComment",
486
+ {
487
+ "author_association": NotRequired["AuthorAssociation"],
488
+ "body": NotRequired["str"],
489
+ "body_html": NotRequired["str"],
490
+ "body_text": NotRequired["str"],
491
+ "created_at": Required["str"],
492
+ "html_url": Required["str"],
493
+ "id": Required["int"],
494
+ "issue_url": Required["str"],
495
+ "minimized": NotRequired["NullableIssueCommentMinimized"],
496
+ "node_id": Required["str"],
497
+ "performed_via_github_app": NotRequired["NullableIntegration"],
498
+ "pin": NotRequired["NullablePinnedIssueComment"],
499
+ "reactions": NotRequired["ReactionRollup"],
500
+ "updated_at": Required["str"],
501
+ "url": Required["str"],
502
+ "user": Required["NullableSimpleUser"],
503
+ },
504
+ total=False,
505
+ )
506
+ IssueCommentEvent = TypedDict(
507
+ "IssueCommentEvent",
508
+ {"action": Required["str"], "comment": Required["IssueComment"], "issue": Required["Issue"]},
509
+ total=False,
510
+ )
511
+ IssueDependenciesSummary = TypedDict(
512
+ "IssueDependenciesSummary",
513
+ {
514
+ "blocked_by": Required["int"],
515
+ "blocking": Required["int"],
516
+ "total_blocked_by": Required["int"],
517
+ "total_blocking": Required["int"],
518
+ },
519
+ total=False,
520
+ )
521
+ IssueEvent = TypedDict(
522
+ "IssueEvent",
523
+ {
524
+ "actor": Required["NullableSimpleUser"],
525
+ "assignee": NotRequired["NullableSimpleUser"],
526
+ "assigner": NotRequired["NullableSimpleUser"],
527
+ "author_association": NotRequired["AuthorAssociation"],
528
+ "blocked_by": NotRequired["NullableIssueReference"],
529
+ "blocking": NotRequired["NullableIssueReference"],
530
+ "commit_id": Required["str | None"],
531
+ "commit_url": Required["str | None"],
532
+ "created_at": Required["str"],
533
+ "dismissed_review": NotRequired["IssueEventDismissedReview"],
534
+ "event": Required["str"],
535
+ "id": Required["int"],
536
+ "intent": NotRequired["NullableIssueEventIntent"],
537
+ "issue": NotRequired["NullableIssue"],
538
+ "issue_type": NotRequired["IssueTypeWebhook"],
539
+ "label": NotRequired["IssueEventLabel"],
540
+ "lock_reason": NotRequired["str | None"],
541
+ "milestone": NotRequired["IssueEventMilestone"],
542
+ "node_id": Required["str"],
543
+ "parent_issue": NotRequired["NullableIssueReference"],
544
+ "performed_via_github_app": NotRequired["NullableIntegration"],
545
+ "prev_issue_type": NotRequired["IssueTypeWebhook"],
546
+ "project_card": NotRequired["IssueEventProjectCard"],
547
+ "rename": NotRequired["IssueEventRename"],
548
+ "requested_reviewer": NotRequired["NullableSimpleUser"],
549
+ "requested_team": NotRequired["Team"],
550
+ "review_requester": NotRequired["NullableSimpleUser"],
551
+ "sub_issue": NotRequired["NullableIssueReference"],
552
+ "url": Required["str"],
553
+ },
554
+ total=False,
555
+ )
556
+ IssueEventDismissedReview = TypedDict(
557
+ "IssueEventDismissedReview",
558
+ {
559
+ "dismissal_commit_id": NotRequired["str | None"],
560
+ "dismissal_message": Required["str | None"],
561
+ "review_id": Required["int"],
562
+ "state": Required["str"],
563
+ },
564
+ total=False,
565
+ )
566
+ IssueEventForIssue: TypeAlias = "LabeledIssueEvent | UnlabeledIssueEvent | AssignedIssueEvent | UnassignedIssueEvent | MilestonedIssueEvent | DemilestonedIssueEvent | RenamedIssueEvent | ReviewRequestedIssueEvent | ReviewRequestRemovedIssueEvent | ReviewDismissedIssueEvent | LockedIssueEvent | AddedToProjectIssueEvent | MovedColumnInProjectIssueEvent | RemovedFromProjectIssueEvent | ConvertedNoteToIssueIssueEvent | IssueTypeAddedIssueEvent | IssueTypeRemovedIssueEvent | IssueTypeChangedIssueEvent | SubIssueAddedIssueEvent | SubIssueRemovedIssueEvent | ParentIssueAddedIssueEvent | ParentIssueRemovedIssueEvent | BlockedByAddedIssueEvent | BlockedByRemovedIssueEvent | BlockingAddedIssueEvent | BlockingRemovedIssueEvent"
567
+ IssueEventLabel = TypedDict(
568
+ "IssueEventLabel",
569
+ {"color": Required["str | None"], "name": Required["str | None"]},
570
+ total=False,
571
+ )
572
+ IssueEventMilestone = TypedDict("IssueEventMilestone", {"title": Required["str"]}, total=False)
573
+ IssueEventProjectCard = TypedDict(
574
+ "IssueEventProjectCard",
575
+ {
576
+ "column_name": Required["str"],
577
+ "id": Required["int"],
578
+ "previous_column_name": NotRequired["str"],
579
+ "project_id": Required["int"],
580
+ "project_url": Required["str"],
581
+ "url": Required["str"],
582
+ },
583
+ total=False,
584
+ )
585
+ IssueEventRename = TypedDict(
586
+ "IssueEventRename", {"from": Required["str"], "to": Required["str"]}, total=False
587
+ )
588
+ IssueField: TypeAlias = "IssueFieldVariant0 | None"
589
+ IssueFieldValue = TypedDict(
590
+ "IssueFieldValue",
591
+ {
592
+ "data_type": Required["Literal['text', 'single_select', 'multi_select', 'number', 'date']"],
593
+ "issue_field_id": Required["int"],
594
+ "issue_field_name": NotRequired["str"],
595
+ "multi_select_options": NotRequired[
596
+ "list[IssueFieldValueMultiSelectOptionsVariant0Item] | None"
597
+ ],
598
+ "node_id": Required["str"],
599
+ "single_select_option": NotRequired["IssueFieldValueSingleSelectOptionVariant0 | None"],
600
+ "value": Required["Union[str | float | int, None]"],
601
+ },
602
+ total=False,
603
+ )
604
+ IssueFieldValueMultiSelectOptionsVariant0Item = TypedDict(
605
+ "IssueFieldValueMultiSelectOptionsVariant0Item",
606
+ {"color": Required["str"], "id": Required["int"], "name": Required["str"]},
607
+ total=False,
608
+ )
609
+ IssueFieldValueSingleSelectOptionVariant0 = TypedDict(
610
+ "IssueFieldValueSingleSelectOptionVariant0",
611
+ {"color": Required["str"], "id": Required["int"], "name": Required["str"]},
612
+ total=False,
613
+ )
614
+ IssueFieldVariant0 = TypedDict(
615
+ "IssueFieldVariant0",
616
+ {
617
+ "created_at": NotRequired["str"],
618
+ "data_type": Required["Literal['text', 'date', 'single_select', 'multi_select', 'number']"],
619
+ "description": NotRequired["str | None"],
620
+ "id": Required["int"],
621
+ "name": Required["str"],
622
+ "node_id": Required["str"],
623
+ "options": NotRequired["list[IssueFieldVariant0OptionsVariant0Item] | None"],
624
+ "updated_at": NotRequired["str"],
625
+ "visibility": NotRequired["Literal['organization_members_only', 'all']"],
626
+ },
627
+ total=False,
628
+ )
629
+ IssueFieldVariant0OptionsVariant0Item = TypedDict(
630
+ "IssueFieldVariant0OptionsVariant0Item",
631
+ {
632
+ "color": NotRequired[
633
+ "Literal['gray', 'blue', 'green', 'yellow', 'orange', 'red', 'pink', 'purple'] | None"
634
+ ],
635
+ "created_at": NotRequired["str"],
636
+ "description": NotRequired["str | None"],
637
+ "id": Required["int"],
638
+ "name": Required["str"],
639
+ "priority": NotRequired["int | None"],
640
+ "updated_at": NotRequired["str"],
641
+ },
642
+ total=False,
643
+ )
644
+ IssueLabelsItemVariant1 = TypedDict(
645
+ "IssueLabelsItemVariant1",
646
+ {
647
+ "archived_by": NotRequired["IssueLabelsItemVariant1ArchivedByVariant0 | None"],
648
+ "color": NotRequired["str | None"],
649
+ "default": NotRequired["bool"],
650
+ "description": NotRequired["str | None"],
651
+ "id": NotRequired["int"],
652
+ "name": NotRequired["str"],
653
+ "node_id": NotRequired["str"],
654
+ "url": NotRequired["str"],
655
+ },
656
+ total=False,
657
+ )
658
+ IssueLabelsItemVariant1ArchivedByVariant0 = TypedDict(
659
+ "IssueLabelsItemVariant1ArchivedByVariant0",
660
+ {
661
+ "avatar_url": Required["str"],
662
+ "email": NotRequired["str | None"],
663
+ "events_url": Required["str"],
664
+ "followers_url": Required["str"],
665
+ "following_url": Required["str"],
666
+ "gists_url": Required["str"],
667
+ "gravatar_id": Required["str | None"],
668
+ "html_url": Required["str"],
669
+ "id": Required["int"],
670
+ "login": Required["str"],
671
+ "name": NotRequired["str | None"],
672
+ "node_id": Required["str"],
673
+ "organizations_url": Required["str"],
674
+ "received_events_url": Required["str"],
675
+ "repos_url": Required["str"],
676
+ "site_admin": Required["bool"],
677
+ "starred_at": NotRequired["str"],
678
+ "starred_url": Required["str"],
679
+ "subscriptions_url": Required["str"],
680
+ "type": Required["str"],
681
+ "url": Required["str"],
682
+ "user_view_type": NotRequired["str"],
683
+ },
684
+ total=False,
685
+ )
686
+ IssuePullRequest = TypedDict(
687
+ "IssuePullRequest",
688
+ {
689
+ "diff_url": Required["str"],
690
+ "html_url": Required["str"],
691
+ "merged_at": NotRequired["str"],
692
+ "patch_url": Required["str"],
693
+ "url": Required["str"],
694
+ },
695
+ total=False,
696
+ )
697
+ IssueReference: TypeAlias = "IssueReferenceVariant0 | None"
698
+ IssueReferenceVariant0 = TypedDict(
699
+ "IssueReferenceVariant0",
700
+ {
701
+ "issue_type": Required["IssueReferenceVariant0IssueTypeVariant0 | None"],
702
+ "number": Required["int"],
703
+ "repository": Required["SimpleRepository"],
704
+ "state": Required["str"],
705
+ "state_reason": NotRequired["str | None"],
706
+ "title": Required["str"],
707
+ },
708
+ total=False,
709
+ )
710
+ IssueReferenceVariant0IssueTypeVariant0 = TypedDict(
711
+ "IssueReferenceVariant0IssueTypeVariant0",
712
+ {
713
+ "color": NotRequired["str | None"],
714
+ "id": Required["int"],
715
+ "name": Required["str"],
716
+ "node_id": Required["str"],
717
+ },
718
+ total=False,
719
+ )
720
+ IssueSearchResultItem = TypedDict(
721
+ "IssueSearchResultItem",
722
+ {
723
+ "active_lock_reason": NotRequired["str | None"],
724
+ "assignees": NotRequired["list[SimpleUser] | None"],
725
+ "author_association": Required["AuthorAssociation"],
726
+ "body": NotRequired["str"],
727
+ "body_html": NotRequired["str"],
728
+ "body_text": NotRequired["str"],
729
+ "closed_at": Required["str | None"],
730
+ "comments": Required["int"],
731
+ "comments_url": Required["str"],
732
+ "created_at": Required["str"],
733
+ "draft": NotRequired["bool"],
734
+ "events_url": Required["str"],
735
+ "html_url": Required["str"],
736
+ "id": Required["int"],
737
+ "issue_dependencies_summary": NotRequired["IssueDependenciesSummary"],
738
+ "issue_field_values": NotRequired["list[IssueFieldValue]"],
739
+ "labels": Required["list[IssueSearchResultItemLabelsItem]"],
740
+ "labels_url": Required["str"],
741
+ "locked": Required["bool"],
742
+ "milestone": Required["NullableMilestone"],
743
+ "node_id": Required["str"],
744
+ "number": Required["int"],
745
+ "performed_via_github_app": NotRequired["NullableIntegration"],
746
+ "pinned_comment": NotRequired["NullableIssueComment"],
747
+ "pull_request": NotRequired["IssueSearchResultItemPullRequest"],
748
+ "reactions": NotRequired["ReactionRollup"],
749
+ "repository": NotRequired["Repository"],
750
+ "repository_url": Required["str"],
751
+ "score": Required["float"],
752
+ "state": Required["str"],
753
+ "state_reason": NotRequired["str | None"],
754
+ "sub_issues_summary": NotRequired["SubIssuesSummary"],
755
+ "text_matches": NotRequired["SearchResultTextMatches"],
756
+ "timeline_url": NotRequired["str"],
757
+ "title": Required["str"],
758
+ "type": NotRequired["IssueType"],
759
+ "updated_at": Required["str"],
760
+ "url": Required["str"],
761
+ "user": Required["NullableSimpleUser"],
762
+ },
763
+ total=False,
764
+ )
765
+ IssueSearchResultItemLabelsItem = TypedDict(
766
+ "IssueSearchResultItemLabelsItem",
767
+ {
768
+ "archived_at": NotRequired["str | None"],
769
+ "archived_by": NotRequired["IssueSearchResultItemLabelsItemArchivedByVariant0 | None"],
770
+ "color": NotRequired["str"],
771
+ "default": NotRequired["bool"],
772
+ "description": NotRequired["str | None"],
773
+ "id": NotRequired["int"],
774
+ "name": NotRequired["str"],
775
+ "node_id": NotRequired["str"],
776
+ "url": NotRequired["str"],
777
+ },
778
+ total=False,
779
+ )
780
+ IssueSearchResultItemLabelsItemArchivedByVariant0 = TypedDict(
781
+ "IssueSearchResultItemLabelsItemArchivedByVariant0",
782
+ {
783
+ "avatar_url": Required["str"],
784
+ "email": NotRequired["str | None"],
785
+ "events_url": Required["str"],
786
+ "followers_url": Required["str"],
787
+ "following_url": Required["str"],
788
+ "gists_url": Required["str"],
789
+ "gravatar_id": Required["str | None"],
790
+ "html_url": Required["str"],
791
+ "id": Required["int"],
792
+ "login": Required["str"],
793
+ "name": NotRequired["str | None"],
794
+ "node_id": Required["str"],
795
+ "organizations_url": Required["str"],
796
+ "received_events_url": Required["str"],
797
+ "repos_url": Required["str"],
798
+ "site_admin": Required["bool"],
799
+ "starred_at": NotRequired["str"],
800
+ "starred_url": Required["str"],
801
+ "subscriptions_url": Required["str"],
802
+ "type": Required["str"],
803
+ "url": Required["str"],
804
+ "user_view_type": NotRequired["str"],
805
+ },
806
+ total=False,
807
+ )
808
+ IssueSearchResultItemPullRequest = TypedDict(
809
+ "IssueSearchResultItemPullRequest",
810
+ {
811
+ "diff_url": Required["str | None"],
812
+ "html_url": Required["str | None"],
813
+ "merged_at": NotRequired["str | None"],
814
+ "patch_url": Required["str | None"],
815
+ "url": Required["str | None"],
816
+ },
817
+ total=False,
818
+ )
819
+ IssueSuggestion = TypedDict(
820
+ "IssueSuggestion",
821
+ {
822
+ "action": Required[
823
+ "Literal['set_type', 'add_label', 'add_field', 'add_assignee', 'close_issue']"
824
+ ],
825
+ "actor_id": Required["int | None"],
826
+ "confidence": Required["Literal['LOW', 'MEDIUM', 'HIGH'] | None"],
827
+ "created_at": Required["str"],
828
+ "id": Required["int"],
829
+ "issue_event_id": Required["int | None"],
830
+ "issue_id": Required["int"],
831
+ "rationale": Required["str | None"],
832
+ "resolved_by": Required["int | None"],
833
+ "state": Required[
834
+ "Literal['pending', 'applied', 'approved', 'dismissed', 'replaced', 'invalidated']"
835
+ ],
836
+ "target_id": Required["int | None"],
837
+ "target_value": Required["Union[str | float | bool | list[str], None]"],
838
+ "updated_at": Required["str"],
839
+ },
840
+ total=False,
841
+ )
842
+ IssueType: TypeAlias = "IssueTypeVariant0 | None"
843
+ IssueTypeAddedIssueEvent = TypedDict(
844
+ "IssueTypeAddedIssueEvent",
845
+ {
846
+ "actor": Required["SimpleUser"],
847
+ "commit_id": Required["str | None"],
848
+ "commit_url": Required["str | None"],
849
+ "created_at": Required["str"],
850
+ "event": Required["str"],
851
+ "id": Required["int"],
852
+ "intent": NotRequired["NullableIssueEventIntent"],
853
+ "issue_type": Required["IssueTypeWebhook"],
854
+ "node_id": Required["str"],
855
+ "performed_via_github_app": Required["NullableIntegration"],
856
+ "url": Required["str"],
857
+ },
858
+ total=False,
859
+ )
860
+ IssueTypeChangedIssueEvent = TypedDict(
861
+ "IssueTypeChangedIssueEvent",
862
+ {
863
+ "actor": Required["SimpleUser"],
864
+ "commit_id": Required["str | None"],
865
+ "commit_url": Required["str | None"],
866
+ "created_at": Required["str"],
867
+ "event": Required["str"],
868
+ "id": Required["int"],
869
+ "intent": NotRequired["NullableIssueEventIntent"],
870
+ "issue_type": Required["IssueTypeWebhook"],
871
+ "node_id": Required["str"],
872
+ "performed_via_github_app": Required["NullableIntegration"],
873
+ "prev_issue_type": Required["IssueTypeWebhook"],
874
+ "url": Required["str"],
875
+ },
876
+ total=False,
877
+ )
878
+ IssueTypeRemovedIssueEvent = TypedDict(
879
+ "IssueTypeRemovedIssueEvent",
880
+ {
881
+ "actor": Required["SimpleUser"],
882
+ "commit_id": Required["str | None"],
883
+ "commit_url": Required["str | None"],
884
+ "created_at": Required["str"],
885
+ "event": Required["str"],
886
+ "id": Required["int"],
887
+ "intent": NotRequired["NullableIssueEventIntent"],
888
+ "node_id": Required["str"],
889
+ "performed_via_github_app": Required["NullableIntegration"],
890
+ "prev_issue_type": Required["IssueTypeWebhook"],
891
+ "url": Required["str"],
892
+ },
893
+ total=False,
894
+ )
895
+ IssueTypeVariant0 = TypedDict(
896
+ "IssueTypeVariant0",
897
+ {
898
+ "color": NotRequired[
899
+ "Literal['gray', 'blue', 'green', 'yellow', 'orange', 'red', 'pink', 'purple'] | None"
900
+ ],
901
+ "created_at": NotRequired["str"],
902
+ "description": Required["str | None"],
903
+ "id": Required["int"],
904
+ "is_enabled": NotRequired["bool"],
905
+ "name": Required["str"],
906
+ "node_id": Required["str"],
907
+ "updated_at": NotRequired["str"],
908
+ },
909
+ total=False,
910
+ )
911
+ IssueTypeWebhook: TypeAlias = "IssueTypeWebhookVariant0 | None"
912
+ IssueTypeWebhookVariant0 = TypedDict(
913
+ "IssueTypeWebhookVariant0",
914
+ {
915
+ "color": NotRequired[
916
+ "Literal['gray', 'blue', 'green', 'yellow', 'orange', 'red', 'pink', 'purple'] | None"
917
+ ],
918
+ "id": Required["int"],
919
+ "name": Required["str"],
920
+ },
921
+ total=False,
922
+ )
923
+ IssuesEvent = TypedDict(
924
+ "IssuesEvent",
925
+ {
926
+ "action": Required["str"],
927
+ "assignee": NotRequired["SimpleUser"],
928
+ "assignees": NotRequired["list[SimpleUser]"],
929
+ "issue": Required["Issue"],
930
+ "label": NotRequired["Label"],
931
+ "labels": NotRequired["list[Label]"],
932
+ },
933
+ total=False,
934
+ )
935
+ Job = TypedDict(
936
+ "Job",
937
+ {
938
+ "check_run_url": Required["str"],
939
+ "completed_at": Required["str | None"],
940
+ "conclusion": Required[
941
+ "Literal['success', 'failure', 'neutral', 'cancelled', 'skipped', 'timed_out', 'action_required'] | None"
942
+ ],
943
+ "created_at": Required["str"],
944
+ "head_branch": Required["str | None"],
945
+ "head_sha": Required["str"],
946
+ "html_url": Required["str | None"],
947
+ "id": Required["int"],
948
+ "labels": Required["list[str]"],
949
+ "name": Required["str"],
950
+ "node_id": Required["str"],
951
+ "run_attempt": NotRequired["int"],
952
+ "run_id": Required["int"],
953
+ "run_url": Required["str"],
954
+ "runner_group_id": Required["int | None"],
955
+ "runner_group_name": Required["str | None"],
956
+ "runner_id": Required["int | None"],
957
+ "runner_name": Required["str | None"],
958
+ "started_at": Required["str"],
959
+ "status": Required[
960
+ "Literal['queued', 'in_progress', 'completed', 'waiting', 'requested', 'pending']"
961
+ ],
962
+ "steps": NotRequired["list[JobStepsItem]"],
963
+ "url": Required["str"],
964
+ "workflow_name": Required["str | None"],
965
+ },
966
+ total=False,
967
+ )
968
+ JobStepsItem = TypedDict(
969
+ "JobStepsItem",
970
+ {
971
+ "completed_at": NotRequired["str | None"],
972
+ "conclusion": Required["str | None"],
973
+ "name": Required["str"],
974
+ "number": Required["int"],
975
+ "started_at": NotRequired["str | None"],
976
+ "status": Required["Literal['queued', 'in_progress', 'completed']"],
977
+ },
978
+ total=False,
979
+ )
980
+ Key = TypedDict(
981
+ "Key",
982
+ {
983
+ "created_at": Required["str"],
984
+ "id": Required["int"],
985
+ "key": Required["str"],
986
+ "last_used": NotRequired["str | None"],
987
+ "read_only": Required["bool"],
988
+ "title": Required["str"],
989
+ "url": Required["str"],
990
+ "verified": Required["bool"],
991
+ },
992
+ total=False,
993
+ )
994
+ KeySimple = TypedDict(
995
+ "KeySimple",
996
+ {
997
+ "created_at": NotRequired["str"],
998
+ "id": Required["int"],
999
+ "key": Required["str"],
1000
+ "last_used": NotRequired["str | None"],
1001
+ },
1002
+ total=False,
1003
+ )
1004
+ Label = TypedDict(
1005
+ "Label",
1006
+ {
1007
+ "archived_at": Required["str | None"],
1008
+ "archived_by": Required["LabelArchivedByVariant0 | None"],
1009
+ "color": Required["str"],
1010
+ "default": Required["bool"],
1011
+ "description": Required["str | None"],
1012
+ "id": Required["int"],
1013
+ "name": Required["str"],
1014
+ "node_id": Required["str"],
1015
+ "url": Required["str"],
1016
+ },
1017
+ total=False,
1018
+ )
1019
+ LabelArchivedByVariant0 = TypedDict(
1020
+ "LabelArchivedByVariant0",
1021
+ {
1022
+ "avatar_url": Required["str"],
1023
+ "email": NotRequired["str | None"],
1024
+ "events_url": Required["str"],
1025
+ "followers_url": Required["str"],
1026
+ "following_url": Required["str"],
1027
+ "gists_url": Required["str"],
1028
+ "gravatar_id": Required["str | None"],
1029
+ "html_url": Required["str"],
1030
+ "id": Required["int"],
1031
+ "login": Required["str"],
1032
+ "name": NotRequired["str | None"],
1033
+ "node_id": Required["str"],
1034
+ "organizations_url": Required["str"],
1035
+ "received_events_url": Required["str"],
1036
+ "repos_url": Required["str"],
1037
+ "site_admin": Required["bool"],
1038
+ "starred_at": NotRequired["str"],
1039
+ "starred_url": Required["str"],
1040
+ "subscriptions_url": Required["str"],
1041
+ "type": Required["str"],
1042
+ "url": Required["str"],
1043
+ "user_view_type": NotRequired["str"],
1044
+ },
1045
+ total=False,
1046
+ )
1047
+ LabelSearchResultItem = TypedDict(
1048
+ "LabelSearchResultItem",
1049
+ {
1050
+ "archived_at": Required["str | None"],
1051
+ "archived_by": Required["LabelSearchResultItemArchivedByVariant0 | None"],
1052
+ "color": Required["str"],
1053
+ "default": Required["bool"],
1054
+ "description": Required["str | None"],
1055
+ "id": Required["int"],
1056
+ "name": Required["str"],
1057
+ "node_id": Required["str"],
1058
+ "score": Required["float"],
1059
+ "text_matches": NotRequired["SearchResultTextMatches"],
1060
+ "url": Required["str"],
1061
+ },
1062
+ total=False,
1063
+ )
1064
+ LabelSearchResultItemArchivedByVariant0 = TypedDict(
1065
+ "LabelSearchResultItemArchivedByVariant0",
1066
+ {
1067
+ "avatar_url": Required["str"],
1068
+ "email": NotRequired["str | None"],
1069
+ "events_url": Required["str"],
1070
+ "followers_url": Required["str"],
1071
+ "following_url": Required["str"],
1072
+ "gists_url": Required["str"],
1073
+ "gravatar_id": Required["str | None"],
1074
+ "html_url": Required["str"],
1075
+ "id": Required["int"],
1076
+ "login": Required["str"],
1077
+ "name": NotRequired["str | None"],
1078
+ "node_id": Required["str"],
1079
+ "organizations_url": Required["str"],
1080
+ "received_events_url": Required["str"],
1081
+ "repos_url": Required["str"],
1082
+ "site_admin": Required["bool"],
1083
+ "starred_at": NotRequired["str"],
1084
+ "starred_url": Required["str"],
1085
+ "subscriptions_url": Required["str"],
1086
+ "type": Required["str"],
1087
+ "url": Required["str"],
1088
+ "user_view_type": NotRequired["str"],
1089
+ },
1090
+ total=False,
1091
+ )
1092
+ LabeledIssueEvent = TypedDict(
1093
+ "LabeledIssueEvent",
1094
+ {
1095
+ "actor": Required["SimpleUser"],
1096
+ "commit_id": Required["str | None"],
1097
+ "commit_url": Required["str | None"],
1098
+ "created_at": Required["str"],
1099
+ "event": Required["str"],
1100
+ "id": Required["int"],
1101
+ "intent": NotRequired["NullableIssueEventIntent"],
1102
+ "label": Required["LabeledIssueEventLabel"],
1103
+ "node_id": Required["str"],
1104
+ "performed_via_github_app": Required["NullableIntegration"],
1105
+ "url": Required["str"],
1106
+ },
1107
+ total=False,
1108
+ )
1109
+ LabeledIssueEventLabel = TypedDict(
1110
+ "LabeledIssueEventLabel", {"color": Required["str"], "name": Required["str"]}, total=False
1111
+ )
1112
+ Language: TypeAlias = "dict[str, int]"
1113
+ LdapDn: TypeAlias = "str"
1114
+ License = TypedDict(
1115
+ "License",
1116
+ {
1117
+ "body": Required["str"],
1118
+ "conditions": Required["list[str]"],
1119
+ "description": Required["str"],
1120
+ "featured": Required["bool"],
1121
+ "html_url": Required["str"],
1122
+ "implementation": Required["str"],
1123
+ "key": Required["str"],
1124
+ "limitations": Required["list[str]"],
1125
+ "name": Required["str"],
1126
+ "node_id": Required["str"],
1127
+ "permissions": Required["list[str]"],
1128
+ "spdx_id": Required["str | None"],
1129
+ "url": Required["str | None"],
1130
+ },
1131
+ total=False,
1132
+ )
1133
+ LicenseContent = TypedDict(
1134
+ "LicenseContent",
1135
+ {
1136
+ "_links": Required["LicenseContentLinks"],
1137
+ "content": Required["str"],
1138
+ "download_url": Required["str | None"],
1139
+ "encoding": Required["str"],
1140
+ "git_url": Required["str | None"],
1141
+ "html_url": Required["str | None"],
1142
+ "license": Required["NullableLicenseSimple"],
1143
+ "name": Required["str"],
1144
+ "path": Required["str"],
1145
+ "sha": Required["str"],
1146
+ "size": Required["int"],
1147
+ "type": Required["str"],
1148
+ "url": Required["str"],
1149
+ },
1150
+ total=False,
1151
+ )
1152
+ LicenseContentLinks = TypedDict(
1153
+ "LicenseContentLinks",
1154
+ {"git": Required["str | None"], "html": Required["str | None"], "self": Required["str"]},
1155
+ total=False,
1156
+ )
1157
+ LicenseSimple = TypedDict(
1158
+ "LicenseSimple",
1159
+ {
1160
+ "html_url": NotRequired["str"],
1161
+ "key": Required["str"],
1162
+ "name": Required["str"],
1163
+ "node_id": Required["str"],
1164
+ "spdx_id": Required["str | None"],
1165
+ "url": Required["str | None"],
1166
+ },
1167
+ total=False,
1168
+ )
1169
+ Link = TypedDict("Link", {"href": Required["str"]}, total=False)
1170
+ LinkWithType = TypedDict(
1171
+ "LinkWithType", {"href": Required["str"], "type": Required["str"]}, total=False
1172
+ )
1173
+ LockedIssueEvent = TypedDict(
1174
+ "LockedIssueEvent",
1175
+ {
1176
+ "actor": Required["SimpleUser"],
1177
+ "commit_id": Required["str | None"],
1178
+ "commit_url": Required["str | None"],
1179
+ "created_at": Required["str"],
1180
+ "event": Required["str"],
1181
+ "id": Required["int"],
1182
+ "lock_reason": Required["str | None"],
1183
+ "node_id": Required["str"],
1184
+ "performed_via_github_app": Required["NullableIntegration"],
1185
+ "url": Required["str"],
1186
+ },
1187
+ total=False,
1188
+ )
1189
+ Manifest = TypedDict(
1190
+ "Manifest",
1191
+ {
1192
+ "file": NotRequired["ManifestFile"],
1193
+ "metadata": NotRequired["Metadata"],
1194
+ "name": Required["str"],
1195
+ "resolved": NotRequired["dict[str, Dependency]"],
1196
+ },
1197
+ total=False,
1198
+ )
1199
+ ManifestFile = TypedDict("ManifestFile", {"source_location": NotRequired["str"]}, total=False)
1200
+ MarketplaceAccount = TypedDict(
1201
+ "MarketplaceAccount",
1202
+ {
1203
+ "email": NotRequired["str | None"],
1204
+ "id": Required["int"],
1205
+ "login": Required["str"],
1206
+ "node_id": NotRequired["str"],
1207
+ "organization_billing_email": NotRequired["str | None"],
1208
+ "type": Required["str"],
1209
+ "url": Required["str"],
1210
+ },
1211
+ total=False,
1212
+ )
1213
+ MarketplaceListingPlan = TypedDict(
1214
+ "MarketplaceListingPlan",
1215
+ {
1216
+ "accounts_url": Required["str"],
1217
+ "bullets": Required["list[str]"],
1218
+ "description": Required["str"],
1219
+ "has_free_trial": Required["bool"],
1220
+ "id": Required["int"],
1221
+ "monthly_price_in_cents": Required["int"],
1222
+ "name": Required["str"],
1223
+ "number": Required["int"],
1224
+ "price_model": Required["Literal['FREE', 'FLAT_RATE', 'PER_UNIT']"],
1225
+ "state": Required["str"],
1226
+ "unit_name": Required["str | None"],
1227
+ "url": Required["str"],
1228
+ "yearly_price_in_cents": Required["int"],
1229
+ },
1230
+ total=False,
1231
+ )
1232
+ MarketplacePurchase = TypedDict(
1233
+ "MarketplacePurchase",
1234
+ {
1235
+ "email": NotRequired["str | None"],
1236
+ "id": Required["int"],
1237
+ "login": Required["str"],
1238
+ "marketplace_pending_change": NotRequired[
1239
+ "MarketplacePurchaseMarketplacePendingChangeVariant0 | None"
1240
+ ],
1241
+ "marketplace_purchase": Required["MarketplacePurchaseMarketplacePurchase"],
1242
+ "organization_billing_email": NotRequired["str"],
1243
+ "type": Required["str"],
1244
+ "url": Required["str"],
1245
+ },
1246
+ total=False,
1247
+ )
1248
+ MarketplacePurchaseMarketplacePendingChangeVariant0 = TypedDict(
1249
+ "MarketplacePurchaseMarketplacePendingChangeVariant0",
1250
+ {
1251
+ "effective_date": NotRequired["str"],
1252
+ "id": NotRequired["int"],
1253
+ "is_installed": NotRequired["bool"],
1254
+ "plan": NotRequired["MarketplaceListingPlan"],
1255
+ "unit_count": NotRequired["int | None"],
1256
+ },
1257
+ total=False,
1258
+ )
1259
+ MarketplacePurchaseMarketplacePurchase = TypedDict(
1260
+ "MarketplacePurchaseMarketplacePurchase",
1261
+ {
1262
+ "billing_cycle": NotRequired["str"],
1263
+ "free_trial_ends_on": NotRequired["str | None"],
1264
+ "is_installed": NotRequired["bool"],
1265
+ "next_billing_date": NotRequired["str | None"],
1266
+ "on_free_trial": NotRequired["bool"],
1267
+ "plan": NotRequired["MarketplaceListingPlan"],
1268
+ "unit_count": NotRequired["int | None"],
1269
+ "updated_at": NotRequired["str"],
1270
+ },
1271
+ total=False,
1272
+ )
1273
+ MemberEvent = TypedDict(
1274
+ "MemberEvent", {"action": Required["str"], "member": Required["SimpleUser"]}, total=False
1275
+ )
1276
+ MergeGroup = TypedDict(
1277
+ "MergeGroup",
1278
+ {
1279
+ "base_ref": Required["str"],
1280
+ "base_sha": Required["str"],
1281
+ "head_commit": Required["SimpleCommit"],
1282
+ "head_ref": Required["str"],
1283
+ "head_sha": Required["str"],
1284
+ },
1285
+ total=False,
1286
+ )
1287
+ MergedUpstream = TypedDict(
1288
+ "MergedUpstream",
1289
+ {
1290
+ "base_branch": NotRequired["str"],
1291
+ "merge_type": NotRequired["Literal['merge', 'fast-forward', 'none']"],
1292
+ "message": NotRequired["str"],
1293
+ },
1294
+ total=False,
1295
+ )
1296
+ Metadata: TypeAlias = "dict[str, Union[str | float | bool, None]]"
1297
+ Migration = TypedDict(
1298
+ "Migration",
1299
+ {
1300
+ "archive_url": NotRequired["str"],
1301
+ "created_at": Required["str"],
1302
+ "exclude": NotRequired["list[str]"],
1303
+ "exclude_attachments": Required["bool"],
1304
+ "exclude_git_data": Required["bool"],
1305
+ "exclude_metadata": Required["bool"],
1306
+ "exclude_owner_projects": Required["bool"],
1307
+ "exclude_releases": Required["bool"],
1308
+ "guid": Required["str"],
1309
+ "id": Required["int"],
1310
+ "lock_repositories": Required["bool"],
1311
+ "node_id": Required["str"],
1312
+ "org_metadata_only": Required["bool"],
1313
+ "owner": Required["NullableSimpleUser"],
1314
+ "repositories": Required["list[SimpleRepository]"],
1315
+ "state": Required["str"],
1316
+ "updated_at": Required["str"],
1317
+ "url": Required["str"],
1318
+ },
1319
+ total=False,
1320
+ )
1321
+ Milestone = TypedDict(
1322
+ "Milestone",
1323
+ {
1324
+ "closed_at": Required["str | None"],
1325
+ "closed_issues": Required["int"],
1326
+ "created_at": Required["str"],
1327
+ "creator": Required["NullableSimpleUser"],
1328
+ "description": Required["str | None"],
1329
+ "due_on": Required["str | None"],
1330
+ "html_url": Required["str"],
1331
+ "id": Required["int"],
1332
+ "labels_url": Required["str"],
1333
+ "node_id": Required["str"],
1334
+ "number": Required["int"],
1335
+ "open_issues": Required["int"],
1336
+ "state": Required["Literal['open', 'closed']"],
1337
+ "title": Required["str"],
1338
+ "updated_at": Required["str"],
1339
+ "url": Required["str"],
1340
+ },
1341
+ total=False,
1342
+ )
1343
+ MilestonedIssueEvent = TypedDict(
1344
+ "MilestonedIssueEvent",
1345
+ {
1346
+ "actor": Required["SimpleUser"],
1347
+ "commit_id": Required["str | None"],
1348
+ "commit_url": Required["str | None"],
1349
+ "created_at": Required["str"],
1350
+ "event": Required["str"],
1351
+ "id": Required["int"],
1352
+ "milestone": Required["MilestonedIssueEventMilestone"],
1353
+ "node_id": Required["str"],
1354
+ "performed_via_github_app": Required["NullableIntegration"],
1355
+ "url": Required["str"],
1356
+ },
1357
+ total=False,
1358
+ )
1359
+ MilestonedIssueEventMilestone = TypedDict(
1360
+ "MilestonedIssueEventMilestone", {"title": Required["str"]}, total=False
1361
+ )
1362
+ MinimalRepository = TypedDict(
1363
+ "MinimalRepository",
1364
+ {
1365
+ "allow_forking": NotRequired["bool"],
1366
+ "archive_url": Required["str"],
1367
+ "archived": NotRequired["bool"],
1368
+ "assignees_url": Required["str"],
1369
+ "blobs_url": Required["str"],
1370
+ "branches_url": Required["str"],
1371
+ "clone_url": NotRequired["str"],
1372
+ "code_of_conduct": NotRequired["CodeOfConduct"],
1373
+ "collaborators_url": Required["str"],
1374
+ "comments_url": Required["str"],
1375
+ "commits_url": Required["str"],
1376
+ "compare_url": Required["str"],
1377
+ "contents_url": Required["str"],
1378
+ "contributors_url": Required["str"],
1379
+ "created_at": NotRequired["str | None"],
1380
+ "custom_properties": NotRequired["dict[str, object]"],
1381
+ "default_branch": NotRequired["str"],
1382
+ "delete_branch_on_merge": NotRequired["bool"],
1383
+ "deployments_url": Required["str"],
1384
+ "description": Required["str | None"],
1385
+ "disabled": NotRequired["bool"],
1386
+ "downloads_url": Required["str"],
1387
+ "events_url": Required["str"],
1388
+ "fork": Required["bool"],
1389
+ "forks": NotRequired["int"],
1390
+ "forks_count": NotRequired["int"],
1391
+ "forks_url": Required["str"],
1392
+ "full_name": Required["str"],
1393
+ "git_commits_url": Required["str"],
1394
+ "git_refs_url": Required["str"],
1395
+ "git_tags_url": Required["str"],
1396
+ "git_url": NotRequired["str"],
1397
+ "has_discussions": NotRequired["bool"],
1398
+ "has_issues": NotRequired["bool"],
1399
+ "has_pages": NotRequired["bool"],
1400
+ "has_projects": NotRequired["bool"],
1401
+ "has_pull_requests": NotRequired["bool"],
1402
+ "has_wiki": NotRequired["bool"],
1403
+ "homepage": NotRequired["str | None"],
1404
+ "hooks_url": Required["str"],
1405
+ "html_url": Required["str"],
1406
+ "id": Required["int"],
1407
+ "is_template": NotRequired["bool"],
1408
+ "issue_comment_url": Required["str"],
1409
+ "issue_events_url": Required["str"],
1410
+ "issues_url": Required["str"],
1411
+ "keys_url": Required["str"],
1412
+ "labels_url": Required["str"],
1413
+ "language": NotRequired["str | None"],
1414
+ "languages_url": Required["str"],
1415
+ "license": NotRequired["MinimalRepositoryLicenseVariant0 | None"],
1416
+ "merges_url": Required["str"],
1417
+ "milestones_url": Required["str"],
1418
+ "mirror_url": NotRequired["str | None"],
1419
+ "name": Required["str"],
1420
+ "network_count": NotRequired["int"],
1421
+ "node_id": Required["str"],
1422
+ "notifications_url": Required["str"],
1423
+ "open_issues": NotRequired["int"],
1424
+ "open_issues_count": NotRequired["int"],
1425
+ "owner": Required["SimpleUser"],
1426
+ "permissions": NotRequired["MinimalRepositoryPermissions"],
1427
+ "private": Required["bool"],
1428
+ "pull_request_creation_policy": NotRequired["Literal['all', 'collaborators_only']"],
1429
+ "pulls_url": Required["str"],
1430
+ "pushed_at": NotRequired["str | None"],
1431
+ "releases_url": Required["str"],
1432
+ "role_name": NotRequired["str"],
1433
+ "security_and_analysis": NotRequired["SecurityAndAnalysis"],
1434
+ "size": NotRequired["int"],
1435
+ "ssh_url": NotRequired["str"],
1436
+ "stargazers_count": NotRequired["int"],
1437
+ "stargazers_url": Required["str"],
1438
+ "statuses_url": Required["str"],
1439
+ "subscribers_count": NotRequired["int"],
1440
+ "subscribers_url": Required["str"],
1441
+ "subscription_url": Required["str"],
1442
+ "svn_url": NotRequired["str"],
1443
+ "tags_url": Required["str"],
1444
+ "teams_url": Required["str"],
1445
+ "temp_clone_token": NotRequired["str"],
1446
+ "topics": NotRequired["list[str]"],
1447
+ "trees_url": Required["str"],
1448
+ "updated_at": NotRequired["str | None"],
1449
+ "url": Required["str"],
1450
+ "visibility": NotRequired["str"],
1451
+ "watchers": NotRequired["int"],
1452
+ "watchers_count": NotRequired["int"],
1453
+ "web_commit_signoff_required": NotRequired["bool"],
1454
+ },
1455
+ total=False,
1456
+ )
1457
+ MinimalRepositoryLicenseVariant0 = TypedDict(
1458
+ "MinimalRepositoryLicenseVariant0",
1459
+ {
1460
+ "key": NotRequired["str"],
1461
+ "name": NotRequired["str"],
1462
+ "node_id": NotRequired["str"],
1463
+ "spdx_id": NotRequired["str"],
1464
+ "url": NotRequired["str | None"],
1465
+ },
1466
+ total=False,
1467
+ )
1468
+ MinimalRepositoryPermissions = TypedDict(
1469
+ "MinimalRepositoryPermissions",
1470
+ {
1471
+ "admin": NotRequired["bool"],
1472
+ "maintain": NotRequired["bool"],
1473
+ "pull": NotRequired["bool"],
1474
+ "push": NotRequired["bool"],
1475
+ "triage": NotRequired["bool"],
1476
+ },
1477
+ total=False,
1478
+ )
1479
+ MovedColumnInProjectIssueEvent = TypedDict(
1480
+ "MovedColumnInProjectIssueEvent",
1481
+ {
1482
+ "actor": Required["SimpleUser"],
1483
+ "commit_id": Required["str | None"],
1484
+ "commit_url": Required["str | None"],
1485
+ "created_at": Required["str"],
1486
+ "event": Required["str"],
1487
+ "id": Required["int"],
1488
+ "node_id": Required["str"],
1489
+ "performed_via_github_app": Required["NullableIntegration"],
1490
+ "project_card": NotRequired["MovedColumnInProjectIssueEventProjectCard"],
1491
+ "url": Required["str"],
1492
+ },
1493
+ total=False,
1494
+ )
1495
+ MovedColumnInProjectIssueEventProjectCard = TypedDict(
1496
+ "MovedColumnInProjectIssueEventProjectCard",
1497
+ {
1498
+ "column_name": Required["str"],
1499
+ "id": Required["int"],
1500
+ "previous_column_name": NotRequired["str"],
1501
+ "project_id": Required["int"],
1502
+ "project_url": Required["str"],
1503
+ "url": Required["str"],
1504
+ },
1505
+ total=False,
1506
+ )
1507
+ NetworkConfiguration = TypedDict(
1508
+ "NetworkConfiguration",
1509
+ {
1510
+ "compute_service": NotRequired["Literal['none', 'actions', 'codespaces']"],
1511
+ "created_on": Required["str | None"],
1512
+ "failover_network_enabled": NotRequired["bool"],
1513
+ "failover_network_settings_ids": NotRequired["list[str]"],
1514
+ "id": Required["str"],
1515
+ "name": Required["str"],
1516
+ "network_settings_ids": NotRequired["list[str]"],
1517
+ },
1518
+ total=False,
1519
+ )
1520
+ NetworkSettings = TypedDict(
1521
+ "NetworkSettings",
1522
+ {
1523
+ "id": Required["str"],
1524
+ "name": Required["str"],
1525
+ "network_configuration_id": NotRequired["str"],
1526
+ "region": Required["str"],
1527
+ "subnet_id": Required["str"],
1528
+ },
1529
+ total=False,
1530
+ )
1531
+ NullableActionsHostedRunnerPoolImage: TypeAlias = (
1532
+ "NullableActionsHostedRunnerPoolImageVariant0 | None"
1533
+ )
1534
+ NullableActionsHostedRunnerPoolImageVariant0 = TypedDict(
1535
+ "NullableActionsHostedRunnerPoolImageVariant0",
1536
+ {
1537
+ "display_name": Required["str"],
1538
+ "id": Required["str"],
1539
+ "size_gb": Required["int"],
1540
+ "source": Required["Literal['github', 'partner', 'custom']"],
1541
+ "version": NotRequired["str"],
1542
+ },
1543
+ total=False,
1544
+ )
1545
+ NullableAlertUpdatedAt: TypeAlias = "str | None"
1546
+ NullableCodeOfConductSimple: TypeAlias = "NullableCodeOfConductSimpleVariant0 | None"
1547
+ NullableCodeOfConductSimpleVariant0 = TypedDict(
1548
+ "NullableCodeOfConductSimpleVariant0",
1549
+ {
1550
+ "html_url": Required["str | None"],
1551
+ "key": Required["str"],
1552
+ "name": Required["str"],
1553
+ "url": Required["str"],
1554
+ },
1555
+ total=False,
1556
+ )
1557
+ NullableCodespaceMachine: TypeAlias = "NullableCodespaceMachineVariant0 | None"
1558
+ NullableCodespaceMachineVariant0 = TypedDict(
1559
+ "NullableCodespaceMachineVariant0",
1560
+ {
1561
+ "cpus": Required["int"],
1562
+ "display_name": Required["str"],
1563
+ "memory_in_bytes": Required["int"],
1564
+ "name": Required["str"],
1565
+ "operating_system": Required["str"],
1566
+ "prebuild_availability": Required["Literal['none', 'ready', 'in_progress'] | None"],
1567
+ "storage_in_bytes": Required["int"],
1568
+ },
1569
+ total=False,
1570
+ )
1571
+ NullableCollaborator: TypeAlias = "NullableCollaboratorVariant0 | None"
1572
+ NullableCollaboratorVariant0 = TypedDict(
1573
+ "NullableCollaboratorVariant0",
1574
+ {
1575
+ "avatar_url": Required["str"],
1576
+ "email": NotRequired["str | None"],
1577
+ "events_url": Required["str"],
1578
+ "followers_url": Required["str"],
1579
+ "following_url": Required["str"],
1580
+ "gists_url": Required["str"],
1581
+ "gravatar_id": Required["str | None"],
1582
+ "html_url": Required["str"],
1583
+ "id": Required["int"],
1584
+ "login": Required["str"],
1585
+ "name": NotRequired["str | None"],
1586
+ "node_id": Required["str"],
1587
+ "organizations_url": Required["str"],
1588
+ "permissions": NotRequired["NullableCollaboratorVariant0Permissions"],
1589
+ "received_events_url": Required["str"],
1590
+ "repos_url": Required["str"],
1591
+ "role_name": Required["str"],
1592
+ "site_admin": Required["bool"],
1593
+ "starred_url": Required["str"],
1594
+ "subscriptions_url": Required["str"],
1595
+ "type": Required["str"],
1596
+ "url": Required["str"],
1597
+ "user_view_type": NotRequired["str"],
1598
+ },
1599
+ total=False,
1600
+ )
1601
+ NullableCollaboratorVariant0Permissions = TypedDict(
1602
+ "NullableCollaboratorVariant0Permissions",
1603
+ {
1604
+ "admin": Required["bool"],
1605
+ "maintain": NotRequired["bool"],
1606
+ "pull": Required["bool"],
1607
+ "push": Required["bool"],
1608
+ "triage": NotRequired["bool"],
1609
+ },
1610
+ total=False,
1611
+ )
1612
+ NullableCommunityHealthFile: TypeAlias = "NullableCommunityHealthFileVariant0 | None"
1613
+ NullableCommunityHealthFileVariant0 = TypedDict(
1614
+ "NullableCommunityHealthFileVariant0",
1615
+ {"html_url": Required["str"], "url": Required["str"]},
1616
+ total=False,
1617
+ )
1618
+ NullableDeployment: TypeAlias = "NullableDeploymentVariant0 | None"
1619
+ NullableDeploymentVariant0 = TypedDict(
1620
+ "NullableDeploymentVariant0",
1621
+ {
1622
+ "created_at": Required["str"],
1623
+ "creator": Required["NullableSimpleUser"],
1624
+ "description": Required["str | None"],
1625
+ "environment": Required["str"],
1626
+ "id": Required["int"],
1627
+ "node_id": Required["str"],
1628
+ "original_environment": NotRequired["str"],
1629
+ "payload": Required["dict[str, object] | str"],
1630
+ "performed_via_github_app": NotRequired["NullableIntegration"],
1631
+ "production_environment": NotRequired["bool"],
1632
+ "ref": Required["str"],
1633
+ "repository_url": Required["str"],
1634
+ "sha": Required["str"],
1635
+ "statuses_url": Required["str"],
1636
+ "task": Required["str"],
1637
+ "transient_environment": NotRequired["bool"],
1638
+ "updated_at": Required["str"],
1639
+ "url": Required["str"],
1640
+ },
1641
+ total=False,
1642
+ )
1643
+ NullableGitUser: TypeAlias = "NullableGitUserVariant0 | None"
1644
+ NullableGitUserVariant0 = TypedDict(
1645
+ "NullableGitUserVariant0",
1646
+ {"date": NotRequired["str"], "email": NotRequired["str"], "name": NotRequired["str"]},
1647
+ total=False,
1648
+ )
1649
+ NullableIntegration: TypeAlias = "NullableIntegrationVariant0 | None"
1650
+ NullableIntegrationVariant0 = TypedDict(
1651
+ "NullableIntegrationVariant0",
1652
+ {
1653
+ "client_id": NotRequired["str"],
1654
+ "created_at": Required["str"],
1655
+ "description": Required["str | None"],
1656
+ "events": Required["list[str]"],
1657
+ "external_url": Required["str"],
1658
+ "html_url": Required["str"],
1659
+ "id": Required["int"],
1660
+ "installations_count": NotRequired["int"],
1661
+ "name": Required["str"],
1662
+ "node_id": Required["str"],
1663
+ "owner": Required["SimpleUser | Enterprise"],
1664
+ "permissions": Required["NullableIntegrationVariant0Permissions"],
1665
+ "slug": NotRequired["str"],
1666
+ "updated_at": Required["str"],
1667
+ },
1668
+ total=False,
1669
+ )
1670
+ NullableIntegrationVariant0Permissions = TypedDict(
1671
+ "NullableIntegrationVariant0Permissions",
1672
+ {
1673
+ "checks": NotRequired["str"],
1674
+ "contents": NotRequired["str"],
1675
+ "deployments": NotRequired["str"],
1676
+ "issues": NotRequired["str"],
1677
+ "metadata": NotRequired["str"],
1678
+ },
1679
+ total=False,
1680
+ )
1681
+ NullableIssue: TypeAlias = "NullableIssueVariant0 | None"
1682
+ NullableIssueComment: TypeAlias = "NullableIssueCommentVariant0 | None"
1683
+ NullableIssueCommentMinimized: TypeAlias = "NullableIssueCommentMinimizedVariant0 | None"
1684
+ NullableIssueCommentMinimizedVariant0 = TypedDict(
1685
+ "NullableIssueCommentMinimizedVariant0", {"reason": Required["str | None"]}, total=False
1686
+ )
1687
+ NullableIssueCommentVariant0 = TypedDict(
1688
+ "NullableIssueCommentVariant0",
1689
+ {
1690
+ "author_association": NotRequired["AuthorAssociation"],
1691
+ "body": NotRequired["str"],
1692
+ "body_html": NotRequired["str"],
1693
+ "body_text": NotRequired["str"],
1694
+ "created_at": Required["str"],
1695
+ "html_url": Required["str"],
1696
+ "id": Required["int"],
1697
+ "issue_url": Required["str"],
1698
+ "minimized": NotRequired["NullableIssueCommentMinimized"],
1699
+ "node_id": Required["str"],
1700
+ "performed_via_github_app": NotRequired["NullableIntegration"],
1701
+ "pin": NotRequired["NullablePinnedIssueComment"],
1702
+ "reactions": NotRequired["ReactionRollup"],
1703
+ "updated_at": Required["str"],
1704
+ "url": Required["str"],
1705
+ "user": Required["NullableSimpleUser"],
1706
+ },
1707
+ total=False,
1708
+ )
1709
+ NullableIssueEventIntent: TypeAlias = "NullableIssueEventIntentVariant0 | None"
1710
+ NullableIssueEventIntentVariant0 = TypedDict(
1711
+ "NullableIssueEventIntentVariant0",
1712
+ {
1713
+ "confidence": NotRequired["Literal['LOW', 'MEDIUM', 'HIGH'] | None"],
1714
+ "rationale": NotRequired["str | None"],
1715
+ },
1716
+ total=False,
1717
+ )
1718
+ NullableIssueReference: TypeAlias = "NullableIssueReferenceVariant0 | None"
1719
+ NullableIssueReferenceVariant0 = TypedDict(
1720
+ "NullableIssueReferenceVariant0",
1721
+ {
1722
+ "issue_type": Required["NullableIssueReferenceVariant0IssueTypeVariant0 | None"],
1723
+ "number": Required["int"],
1724
+ "repository": Required["SimpleRepository"],
1725
+ "state": Required["str"],
1726
+ "state_reason": NotRequired["str | None"],
1727
+ "title": Required["str"],
1728
+ },
1729
+ total=False,
1730
+ )
1731
+ NullableIssueReferenceVariant0IssueTypeVariant0 = TypedDict(
1732
+ "NullableIssueReferenceVariant0IssueTypeVariant0",
1733
+ {
1734
+ "color": NotRequired["str | None"],
1735
+ "id": Required["int"],
1736
+ "name": Required["str"],
1737
+ "node_id": Required["str"],
1738
+ },
1739
+ total=False,
1740
+ )
1741
+ NullableIssueVariant0 = TypedDict(
1742
+ "NullableIssueVariant0",
1743
+ {
1744
+ "active_lock_reason": NotRequired["str | None"],
1745
+ "assignees": NotRequired["list[SimpleUser]"],
1746
+ "author_association": NotRequired["AuthorAssociation"],
1747
+ "body": NotRequired["str | None"],
1748
+ "body_html": NotRequired["str"],
1749
+ "body_text": NotRequired["str"],
1750
+ "closed_at": Required["str | None"],
1751
+ "closed_by": NotRequired["NullableSimpleUser"],
1752
+ "comments": Required["int"],
1753
+ "comments_url": Required["str"],
1754
+ "created_at": Required["str"],
1755
+ "draft": NotRequired["bool"],
1756
+ "events_url": Required["str"],
1757
+ "html_url": Required["str"],
1758
+ "id": Required["int"],
1759
+ "issue_dependencies_summary": NotRequired["IssueDependenciesSummary"],
1760
+ "issue_field_values": NotRequired["list[IssueFieldValue]"],
1761
+ "labels": Required["list[str | NullableIssueVariant0LabelsItemVariant1]"],
1762
+ "labels_url": Required["str"],
1763
+ "locked": Required["bool"],
1764
+ "milestone": Required["NullableMilestone"],
1765
+ "node_id": Required["str"],
1766
+ "number": Required["int"],
1767
+ "parent_issue_url": NotRequired["str | None"],
1768
+ "performed_via_github_app": NotRequired["NullableIntegration"],
1769
+ "pinned_comment": NotRequired["NullableIssueComment"],
1770
+ "pull_request": NotRequired["NullableIssueVariant0PullRequest"],
1771
+ "reactions": NotRequired["ReactionRollup"],
1772
+ "repository": NotRequired["Repository"],
1773
+ "repository_url": Required["str"],
1774
+ "state": Required["str"],
1775
+ "state_reason": NotRequired[
1776
+ "Literal['completed', 'reopened', 'not_planned', 'duplicate'] | None"
1777
+ ],
1778
+ "sub_issues_summary": NotRequired["SubIssuesSummary"],
1779
+ "timeline_url": NotRequired["str"],
1780
+ "title": Required["str"],
1781
+ "type": NotRequired["IssueType"],
1782
+ "updated_at": Required["str"],
1783
+ "url": Required["str"],
1784
+ "user": Required["NullableSimpleUser"],
1785
+ },
1786
+ total=False,
1787
+ )
1788
+ NullableIssueVariant0LabelsItemVariant1 = TypedDict(
1789
+ "NullableIssueVariant0LabelsItemVariant1",
1790
+ {
1791
+ "archived_by": NotRequired[
1792
+ "NullableIssueVariant0LabelsItemVariant1ArchivedByVariant0 | None"
1793
+ ],
1794
+ "color": NotRequired["str | None"],
1795
+ "default": NotRequired["bool"],
1796
+ "description": NotRequired["str | None"],
1797
+ "id": NotRequired["int"],
1798
+ "name": NotRequired["str"],
1799
+ "node_id": NotRequired["str"],
1800
+ "url": NotRequired["str"],
1801
+ },
1802
+ total=False,
1803
+ )
1804
+ NullableIssueVariant0LabelsItemVariant1ArchivedByVariant0 = TypedDict(
1805
+ "NullableIssueVariant0LabelsItemVariant1ArchivedByVariant0",
1806
+ {
1807
+ "avatar_url": Required["str"],
1808
+ "email": NotRequired["str | None"],
1809
+ "events_url": Required["str"],
1810
+ "followers_url": Required["str"],
1811
+ "following_url": Required["str"],
1812
+ "gists_url": Required["str"],
1813
+ "gravatar_id": Required["str | None"],
1814
+ "html_url": Required["str"],
1815
+ "id": Required["int"],
1816
+ "login": Required["str"],
1817
+ "name": NotRequired["str | None"],
1818
+ "node_id": Required["str"],
1819
+ "organizations_url": Required["str"],
1820
+ "received_events_url": Required["str"],
1821
+ "repos_url": Required["str"],
1822
+ "site_admin": Required["bool"],
1823
+ "starred_at": NotRequired["str"],
1824
+ "starred_url": Required["str"],
1825
+ "subscriptions_url": Required["str"],
1826
+ "type": Required["str"],
1827
+ "url": Required["str"],
1828
+ "user_view_type": NotRequired["str"],
1829
+ },
1830
+ total=False,
1831
+ )
1832
+ NullableIssueVariant0PullRequest = TypedDict(
1833
+ "NullableIssueVariant0PullRequest",
1834
+ {
1835
+ "diff_url": Required["str"],
1836
+ "html_url": Required["str"],
1837
+ "merged_at": NotRequired["str"],
1838
+ "patch_url": Required["str"],
1839
+ "url": Required["str"],
1840
+ },
1841
+ total=False,
1842
+ )
1843
+ NullableLicenseSimple: TypeAlias = "NullableLicenseSimpleVariant0 | None"
1844
+ NullableLicenseSimpleVariant0 = TypedDict(
1845
+ "NullableLicenseSimpleVariant0",
1846
+ {
1847
+ "html_url": NotRequired["str"],
1848
+ "key": Required["str"],
1849
+ "name": Required["str"],
1850
+ "node_id": Required["str"],
1851
+ "spdx_id": Required["str | None"],
1852
+ "url": Required["str | None"],
1853
+ },
1854
+ total=False,
1855
+ )
1856
+ NullableMilestone: TypeAlias = "NullableMilestoneVariant0 | None"
1857
+ NullableMilestoneVariant0 = TypedDict(
1858
+ "NullableMilestoneVariant0",
1859
+ {
1860
+ "closed_at": Required["str | None"],
1861
+ "closed_issues": Required["int"],
1862
+ "created_at": Required["str"],
1863
+ "creator": Required["NullableSimpleUser"],
1864
+ "description": Required["str | None"],
1865
+ "due_on": Required["str | None"],
1866
+ "html_url": Required["str"],
1867
+ "id": Required["int"],
1868
+ "labels_url": Required["str"],
1869
+ "node_id": Required["str"],
1870
+ "number": Required["int"],
1871
+ "open_issues": Required["int"],
1872
+ "state": Required["Literal['open', 'closed']"],
1873
+ "title": Required["str"],
1874
+ "updated_at": Required["str"],
1875
+ "url": Required["str"],
1876
+ },
1877
+ total=False,
1878
+ )
1879
+ NullableMinimalRepository: TypeAlias = "NullableMinimalRepositoryVariant0 | None"
1880
+ NullableMinimalRepositoryVariant0 = TypedDict(
1881
+ "NullableMinimalRepositoryVariant0",
1882
+ {
1883
+ "allow_forking": NotRequired["bool"],
1884
+ "archive_url": Required["str"],
1885
+ "archived": NotRequired["bool"],
1886
+ "assignees_url": Required["str"],
1887
+ "blobs_url": Required["str"],
1888
+ "branches_url": Required["str"],
1889
+ "clone_url": NotRequired["str"],
1890
+ "code_of_conduct": NotRequired["CodeOfConduct"],
1891
+ "collaborators_url": Required["str"],
1892
+ "comments_url": Required["str"],
1893
+ "commits_url": Required["str"],
1894
+ "compare_url": Required["str"],
1895
+ "contents_url": Required["str"],
1896
+ "contributors_url": Required["str"],
1897
+ "created_at": NotRequired["str | None"],
1898
+ "custom_properties": NotRequired["dict[str, object]"],
1899
+ "default_branch": NotRequired["str"],
1900
+ "delete_branch_on_merge": NotRequired["bool"],
1901
+ "deployments_url": Required["str"],
1902
+ "description": Required["str | None"],
1903
+ "disabled": NotRequired["bool"],
1904
+ "downloads_url": Required["str"],
1905
+ "events_url": Required["str"],
1906
+ "fork": Required["bool"],
1907
+ "forks": NotRequired["int"],
1908
+ "forks_count": NotRequired["int"],
1909
+ "forks_url": Required["str"],
1910
+ "full_name": Required["str"],
1911
+ "git_commits_url": Required["str"],
1912
+ "git_refs_url": Required["str"],
1913
+ "git_tags_url": Required["str"],
1914
+ "git_url": NotRequired["str"],
1915
+ "has_discussions": NotRequired["bool"],
1916
+ "has_issues": NotRequired["bool"],
1917
+ "has_pages": NotRequired["bool"],
1918
+ "has_projects": NotRequired["bool"],
1919
+ "has_pull_requests": NotRequired["bool"],
1920
+ "has_wiki": NotRequired["bool"],
1921
+ "homepage": NotRequired["str | None"],
1922
+ "hooks_url": Required["str"],
1923
+ "html_url": Required["str"],
1924
+ "id": Required["int"],
1925
+ "is_template": NotRequired["bool"],
1926
+ "issue_comment_url": Required["str"],
1927
+ "issue_events_url": Required["str"],
1928
+ "issues_url": Required["str"],
1929
+ "keys_url": Required["str"],
1930
+ "labels_url": Required["str"],
1931
+ "language": NotRequired["str | None"],
1932
+ "languages_url": Required["str"],
1933
+ "license": NotRequired["NullableMinimalRepositoryVariant0LicenseVariant0 | None"],
1934
+ "merges_url": Required["str"],
1935
+ "milestones_url": Required["str"],
1936
+ "mirror_url": NotRequired["str | None"],
1937
+ "name": Required["str"],
1938
+ "network_count": NotRequired["int"],
1939
+ "node_id": Required["str"],
1940
+ "notifications_url": Required["str"],
1941
+ "open_issues": NotRequired["int"],
1942
+ "open_issues_count": NotRequired["int"],
1943
+ "owner": Required["SimpleUser"],
1944
+ "permissions": NotRequired["NullableMinimalRepositoryVariant0Permissions"],
1945
+ "private": Required["bool"],
1946
+ "pull_request_creation_policy": NotRequired["Literal['all', 'collaborators_only']"],
1947
+ "pulls_url": Required["str"],
1948
+ "pushed_at": NotRequired["str | None"],
1949
+ "releases_url": Required["str"],
1950
+ "role_name": NotRequired["str"],
1951
+ "security_and_analysis": NotRequired["SecurityAndAnalysis"],
1952
+ "size": NotRequired["int"],
1953
+ "ssh_url": NotRequired["str"],
1954
+ "stargazers_count": NotRequired["int"],
1955
+ "stargazers_url": Required["str"],
1956
+ "statuses_url": Required["str"],
1957
+ "subscribers_count": NotRequired["int"],
1958
+ "subscribers_url": Required["str"],
1959
+ "subscription_url": Required["str"],
1960
+ "svn_url": NotRequired["str"],
1961
+ "tags_url": Required["str"],
1962
+ "teams_url": Required["str"],
1963
+ "temp_clone_token": NotRequired["str"],
1964
+ "topics": NotRequired["list[str]"],
1965
+ "trees_url": Required["str"],
1966
+ "updated_at": NotRequired["str | None"],
1967
+ "url": Required["str"],
1968
+ "visibility": NotRequired["str"],
1969
+ "watchers": NotRequired["int"],
1970
+ "watchers_count": NotRequired["int"],
1971
+ "web_commit_signoff_required": NotRequired["bool"],
1972
+ },
1973
+ total=False,
1974
+ )
1975
+ NullableMinimalRepositoryVariant0LicenseVariant0 = TypedDict(
1976
+ "NullableMinimalRepositoryVariant0LicenseVariant0",
1977
+ {
1978
+ "key": NotRequired["str"],
1979
+ "name": NotRequired["str"],
1980
+ "node_id": NotRequired["str"],
1981
+ "spdx_id": NotRequired["str"],
1982
+ "url": NotRequired["str | None"],
1983
+ },
1984
+ total=False,
1985
+ )
1986
+ NullableMinimalRepositoryVariant0Permissions = TypedDict(
1987
+ "NullableMinimalRepositoryVariant0Permissions",
1988
+ {
1989
+ "admin": NotRequired["bool"],
1990
+ "maintain": NotRequired["bool"],
1991
+ "pull": NotRequired["bool"],
1992
+ "push": NotRequired["bool"],
1993
+ "triage": NotRequired["bool"],
1994
+ },
1995
+ total=False,
1996
+ )
1997
+ NullableOrganizationSimple: TypeAlias = "NullableOrganizationSimpleVariant0 | None"
1998
+ NullableOrganizationSimpleVariant0 = TypedDict(
1999
+ "NullableOrganizationSimpleVariant0",
2000
+ {
2001
+ "avatar_url": Required["str"],
2002
+ "description": Required["str | None"],
2003
+ "events_url": Required["str"],
2004
+ "hooks_url": Required["str"],
2005
+ "id": Required["int"],
2006
+ "issues_url": Required["str"],
2007
+ "login": Required["str"],
2008
+ "members_url": Required["str"],
2009
+ "node_id": Required["str"],
2010
+ "public_members_url": Required["str"],
2011
+ "repos_url": Required["str"],
2012
+ "url": Required["str"],
2013
+ },
2014
+ total=False,
2015
+ )
2016
+ NullablePinnedIssueComment: TypeAlias = "NullablePinnedIssueCommentVariant0 | None"
2017
+ NullablePinnedIssueCommentVariant0 = TypedDict(
2018
+ "NullablePinnedIssueCommentVariant0",
2019
+ {"pinned_at": Required["str"], "pinned_by": Required["NullableSimpleUser"]},
2020
+ total=False,
2021
+ )
2022
+ NullableProjectsV2StatusUpdate: TypeAlias = "NullableProjectsV2StatusUpdateVariant0 | None"
2023
+ NullableProjectsV2StatusUpdateVariant0 = TypedDict(
2024
+ "NullableProjectsV2StatusUpdateVariant0",
2025
+ {
2026
+ "body": NotRequired["str | None"],
2027
+ "created_at": Required["str"],
2028
+ "creator": NotRequired["SimpleUser"],
2029
+ "id": Required["float"],
2030
+ "node_id": Required["str"],
2031
+ "project_node_id": NotRequired["str"],
2032
+ "start_date": NotRequired["str"],
2033
+ "status": NotRequired[
2034
+ "Literal['INACTIVE', 'ON_TRACK', 'AT_RISK', 'OFF_TRACK', 'COMPLETE'] | None"
2035
+ ],
2036
+ "target_date": NotRequired["str"],
2037
+ "updated_at": Required["str"],
2038
+ },
2039
+ total=False,
2040
+ )
2041
+ NullableRepository: TypeAlias = "NullableRepositoryVariant0 | None"
2042
+ NullableRepositoryVariant0 = TypedDict(
2043
+ "NullableRepositoryVariant0",
2044
+ {
2045
+ "allow_auto_merge": NotRequired["bool"],
2046
+ "allow_forking": NotRequired["bool"],
2047
+ "allow_merge_commit": NotRequired["bool"],
2048
+ "allow_rebase_merge": NotRequired["bool"],
2049
+ "allow_squash_merge": NotRequired["bool"],
2050
+ "allow_update_branch": NotRequired["bool"],
2051
+ "anonymous_access_enabled": NotRequired["bool"],
2052
+ "archive_url": Required["str"],
2053
+ "archived": Required["bool"],
2054
+ "assignees_url": Required["str"],
2055
+ "blobs_url": Required["str"],
2056
+ "branches_url": Required["str"],
2057
+ "clone_url": Required["str"],
2058
+ "code_search_index_status": NotRequired["NullableRepositoryVariant0CodeSearchIndexStatus"],
2059
+ "collaborators_url": Required["str"],
2060
+ "comments_url": Required["str"],
2061
+ "commits_url": Required["str"],
2062
+ "compare_url": Required["str"],
2063
+ "contents_url": Required["str"],
2064
+ "contributors_url": Required["str"],
2065
+ "created_at": Required["str | None"],
2066
+ "default_branch": Required["str"],
2067
+ "delete_branch_on_merge": NotRequired["bool"],
2068
+ "deployments_url": Required["str"],
2069
+ "description": Required["str | None"],
2070
+ "disabled": Required["bool"],
2071
+ "downloads_url": Required["str"],
2072
+ "events_url": Required["str"],
2073
+ "fork": Required["bool"],
2074
+ "forks": Required["int"],
2075
+ "forks_count": Required["int"],
2076
+ "forks_url": Required["str"],
2077
+ "full_name": Required["str"],
2078
+ "git_commits_url": Required["str"],
2079
+ "git_refs_url": Required["str"],
2080
+ "git_tags_url": Required["str"],
2081
+ "git_url": Required["str"],
2082
+ "has_discussions": NotRequired["bool"],
2083
+ "has_issues": Required["bool"],
2084
+ "has_pages": Required["bool"],
2085
+ "has_projects": Required["bool"],
2086
+ "has_pull_requests": NotRequired["bool"],
2087
+ "has_wiki": Required["bool"],
2088
+ "homepage": Required["str | None"],
2089
+ "hooks_url": Required["str"],
2090
+ "html_url": Required["str"],
2091
+ "id": Required["int"],
2092
+ "is_template": NotRequired["bool"],
2093
+ "issue_comment_url": Required["str"],
2094
+ "issue_events_url": Required["str"],
2095
+ "issues_url": Required["str"],
2096
+ "keys_url": Required["str"],
2097
+ "labels_url": Required["str"],
2098
+ "language": Required["str | None"],
2099
+ "languages_url": Required["str"],
2100
+ "license": Required["NullableLicenseSimple"],
2101
+ "merge_commit_message": NotRequired["Literal['PR_BODY', 'PR_TITLE', 'BLANK']"],
2102
+ "merge_commit_title": NotRequired["Literal['PR_TITLE', 'MERGE_MESSAGE']"],
2103
+ "merges_url": Required["str"],
2104
+ "milestones_url": Required["str"],
2105
+ "mirror_url": Required["str | None"],
2106
+ "name": Required["str"],
2107
+ "node_id": Required["str"],
2108
+ "notifications_url": Required["str"],
2109
+ "open_issues": Required["int"],
2110
+ "open_issues_count": Required["int"],
2111
+ "owner": Required["SimpleUser"],
2112
+ "permissions": NotRequired["NullableRepositoryVariant0Permissions"],
2113
+ "private": Required["bool"],
2114
+ "pull_request_creation_policy": NotRequired["Literal['all', 'collaborators_only']"],
2115
+ "pulls_url": Required["str"],
2116
+ "pushed_at": Required["str | None"],
2117
+ "releases_url": Required["str"],
2118
+ "size": Required["int"],
2119
+ "squash_merge_commit_message": NotRequired[
2120
+ "Literal['PR_BODY', 'COMMIT_MESSAGES', 'BLANK']"
2121
+ ],
2122
+ "squash_merge_commit_title": NotRequired["Literal['PR_TITLE', 'COMMIT_OR_PR_TITLE']"],
2123
+ "ssh_url": Required["str"],
2124
+ "stargazers_count": Required["int"],
2125
+ "stargazers_url": Required["str"],
2126
+ "starred_at": NotRequired["str"],
2127
+ "statuses_url": Required["str"],
2128
+ "subscribers_url": Required["str"],
2129
+ "subscription_url": Required["str"],
2130
+ "svn_url": Required["str"],
2131
+ "tags_url": Required["str"],
2132
+ "teams_url": Required["str"],
2133
+ "temp_clone_token": NotRequired["str"],
2134
+ "topics": NotRequired["list[str]"],
2135
+ "trees_url": Required["str"],
2136
+ "updated_at": Required["str | None"],
2137
+ "url": Required["str"],
2138
+ "visibility": NotRequired["str"],
2139
+ "watchers": Required["int"],
2140
+ "watchers_count": Required["int"],
2141
+ "web_commit_signoff_required": NotRequired["bool"],
2142
+ },
2143
+ total=False,
2144
+ )
2145
+ NullableRepositoryVariant0CodeSearchIndexStatus = TypedDict(
2146
+ "NullableRepositoryVariant0CodeSearchIndexStatus",
2147
+ {"lexical_commit_sha": NotRequired["str"], "lexical_search_ok": NotRequired["bool"]},
2148
+ total=False,
2149
+ )
2150
+ NullableRepositoryVariant0Permissions = TypedDict(
2151
+ "NullableRepositoryVariant0Permissions",
2152
+ {
2153
+ "admin": Required["bool"],
2154
+ "maintain": NotRequired["bool"],
2155
+ "pull": Required["bool"],
2156
+ "push": Required["bool"],
2157
+ "triage": NotRequired["bool"],
2158
+ },
2159
+ total=False,
2160
+ )
2161
+ NullableRepositoryWebhooks: TypeAlias = "NullableRepositoryWebhooksVariant0 | None"
2162
+ NullableRepositoryWebhooksVariant0 = TypedDict(
2163
+ "NullableRepositoryWebhooksVariant0",
2164
+ {
2165
+ "allow_auto_merge": NotRequired["bool"],
2166
+ "allow_forking": NotRequired["bool"],
2167
+ "allow_merge_commit": NotRequired["bool"],
2168
+ "allow_rebase_merge": NotRequired["bool"],
2169
+ "allow_squash_merge": NotRequired["bool"],
2170
+ "allow_update_branch": NotRequired["bool"],
2171
+ "anonymous_access_enabled": NotRequired["bool"],
2172
+ "archive_url": Required["str"],
2173
+ "archived": Required["bool"],
2174
+ "assignees_url": Required["str"],
2175
+ "blobs_url": Required["str"],
2176
+ "branches_url": Required["str"],
2177
+ "clone_url": Required["str"],
2178
+ "collaborators_url": Required["str"],
2179
+ "comments_url": Required["str"],
2180
+ "commits_url": Required["str"],
2181
+ "compare_url": Required["str"],
2182
+ "contents_url": Required["str"],
2183
+ "contributors_url": Required["str"],
2184
+ "created_at": Required["str | None"],
2185
+ "custom_properties": NotRequired["dict[str, object]"],
2186
+ "default_branch": Required["str"],
2187
+ "delete_branch_on_merge": NotRequired["bool"],
2188
+ "deployments_url": Required["str"],
2189
+ "description": Required["str | None"],
2190
+ "disabled": Required["bool"],
2191
+ "downloads_url": Required["str"],
2192
+ "events_url": Required["str"],
2193
+ "fork": Required["bool"],
2194
+ "forks": Required["int"],
2195
+ "forks_count": Required["int"],
2196
+ "forks_url": Required["str"],
2197
+ "full_name": Required["str"],
2198
+ "git_commits_url": Required["str"],
2199
+ "git_refs_url": Required["str"],
2200
+ "git_tags_url": Required["str"],
2201
+ "git_url": Required["str"],
2202
+ "has_discussions": NotRequired["bool"],
2203
+ "has_downloads": Required["bool"],
2204
+ "has_issues": Required["bool"],
2205
+ "has_pages": Required["bool"],
2206
+ "has_projects": Required["bool"],
2207
+ "has_pull_requests": NotRequired["bool"],
2208
+ "has_wiki": Required["bool"],
2209
+ "homepage": Required["str | None"],
2210
+ "hooks_url": Required["str"],
2211
+ "html_url": Required["str"],
2212
+ "id": Required["int"],
2213
+ "is_template": NotRequired["bool"],
2214
+ "issue_comment_url": Required["str"],
2215
+ "issue_events_url": Required["str"],
2216
+ "issues_url": Required["str"],
2217
+ "keys_url": Required["str"],
2218
+ "labels_url": Required["str"],
2219
+ "language": Required["str | None"],
2220
+ "languages_url": Required["str"],
2221
+ "license": Required["NullableLicenseSimple"],
2222
+ "merge_commit_message": NotRequired["Literal['PR_BODY', 'PR_TITLE', 'BLANK']"],
2223
+ "merge_commit_title": NotRequired["Literal['PR_TITLE', 'MERGE_MESSAGE']"],
2224
+ "merges_url": Required["str"],
2225
+ "milestones_url": Required["str"],
2226
+ "mirror_url": Required["str | None"],
2227
+ "name": Required["str"],
2228
+ "network_count": NotRequired["int"],
2229
+ "node_id": Required["str"],
2230
+ "notifications_url": Required["str"],
2231
+ "open_issues": Required["int"],
2232
+ "open_issues_count": Required["int"],
2233
+ "organization": NotRequired["NullableSimpleUser"],
2234
+ "owner": Required["SimpleUser"],
2235
+ "permissions": NotRequired["NullableRepositoryWebhooksVariant0Permissions"],
2236
+ "private": Required["bool"],
2237
+ "pull_request_creation_policy": NotRequired["Literal['all', 'collaborators_only']"],
2238
+ "pulls_url": Required["str"],
2239
+ "pushed_at": Required["str | None"],
2240
+ "releases_url": Required["str"],
2241
+ "size": Required["int"],
2242
+ "squash_merge_commit_message": NotRequired[
2243
+ "Literal['PR_BODY', 'COMMIT_MESSAGES', 'BLANK']"
2244
+ ],
2245
+ "squash_merge_commit_title": NotRequired["Literal['PR_TITLE', 'COMMIT_OR_PR_TITLE']"],
2246
+ "ssh_url": Required["str"],
2247
+ "stargazers_count": Required["int"],
2248
+ "stargazers_url": Required["str"],
2249
+ "starred_at": NotRequired["str"],
2250
+ "statuses_url": Required["str"],
2251
+ "subscribers_count": NotRequired["int"],
2252
+ "subscribers_url": Required["str"],
2253
+ "subscription_url": Required["str"],
2254
+ "svn_url": Required["str"],
2255
+ "tags_url": Required["str"],
2256
+ "teams_url": Required["str"],
2257
+ "temp_clone_token": NotRequired["str"],
2258
+ "template_repository": NotRequired[
2259
+ "NullableRepositoryWebhooksVariant0TemplateRepositoryVariant0 | None"
2260
+ ],
2261
+ "topics": NotRequired["list[str]"],
2262
+ "trees_url": Required["str"],
2263
+ "updated_at": Required["str | None"],
2264
+ "url": Required["str"],
2265
+ "visibility": NotRequired["str"],
2266
+ "watchers": Required["int"],
2267
+ "watchers_count": Required["int"],
2268
+ "web_commit_signoff_required": NotRequired["bool"],
2269
+ },
2270
+ total=False,
2271
+ )
2272
+ NullableRepositoryWebhooksVariant0Permissions = TypedDict(
2273
+ "NullableRepositoryWebhooksVariant0Permissions",
2274
+ {
2275
+ "admin": Required["bool"],
2276
+ "maintain": NotRequired["bool"],
2277
+ "pull": Required["bool"],
2278
+ "push": Required["bool"],
2279
+ "triage": NotRequired["bool"],
2280
+ },
2281
+ total=False,
2282
+ )
2283
+ NullableRepositoryWebhooksVariant0TemplateRepositoryVariant0 = TypedDict(
2284
+ "NullableRepositoryWebhooksVariant0TemplateRepositoryVariant0",
2285
+ {
2286
+ "allow_auto_merge": NotRequired["bool"],
2287
+ "allow_merge_commit": NotRequired["bool"],
2288
+ "allow_rebase_merge": NotRequired["bool"],
2289
+ "allow_squash_merge": NotRequired["bool"],
2290
+ "allow_update_branch": NotRequired["bool"],
2291
+ "archive_url": NotRequired["str"],
2292
+ "archived": NotRequired["bool"],
2293
+ "assignees_url": NotRequired["str"],
2294
+ "blobs_url": NotRequired["str"],
2295
+ "branches_url": NotRequired["str"],
2296
+ "clone_url": NotRequired["str"],
2297
+ "collaborators_url": NotRequired["str"],
2298
+ "comments_url": NotRequired["str"],
2299
+ "commits_url": NotRequired["str"],
2300
+ "compare_url": NotRequired["str"],
2301
+ "contents_url": NotRequired["str"],
2302
+ "contributors_url": NotRequired["str"],
2303
+ "created_at": NotRequired["str"],
2304
+ "default_branch": NotRequired["str"],
2305
+ "delete_branch_on_merge": NotRequired["bool"],
2306
+ "deployments_url": NotRequired["str"],
2307
+ "description": NotRequired["str"],
2308
+ "disabled": NotRequired["bool"],
2309
+ "downloads_url": NotRequired["str"],
2310
+ "events_url": NotRequired["str"],
2311
+ "fork": NotRequired["bool"],
2312
+ "forks_count": NotRequired["int"],
2313
+ "forks_url": NotRequired["str"],
2314
+ "full_name": NotRequired["str"],
2315
+ "git_commits_url": NotRequired["str"],
2316
+ "git_refs_url": NotRequired["str"],
2317
+ "git_tags_url": NotRequired["str"],
2318
+ "git_url": NotRequired["str"],
2319
+ "has_downloads": NotRequired["bool"],
2320
+ "has_issues": NotRequired["bool"],
2321
+ "has_pages": NotRequired["bool"],
2322
+ "has_projects": NotRequired["bool"],
2323
+ "has_wiki": NotRequired["bool"],
2324
+ "homepage": NotRequired["str"],
2325
+ "hooks_url": NotRequired["str"],
2326
+ "html_url": NotRequired["str"],
2327
+ "id": NotRequired["int"],
2328
+ "is_template": NotRequired["bool"],
2329
+ "issue_comment_url": NotRequired["str"],
2330
+ "issue_events_url": NotRequired["str"],
2331
+ "issues_url": NotRequired["str"],
2332
+ "keys_url": NotRequired["str"],
2333
+ "labels_url": NotRequired["str"],
2334
+ "language": NotRequired["str"],
2335
+ "languages_url": NotRequired["str"],
2336
+ "merge_commit_message": NotRequired["Literal['PR_BODY', 'PR_TITLE', 'BLANK']"],
2337
+ "merge_commit_title": NotRequired["Literal['PR_TITLE', 'MERGE_MESSAGE']"],
2338
+ "merges_url": NotRequired["str"],
2339
+ "milestones_url": NotRequired["str"],
2340
+ "mirror_url": NotRequired["str"],
2341
+ "name": NotRequired["str"],
2342
+ "network_count": NotRequired["int"],
2343
+ "node_id": NotRequired["str"],
2344
+ "notifications_url": NotRequired["str"],
2345
+ "open_issues_count": NotRequired["int"],
2346
+ "owner": NotRequired["NullableRepositoryWebhooksVariant0TemplateRepositoryVariant0Owner"],
2347
+ "permissions": NotRequired[
2348
+ "NullableRepositoryWebhooksVariant0TemplateRepositoryVariant0Permissions"
2349
+ ],
2350
+ "private": NotRequired["bool"],
2351
+ "pulls_url": NotRequired["str"],
2352
+ "pushed_at": NotRequired["str"],
2353
+ "releases_url": NotRequired["str"],
2354
+ "size": NotRequired["int"],
2355
+ "squash_merge_commit_message": NotRequired[
2356
+ "Literal['PR_BODY', 'COMMIT_MESSAGES', 'BLANK']"
2357
+ ],
2358
+ "squash_merge_commit_title": NotRequired["Literal['PR_TITLE', 'COMMIT_OR_PR_TITLE']"],
2359
+ "ssh_url": NotRequired["str"],
2360
+ "stargazers_count": NotRequired["int"],
2361
+ "stargazers_url": NotRequired["str"],
2362
+ "statuses_url": NotRequired["str"],
2363
+ "subscribers_count": NotRequired["int"],
2364
+ "subscribers_url": NotRequired["str"],
2365
+ "subscription_url": NotRequired["str"],
2366
+ "svn_url": NotRequired["str"],
2367
+ "tags_url": NotRequired["str"],
2368
+ "teams_url": NotRequired["str"],
2369
+ "temp_clone_token": NotRequired["str"],
2370
+ "topics": NotRequired["list[str]"],
2371
+ "trees_url": NotRequired["str"],
2372
+ "updated_at": NotRequired["str"],
2373
+ "url": NotRequired["str"],
2374
+ "visibility": NotRequired["str"],
2375
+ "watchers_count": NotRequired["int"],
2376
+ },
2377
+ total=False,
2378
+ )
2379
+ NullableRepositoryWebhooksVariant0TemplateRepositoryVariant0Owner = TypedDict(
2380
+ "NullableRepositoryWebhooksVariant0TemplateRepositoryVariant0Owner",
2381
+ {
2382
+ "avatar_url": NotRequired["str"],
2383
+ "events_url": NotRequired["str"],
2384
+ "followers_url": NotRequired["str"],
2385
+ "following_url": NotRequired["str"],
2386
+ "gists_url": NotRequired["str"],
2387
+ "gravatar_id": NotRequired["str"],
2388
+ "html_url": NotRequired["str"],
2389
+ "id": NotRequired["int"],
2390
+ "login": NotRequired["str"],
2391
+ "node_id": NotRequired["str"],
2392
+ "organizations_url": NotRequired["str"],
2393
+ "received_events_url": NotRequired["str"],
2394
+ "repos_url": NotRequired["str"],
2395
+ "site_admin": NotRequired["bool"],
2396
+ "starred_url": NotRequired["str"],
2397
+ "subscriptions_url": NotRequired["str"],
2398
+ "type": NotRequired["str"],
2399
+ "url": NotRequired["str"],
2400
+ },
2401
+ total=False,
2402
+ )
2403
+ NullableRepositoryWebhooksVariant0TemplateRepositoryVariant0Permissions = TypedDict(
2404
+ "NullableRepositoryWebhooksVariant0TemplateRepositoryVariant0Permissions",
2405
+ {
2406
+ "admin": NotRequired["bool"],
2407
+ "maintain": NotRequired["bool"],
2408
+ "pull": NotRequired["bool"],
2409
+ "push": NotRequired["bool"],
2410
+ "triage": NotRequired["bool"],
2411
+ },
2412
+ total=False,
2413
+ )
2414
+ NullableScopedInstallation: TypeAlias = "NullableScopedInstallationVariant0 | None"
2415
+ NullableScopedInstallationVariant0 = TypedDict(
2416
+ "NullableScopedInstallationVariant0",
2417
+ {
2418
+ "account": Required["SimpleUser"],
2419
+ "has_multiple_single_files": NotRequired["bool"],
2420
+ "permissions": Required["AppPermissions"],
2421
+ "repositories_url": Required["str"],
2422
+ "repository_selection": Required["Literal['all', 'selected']"],
2423
+ "single_file_name": Required["str | None"],
2424
+ "single_file_paths": NotRequired["list[str]"],
2425
+ },
2426
+ total=False,
2427
+ )
2428
+ NullableSecretScanningFirstDetectedLocation: TypeAlias = "Union[SecretScanningLocationCommit | SecretScanningLocationWikiCommit | SecretScanningLocationIssueTitle | SecretScanningLocationIssueBody | SecretScanningLocationIssueComment | SecretScanningLocationDiscussionTitle | SecretScanningLocationDiscussionBody | SecretScanningLocationDiscussionComment | SecretScanningLocationPullRequestTitle | SecretScanningLocationPullRequestBody | SecretScanningLocationPullRequestComment | SecretScanningLocationPullRequestReview | SecretScanningLocationPullRequestReviewComment, None]"
2429
+ NullableSimpleCommit: TypeAlias = "NullableSimpleCommitVariant0 | None"
2430
+ NullableSimpleCommitVariant0 = TypedDict(
2431
+ "NullableSimpleCommitVariant0",
2432
+ {
2433
+ "author": Required["NullableSimpleCommitVariant0AuthorVariant0 | None"],
2434
+ "committer": Required["NullableSimpleCommitVariant0CommitterVariant0 | None"],
2435
+ "id": Required["str"],
2436
+ "message": Required["str"],
2437
+ "timestamp": Required["str"],
2438
+ "tree_id": Required["str"],
2439
+ },
2440
+ total=False,
2441
+ )
2442
+ NullableSimpleCommitVariant0AuthorVariant0 = TypedDict(
2443
+ "NullableSimpleCommitVariant0AuthorVariant0",
2444
+ {"email": Required["str"], "name": Required["str"]},
2445
+ total=False,
2446
+ )
2447
+ NullableSimpleCommitVariant0CommitterVariant0 = TypedDict(
2448
+ "NullableSimpleCommitVariant0CommitterVariant0",
2449
+ {"email": Required["str"], "name": Required["str"]},
2450
+ total=False,
2451
+ )
2452
+ NullableSimpleRepository: TypeAlias = "NullableSimpleRepositoryVariant0 | None"
2453
+ NullableSimpleRepositoryVariant0 = TypedDict(
2454
+ "NullableSimpleRepositoryVariant0",
2455
+ {
2456
+ "archive_url": Required["str"],
2457
+ "assignees_url": Required["str"],
2458
+ "blobs_url": Required["str"],
2459
+ "branches_url": Required["str"],
2460
+ "collaborators_url": Required["str"],
2461
+ "comments_url": Required["str"],
2462
+ "commits_url": Required["str"],
2463
+ "compare_url": Required["str"],
2464
+ "contents_url": Required["str"],
2465
+ "contributors_url": Required["str"],
2466
+ "deployments_url": Required["str"],
2467
+ "description": Required["str | None"],
2468
+ "downloads_url": Required["str"],
2469
+ "events_url": Required["str"],
2470
+ "fork": Required["bool"],
2471
+ "forks_url": Required["str"],
2472
+ "full_name": Required["str"],
2473
+ "git_commits_url": Required["str"],
2474
+ "git_refs_url": Required["str"],
2475
+ "git_tags_url": Required["str"],
2476
+ "hooks_url": Required["str"],
2477
+ "html_url": Required["str"],
2478
+ "id": Required["int"],
2479
+ "issue_comment_url": Required["str"],
2480
+ "issue_events_url": Required["str"],
2481
+ "issues_url": Required["str"],
2482
+ "keys_url": Required["str"],
2483
+ "labels_url": Required["str"],
2484
+ "languages_url": Required["str"],
2485
+ "merges_url": Required["str"],
2486
+ "milestones_url": Required["str"],
2487
+ "name": Required["str"],
2488
+ "node_id": Required["str"],
2489
+ "notifications_url": Required["str"],
2490
+ "owner": Required["SimpleUser"],
2491
+ "private": Required["bool"],
2492
+ "pulls_url": Required["str"],
2493
+ "releases_url": Required["str"],
2494
+ "stargazers_url": Required["str"],
2495
+ "statuses_url": Required["str"],
2496
+ "subscribers_url": Required["str"],
2497
+ "subscription_url": Required["str"],
2498
+ "tags_url": Required["str"],
2499
+ "teams_url": Required["str"],
2500
+ "trees_url": Required["str"],
2501
+ "url": Required["str"],
2502
+ },
2503
+ total=False,
2504
+ )
2505
+ NullableSimpleUser: TypeAlias = "NullableSimpleUserVariant0 | None"
2506
+ NullableSimpleUserVariant0 = TypedDict(
2507
+ "NullableSimpleUserVariant0",
2508
+ {
2509
+ "avatar_url": Required["str"],
2510
+ "email": NotRequired["str | None"],
2511
+ "events_url": Required["str"],
2512
+ "followers_url": Required["str"],
2513
+ "following_url": Required["str"],
2514
+ "gists_url": Required["str"],
2515
+ "gravatar_id": Required["str | None"],
2516
+ "html_url": Required["str"],
2517
+ "id": Required["int"],
2518
+ "login": Required["str"],
2519
+ "name": NotRequired["str | None"],
2520
+ "node_id": Required["str"],
2521
+ "organizations_url": Required["str"],
2522
+ "received_events_url": Required["str"],
2523
+ "repos_url": Required["str"],
2524
+ "site_admin": Required["bool"],
2525
+ "starred_at": NotRequired["str"],
2526
+ "starred_url": Required["str"],
2527
+ "subscriptions_url": Required["str"],
2528
+ "type": Required["str"],
2529
+ "url": Required["str"],
2530
+ "user_view_type": NotRequired["str"],
2531
+ },
2532
+ total=False,
2533
+ )
2534
+ NullableTeamSimple: TypeAlias = "NullableTeamSimpleVariant0 | None"
2535
+ NullableTeamSimpleVariant0 = TypedDict(
2536
+ "NullableTeamSimpleVariant0",
2537
+ {
2538
+ "description": Required["str | None"],
2539
+ "enterprise_id": NotRequired["int"],
2540
+ "html_url": Required["str"],
2541
+ "id": Required["int"],
2542
+ "ldap_dn": NotRequired["str"],
2543
+ "members_url": Required["str"],
2544
+ "name": Required["str"],
2545
+ "node_id": Required["str"],
2546
+ "notification_setting": NotRequired["str"],
2547
+ "organization_id": NotRequired["int"],
2548
+ "permission": Required["str"],
2549
+ "privacy": NotRequired["str"],
2550
+ "repositories_url": Required["str"],
2551
+ "slug": Required["str"],
2552
+ "type": Required["Literal['enterprise', 'organization']"],
2553
+ "url": Required["str"],
2554
+ },
2555
+ total=False,
2556
+ )
2557
+ OidcCustomPropertyInclusion = TypedDict(
2558
+ "OidcCustomPropertyInclusion",
2559
+ {
2560
+ "custom_property_name": Required["str"],
2561
+ "inclusion_source": Required["Literal['organization', 'enterprise']"],
2562
+ },
2563
+ total=False,
2564
+ )
2565
+ OidcCustomPropertyInclusionInput = TypedDict(
2566
+ "OidcCustomPropertyInclusionInput", {"custom_property_name": Required["str"]}, total=False
2567
+ )
2568
+ OidcCustomSub = TypedDict(
2569
+ "OidcCustomSub",
2570
+ {"include_claim_keys": Required["list[str]"], "use_immutable_subject": NotRequired["bool"]},
2571
+ total=False,
2572
+ )
2573
+ OidcCustomSubRepo = TypedDict(
2574
+ "OidcCustomSubRepo",
2575
+ {
2576
+ "include_claim_keys": NotRequired["list[str]"],
2577
+ "sub_claim_prefix": NotRequired["str"],
2578
+ "use_default": Required["bool"],
2579
+ "use_immutable_subject": NotRequired["bool"],
2580
+ },
2581
+ total=False,
2582
+ )
2583
+ OrgHook = TypedDict(
2584
+ "OrgHook",
2585
+ {
2586
+ "active": Required["bool"],
2587
+ "config": Required["OrgHookConfig"],
2588
+ "created_at": Required["str"],
2589
+ "deliveries_url": NotRequired["str"],
2590
+ "events": Required["list[str]"],
2591
+ "id": Required["int"],
2592
+ "name": Required["str"],
2593
+ "ping_url": Required["str"],
2594
+ "type": Required["str"],
2595
+ "updated_at": Required["str"],
2596
+ "url": Required["str"],
2597
+ },
2598
+ total=False,
2599
+ )
2600
+ OrgHookConfig = TypedDict(
2601
+ "OrgHookConfig",
2602
+ {
2603
+ "content_type": NotRequired["str"],
2604
+ "insecure_ssl": NotRequired["str"],
2605
+ "secret": NotRequired["str"],
2606
+ "url": NotRequired["str"],
2607
+ },
2608
+ total=False,
2609
+ )
2610
+ OrgMembership = TypedDict(
2611
+ "OrgMembership",
2612
+ {
2613
+ "direct_membership": NotRequired["bool"],
2614
+ "enterprise_teams_providing_indirect_membership": NotRequired["list[str]"],
2615
+ "organization": Required["OrganizationSimple"],
2616
+ "organization_url": Required["str"],
2617
+ "permissions": NotRequired["OrgMembershipPermissions"],
2618
+ "role": Required["Literal['admin', 'member', 'billing_manager']"],
2619
+ "state": Required["Literal['active', 'pending']"],
2620
+ "url": Required["str"],
2621
+ "user": Required["NullableSimpleUser"],
2622
+ },
2623
+ total=False,
2624
+ )
2625
+ OrgMembershipPermissions = TypedDict(
2626
+ "OrgMembershipPermissions", {"can_create_repository": Required["bool"]}, total=False
2627
+ )
2628
+ OrgPrivateRegistryConfiguration = TypedDict(
2629
+ "OrgPrivateRegistryConfiguration",
2630
+ {
2631
+ "account_id": NotRequired["str"],
2632
+ "api_host": NotRequired["str"],
2633
+ "audience": NotRequired["str"],
2634
+ "auth_type": NotRequired[
2635
+ "Literal['token', 'username_password', 'oidc_azure', 'oidc_aws', 'oidc_jfrog', 'oidc_cloudsmith', 'oidc_gcp', 'anonymous']"
2636
+ ],
2637
+ "aws_region": NotRequired["str"],
2638
+ "client_id": NotRequired["str"],
2639
+ "created_at": Required["str"],
2640
+ "domain": NotRequired["str"],
2641
+ "domain_owner": NotRequired["str"],
2642
+ "identity_mapping_name": NotRequired["str"],
2643
+ "jfrog_oidc_provider_name": NotRequired["str"],
2644
+ "name": Required["str"],
2645
+ "namespace": NotRequired["str"],
2646
+ "registry_type": Required[
2647
+ "Literal['maven_repository', 'nuget_feed', 'goproxy_server', 'npm_registry', 'rubygems_server', 'cargo_registry', 'composer_repository', 'docker_registry', 'git_source', 'helm_registry', 'hex_organization', 'hex_repository', 'pub_repository', 'python_index', 'terraform_registry']"
2648
+ ],
2649
+ "replaces_base": NotRequired["bool"],
2650
+ "role_name": NotRequired["str"],
2651
+ "service_account": NotRequired["str"],
2652
+ "service_slug": NotRequired["str"],
2653
+ "tenant_id": NotRequired["str"],
2654
+ "updated_at": Required["str"],
2655
+ "url": NotRequired["str"],
2656
+ "username": NotRequired["str | None"],
2657
+ "visibility": Required["Literal['all', 'private', 'selected']"],
2658
+ "workload_identity_provider": NotRequired["str"],
2659
+ },
2660
+ total=False,
2661
+ )
2662
+ OrgPrivateRegistryConfigurationWithSelectedRepositories = TypedDict(
2663
+ "OrgPrivateRegistryConfigurationWithSelectedRepositories",
2664
+ {
2665
+ "account_id": NotRequired["str"],
2666
+ "api_host": NotRequired["str"],
2667
+ "audience": NotRequired["str"],
2668
+ "auth_type": NotRequired[
2669
+ "Literal['token', 'username_password', 'oidc_azure', 'oidc_aws', 'oidc_jfrog', 'oidc_cloudsmith', 'oidc_gcp', 'anonymous']"
2670
+ ],
2671
+ "aws_region": NotRequired["str"],
2672
+ "client_id": NotRequired["str"],
2673
+ "created_at": Required["str"],
2674
+ "domain": NotRequired["str"],
2675
+ "domain_owner": NotRequired["str"],
2676
+ "identity_mapping_name": NotRequired["str"],
2677
+ "jfrog_oidc_provider_name": NotRequired["str"],
2678
+ "name": Required["str"],
2679
+ "namespace": NotRequired["str"],
2680
+ "registry_type": Required[
2681
+ "Literal['maven_repository', 'nuget_feed', 'goproxy_server', 'npm_registry', 'rubygems_server', 'cargo_registry', 'composer_repository', 'docker_registry', 'git_source', 'helm_registry', 'hex_organization', 'hex_repository', 'pub_repository', 'python_index', 'terraform_registry']"
2682
+ ],
2683
+ "replaces_base": NotRequired["bool"],
2684
+ "role_name": NotRequired["str"],
2685
+ "selected_repository_ids": NotRequired["list[int]"],
2686
+ "service_account": NotRequired["str"],
2687
+ "service_slug": NotRequired["str"],
2688
+ "tenant_id": NotRequired["str"],
2689
+ "updated_at": Required["str"],
2690
+ "url": NotRequired["str"],
2691
+ "username": NotRequired["str"],
2692
+ "visibility": Required["Literal['all', 'private', 'selected']"],
2693
+ "workload_identity_provider": NotRequired["str"],
2694
+ },
2695
+ total=False,
2696
+ )
2697
+ OrgRepoCustomPropertyValues = TypedDict(
2698
+ "OrgRepoCustomPropertyValues",
2699
+ {
2700
+ "properties": Required["list[CustomPropertyValue]"],
2701
+ "repository_full_name": Required["str"],
2702
+ "repository_id": Required["int"],
2703
+ "repository_name": Required["str"],
2704
+ },
2705
+ total=False,
2706
+ )
2707
+ OrgRules: TypeAlias = "RepositoryRuleCreation | RepositoryRuleUpdate | RepositoryRuleDeletion | RepositoryRuleRequiredLinearHistory | RepositoryRuleRequiredDeployments | RepositoryRuleRequiredSignatures | RepositoryRulePullRequest | RepositoryRuleRequiredStatusChecks | RepositoryRuleNonFastForward | RepositoryRuleCommitMessagePattern | RepositoryRuleCommitAuthorEmailPattern | RepositoryRuleCommitterEmailPattern | RepositoryRuleBranchNamePattern | RepositoryRuleTagNamePattern | RepositoryRuleFilePathRestriction | RepositoryRuleMaxFilePathLength | RepositoryRuleFileExtensionRestriction | RepositoryRuleMaxFileSize | RepositoryRuleWorkflows | RepositoryRuleCodeScanning | RepositoryRuleCopilotCodeReview"
2708
+ OrgRulesetConditions: TypeAlias = "dict[str, object]"
2709
+ OrganizationActionsSecret = TypedDict(
2710
+ "OrganizationActionsSecret",
2711
+ {
2712
+ "created_at": Required["str"],
2713
+ "name": Required["str"],
2714
+ "selected_repositories_url": NotRequired["str"],
2715
+ "updated_at": Required["str"],
2716
+ "visibility": Required["Literal['all', 'private', 'selected']"],
2717
+ },
2718
+ total=False,
2719
+ )
2720
+ OrganizationActionsVariable = TypedDict(
2721
+ "OrganizationActionsVariable",
2722
+ {
2723
+ "created_at": Required["str"],
2724
+ "name": Required["str"],
2725
+ "selected_repositories_url": NotRequired["str"],
2726
+ "updated_at": Required["str"],
2727
+ "value": Required["str"],
2728
+ "visibility": Required["Literal['all', 'private', 'selected']"],
2729
+ },
2730
+ total=False,
2731
+ )
2732
+ OrganizationCreateIssueField = TypedDict(
2733
+ "OrganizationCreateIssueField",
2734
+ {
2735
+ "data_type": Required["Literal['text', 'date', 'single_select', 'multi_select', 'number']"],
2736
+ "description": NotRequired["str | None"],
2737
+ "name": Required["str"],
2738
+ "options": NotRequired["list[OrganizationCreateIssueFieldOptionsVariant0Item] | None"],
2739
+ "visibility": NotRequired["Literal['organization_members_only', 'all']"],
2740
+ },
2741
+ total=False,
2742
+ )
2743
+ OrganizationCreateIssueFieldOptionsVariant0Item = TypedDict(
2744
+ "OrganizationCreateIssueFieldOptionsVariant0Item",
2745
+ {
2746
+ "color": Required[
2747
+ "Literal['gray', 'blue', 'green', 'yellow', 'orange', 'red', 'pink', 'purple']"
2748
+ ],
2749
+ "description": NotRequired["str | None"],
2750
+ "name": Required["str"],
2751
+ "priority": Required["int"],
2752
+ },
2753
+ total=False,
2754
+ )
2755
+ OrganizationCreateIssueType = TypedDict(
2756
+ "OrganizationCreateIssueType",
2757
+ {
2758
+ "color": NotRequired[
2759
+ "Literal['gray', 'blue', 'green', 'yellow', 'orange', 'red', 'pink', 'purple'] | None"
2760
+ ],
2761
+ "description": NotRequired["str | None"],
2762
+ "is_enabled": Required["bool"],
2763
+ "name": Required["str"],
2764
+ },
2765
+ total=False,
2766
+ )
2767
+ OrganizationDependabotSecret = TypedDict(
2768
+ "OrganizationDependabotSecret",
2769
+ {
2770
+ "created_at": Required["str"],
2771
+ "name": Required["str"],
2772
+ "selected_repositories_url": NotRequired["str"],
2773
+ "updated_at": Required["str"],
2774
+ "visibility": Required["Literal['all', 'private', 'selected']"],
2775
+ },
2776
+ total=False,
2777
+ )
2778
+ OrganizationExternalPropertyInstallation = TypedDict(
2779
+ "OrganizationExternalPropertyInstallation",
2780
+ {
2781
+ "display_name": Required["str"],
2782
+ "installation": Required["OrganizationExternalPropertyInstallationInstallation"],
2783
+ },
2784
+ total=False,
2785
+ )
2786
+ OrganizationExternalPropertyInstallationInstallation = TypedDict(
2787
+ "OrganizationExternalPropertyInstallationInstallation", {"id": Required["int"]}, total=False
2788
+ )
2789
+ OrganizationFull = TypedDict(
2790
+ "OrganizationFull",
2791
+ {
2792
+ "advanced_security_enabled_for_new_repositories": NotRequired["bool"],
2793
+ "archived_at": Required["str | None"],
2794
+ "avatar_url": Required["str"],
2795
+ "billing_email": NotRequired["str | None"],
2796
+ "blog": NotRequired["str | None"],
2797
+ "collaborators": NotRequired["int | None"],
2798
+ "company": NotRequired["str | None"],
2799
+ "created_at": Required["str"],
2800
+ "default_repository_branch": NotRequired["str | None"],
2801
+ "default_repository_permission": NotRequired["str | None"],
2802
+ "dependabot_alerts_enabled_for_new_repositories": NotRequired["bool"],
2803
+ "dependabot_security_updates_enabled_for_new_repositories": NotRequired["bool"],
2804
+ "dependency_graph_enabled_for_new_repositories": NotRequired["bool"],
2805
+ "deploy_keys_enabled_for_repositories": NotRequired["bool"],
2806
+ "description": Required["str | None"],
2807
+ "disk_usage": NotRequired["int | None"],
2808
+ "display_commenter_full_name_setting_enabled": NotRequired["bool"],
2809
+ "email": NotRequired["str | None"],
2810
+ "events_url": Required["str"],
2811
+ "followers": Required["int"],
2812
+ "following": Required["int"],
2813
+ "has_organization_projects": Required["bool"],
2814
+ "has_repository_projects": Required["bool"],
2815
+ "hooks_url": Required["str"],
2816
+ "html_url": Required["str"],
2817
+ "id": Required["int"],
2818
+ "is_verified": NotRequired["bool"],
2819
+ "issues_url": Required["str"],
2820
+ "location": NotRequired["str | None"],
2821
+ "login": Required["str"],
2822
+ "members_allowed_repository_creation_type": NotRequired["str"],
2823
+ "members_can_change_repo_visibility": NotRequired["bool"],
2824
+ "members_can_create_internal_repositories": NotRequired["bool"],
2825
+ "members_can_create_pages": NotRequired["bool"],
2826
+ "members_can_create_private_pages": NotRequired["bool"],
2827
+ "members_can_create_private_repositories": NotRequired["bool"],
2828
+ "members_can_create_public_pages": NotRequired["bool"],
2829
+ "members_can_create_public_repositories": NotRequired["bool"],
2830
+ "members_can_create_repositories": NotRequired["bool | None"],
2831
+ "members_can_create_teams": NotRequired["bool"],
2832
+ "members_can_delete_issues": NotRequired["bool"],
2833
+ "members_can_delete_repositories": NotRequired["bool"],
2834
+ "members_can_fork_private_repositories": NotRequired["bool | None"],
2835
+ "members_can_invite_outside_collaborators": NotRequired["bool"],
2836
+ "members_can_view_dependency_insights": NotRequired["bool"],
2837
+ "members_url": Required["str"],
2838
+ "name": NotRequired["str"],
2839
+ "node_id": Required["str"],
2840
+ "owned_private_repos": NotRequired["int"],
2841
+ "plan": NotRequired["OrganizationFullPlan"],
2842
+ "private_gists": NotRequired["int | None"],
2843
+ "public_gists": Required["int"],
2844
+ "public_members_url": Required["str"],
2845
+ "public_repos": Required["int"],
2846
+ "readers_can_create_discussions": NotRequired["bool"],
2847
+ "repos_url": Required["str"],
2848
+ "secret_scanning_enabled_for_new_repositories": NotRequired["bool"],
2849
+ "secret_scanning_push_protection_custom_link": NotRequired["str | None"],
2850
+ "secret_scanning_push_protection_enabled_for_new_repositories": NotRequired["bool"],
2851
+ "total_private_repos": NotRequired["int"],
2852
+ "twitter_username": NotRequired["str | None"],
2853
+ "two_factor_requirement_enabled": NotRequired["bool | None"],
2854
+ "type": Required["str"],
2855
+ "updated_at": Required["str"],
2856
+ "url": Required["str"],
2857
+ "web_commit_signoff_required": NotRequired["bool"],
2858
+ },
2859
+ total=False,
2860
+ )
2861
+ OrganizationFullPlan = TypedDict(
2862
+ "OrganizationFullPlan",
2863
+ {
2864
+ "filled_seats": NotRequired["int"],
2865
+ "name": Required["str"],
2866
+ "private_repos": Required["int"],
2867
+ "seats": NotRequired["int"],
2868
+ "space": Required["int"],
2869
+ },
2870
+ total=False,
2871
+ )
2872
+ OrganizationInvitation = TypedDict(
2873
+ "OrganizationInvitation",
2874
+ {
2875
+ "created_at": Required["str"],
2876
+ "email": Required["str | None"],
2877
+ "failed_at": NotRequired["str | None"],
2878
+ "failed_reason": NotRequired["str | None"],
2879
+ "id": Required["int"],
2880
+ "invitation_source": NotRequired["str"],
2881
+ "invitation_teams_url": Required["str"],
2882
+ "inviter": Required["SimpleUser"],
2883
+ "login": Required["str | None"],
2884
+ "node_id": Required["str"],
2885
+ "role": Required["str"],
2886
+ "team_count": Required["int"],
2887
+ },
2888
+ total=False,
2889
+ )
2890
+ OrganizationProgrammaticAccessGrant = TypedDict(
2891
+ "OrganizationProgrammaticAccessGrant",
2892
+ {
2893
+ "access_granted_at": Required["str"],
2894
+ "id": Required["int"],
2895
+ "owner": Required["SimpleUser"],
2896
+ "permissions": Required["OrganizationProgrammaticAccessGrantPermissions"],
2897
+ "repositories_url": Required["str"],
2898
+ "repository_selection": Required["Literal['none', 'all', 'subset']"],
2899
+ "token_expired": Required["bool"],
2900
+ "token_expires_at": Required["str | None"],
2901
+ "token_id": Required["int"],
2902
+ "token_last_used_at": Required["str | None"],
2903
+ "token_name": Required["str"],
2904
+ },
2905
+ total=False,
2906
+ )
2907
+ OrganizationProgrammaticAccessGrantPermissions = TypedDict(
2908
+ "OrganizationProgrammaticAccessGrantPermissions",
2909
+ {
2910
+ "organization": NotRequired["dict[str, str]"],
2911
+ "other": NotRequired["dict[str, str]"],
2912
+ "repository": NotRequired["dict[str, str]"],
2913
+ },
2914
+ total=False,
2915
+ )
2916
+ OrganizationProgrammaticAccessGrantRequest = TypedDict(
2917
+ "OrganizationProgrammaticAccessGrantRequest",
2918
+ {
2919
+ "created_at": Required["str"],
2920
+ "id": Required["int"],
2921
+ "owner": Required["SimpleUser"],
2922
+ "permissions": Required["OrganizationProgrammaticAccessGrantRequestPermissions"],
2923
+ "reason": Required["str | None"],
2924
+ "repositories_url": Required["str"],
2925
+ "repository_selection": Required["Literal['none', 'all', 'subset']"],
2926
+ "token_expired": Required["bool"],
2927
+ "token_expires_at": Required["str | None"],
2928
+ "token_id": Required["int"],
2929
+ "token_last_used_at": Required["str | None"],
2930
+ "token_name": Required["str"],
2931
+ },
2932
+ total=False,
2933
+ )
2934
+ OrganizationProgrammaticAccessGrantRequestPermissions = TypedDict(
2935
+ "OrganizationProgrammaticAccessGrantRequestPermissions",
2936
+ {
2937
+ "organization": NotRequired["dict[str, str]"],
2938
+ "other": NotRequired["dict[str, str]"],
2939
+ "repository": NotRequired["dict[str, str]"],
2940
+ },
2941
+ total=False,
2942
+ )
2943
+ OrganizationRole = TypedDict(
2944
+ "OrganizationRole",
2945
+ {
2946
+ "base_role": NotRequired["Literal['read', 'triage', 'write', 'maintain', 'admin'] | None"],
2947
+ "created_at": Required["str"],
2948
+ "description": NotRequired["str | None"],
2949
+ "id": Required["int"],
2950
+ "name": Required["str"],
2951
+ "organization": Required["NullableSimpleUser"],
2952
+ "permissions": Required["list[str]"],
2953
+ "source": NotRequired["Literal['Organization', 'Enterprise', 'Predefined'] | None"],
2954
+ "updated_at": Required["str"],
2955
+ },
2956
+ total=False,
2957
+ )
2958
+ OrganizationSecretScanningAlert = TypedDict(
2959
+ "OrganizationSecretScanningAlert",
2960
+ {
2961
+ "assigned_to": NotRequired["NullableSimpleUser"],
2962
+ "closure_request_comment": NotRequired["str | None"],
2963
+ "closure_request_reviewer": NotRequired["NullableSimpleUser"],
2964
+ "closure_request_reviewer_comment": NotRequired["str | None"],
2965
+ "created_at": NotRequired["AlertCreatedAt"],
2966
+ "first_location_detected": NotRequired["NullableSecretScanningFirstDetectedLocation"],
2967
+ "has_more_locations": NotRequired["bool"],
2968
+ "html_url": NotRequired["AlertHtmlUrl"],
2969
+ "is_base64_encoded": NotRequired["bool | None"],
2970
+ "locations_url": NotRequired["str"],
2971
+ "multi_repo": NotRequired["bool | None"],
2972
+ "number": NotRequired["AlertNumber"],
2973
+ "provider": NotRequired["str | None"],
2974
+ "provider_slug": NotRequired["str | None"],
2975
+ "publicly_leaked": NotRequired["bool | None"],
2976
+ "push_protection_bypass_request_comment": NotRequired["str | None"],
2977
+ "push_protection_bypass_request_html_url": NotRequired["str | None"],
2978
+ "push_protection_bypass_request_reviewer": NotRequired["NullableSimpleUser"],
2979
+ "push_protection_bypass_request_reviewer_comment": NotRequired["str | None"],
2980
+ "push_protection_bypassed": NotRequired["bool | None"],
2981
+ "push_protection_bypassed_at": NotRequired["str | None"],
2982
+ "push_protection_bypassed_by": NotRequired["NullableSimpleUser"],
2983
+ "repository": NotRequired["SimpleRepository"],
2984
+ "resolution": NotRequired["SecretScanningAlertResolution"],
2985
+ "resolution_comment": NotRequired["str | None"],
2986
+ "resolved_at": NotRequired["str | None"],
2987
+ "resolved_by": NotRequired["NullableSimpleUser"],
2988
+ "secret": NotRequired["str"],
2989
+ "secret_type": NotRequired["str"],
2990
+ "secret_type_display_name": NotRequired["str"],
2991
+ "state": NotRequired["SecretScanningAlertState"],
2992
+ "updated_at": NotRequired["NullableAlertUpdatedAt"],
2993
+ "url": NotRequired["AlertUrl"],
2994
+ "validity": NotRequired["Literal['active', 'inactive', 'unknown']"],
2995
+ },
2996
+ total=False,
2997
+ )
2998
+ OrganizationSimple = TypedDict(
2999
+ "OrganizationSimple",
3000
+ {
3001
+ "avatar_url": Required["str"],
3002
+ "description": Required["str | None"],
3003
+ "events_url": Required["str"],
3004
+ "hooks_url": Required["str"],
3005
+ "id": Required["int"],
3006
+ "issues_url": Required["str"],
3007
+ "login": Required["str"],
3008
+ "members_url": Required["str"],
3009
+ "node_id": Required["str"],
3010
+ "public_members_url": Required["str"],
3011
+ "repos_url": Required["str"],
3012
+ "url": Required["str"],
3013
+ },
3014
+ total=False,
3015
+ )
3016
+ OrganizationSimpleWebhooks = TypedDict(
3017
+ "OrganizationSimpleWebhooks",
3018
+ {
3019
+ "avatar_url": Required["str"],
3020
+ "description": Required["str | None"],
3021
+ "events_url": Required["str"],
3022
+ "hooks_url": Required["str"],
3023
+ "id": Required["int"],
3024
+ "issues_url": Required["str"],
3025
+ "login": Required["str"],
3026
+ "members_url": Required["str"],
3027
+ "node_id": Required["str"],
3028
+ "public_members_url": Required["str"],
3029
+ "repos_url": Required["str"],
3030
+ "url": Required["str"],
3031
+ },
3032
+ total=False,
3033
+ )
3034
+ OrganizationUpdateIssueField = TypedDict(
3035
+ "OrganizationUpdateIssueField",
3036
+ {
3037
+ "description": NotRequired["str | None"],
3038
+ "name": NotRequired["str"],
3039
+ "options": NotRequired["list[OrganizationUpdateIssueFieldOptionsItem]"],
3040
+ "visibility": NotRequired["Literal['organization_members_only', 'all']"],
3041
+ },
3042
+ total=False,
3043
+ )
3044
+ OrganizationUpdateIssueFieldOptionsItem = TypedDict(
3045
+ "OrganizationUpdateIssueFieldOptionsItem",
3046
+ {
3047
+ "color": Required[
3048
+ "Literal['gray', 'blue', 'green', 'yellow', 'orange', 'red', 'pink', 'purple']"
3049
+ ],
3050
+ "description": NotRequired["str | None"],
3051
+ "id": NotRequired["int"],
3052
+ "name": Required["str"],
3053
+ "priority": Required["int"],
3054
+ },
3055
+ total=False,
3056
+ )
3057
+ OrganizationUpdateIssueType = TypedDict(
3058
+ "OrganizationUpdateIssueType",
3059
+ {
3060
+ "color": NotRequired[
3061
+ "Literal['gray', 'blue', 'green', 'yellow', 'orange', 'red', 'pink', 'purple'] | None"
3062
+ ],
3063
+ "description": NotRequired["str | None"],
3064
+ "is_enabled": Required["bool"],
3065
+ "name": Required["str"],
3066
+ },
3067
+ total=False,
3068
+ )
3069
+ OutputactionsArtifactAndLogRetentionResponse = TypedDict(
3070
+ "OutputactionsArtifactAndLogRetentionResponse",
3071
+ {"days": Required["int | str"], "maximum_allowed_days": Required["int | str"]},
3072
+ total=False,
3073
+ )
3074
+ OutputactionsCacheList = TypedDict(
3075
+ "OutputactionsCacheList",
3076
+ {
3077
+ "actions_caches": Required["list[OutputactionsCacheListActionsCachesItem]"],
3078
+ "total_count": Required["int | str"],
3079
+ },
3080
+ total=False,
3081
+ )
3082
+ OutputactionsCacheListActionsCachesItem = TypedDict(
3083
+ "OutputactionsCacheListActionsCachesItem",
3084
+ {
3085
+ "created_at": NotRequired["str"],
3086
+ "id": NotRequired["int | str"],
3087
+ "key": NotRequired["str"],
3088
+ "last_accessed_at": NotRequired["str"],
3089
+ "ref": NotRequired["str"],
3090
+ "size_in_bytes": NotRequired["int | str"],
3091
+ "version": NotRequired["str"],
3092
+ },
3093
+ total=False,
3094
+ )
3095
+ OutputactionsCacheRetentionLimitForEnterprise = TypedDict(
3096
+ "OutputactionsCacheRetentionLimitForEnterprise",
3097
+ {"max_cache_retention_days": NotRequired["int | str"]},
3098
+ total=False,
3099
+ )
3100
+ OutputactionsCacheRetentionLimitForOrganization = TypedDict(
3101
+ "OutputactionsCacheRetentionLimitForOrganization",
3102
+ {"max_cache_retention_days": NotRequired["int | str"]},
3103
+ total=False,
3104
+ )
3105
+ OutputactionsCacheRetentionLimitForRepository = TypedDict(
3106
+ "OutputactionsCacheRetentionLimitForRepository",
3107
+ {"max_cache_retention_days": NotRequired["int | str"]},
3108
+ total=False,
3109
+ )
3110
+ OutputactionsCacheStorageLimitForEnterprise = TypedDict(
3111
+ "OutputactionsCacheStorageLimitForEnterprise",
3112
+ {"max_cache_size_gb": NotRequired["int | str"]},
3113
+ total=False,
3114
+ )
3115
+ OutputactionsCacheStorageLimitForOrganization = TypedDict(
3116
+ "OutputactionsCacheStorageLimitForOrganization",
3117
+ {"max_cache_size_gb": NotRequired["int | str"]},
3118
+ total=False,
3119
+ )
3120
+ OutputactionsCacheStorageLimitForRepository = TypedDict(
3121
+ "OutputactionsCacheStorageLimitForRepository",
3122
+ {"max_cache_size_gb": NotRequired["int | str"]},
3123
+ total=False,
3124
+ )
3125
+ OutputactionsCacheUsageByRepository = TypedDict(
3126
+ "OutputactionsCacheUsageByRepository",
3127
+ {
3128
+ "active_caches_count": Required["int | str"],
3129
+ "active_caches_size_in_bytes": Required["int | str"],
3130
+ "full_name": Required["str"],
3131
+ },
3132
+ total=False,
3133
+ )
3134
+ OutputactionsCacheUsageOrgEnterprise = TypedDict(
3135
+ "OutputactionsCacheUsageOrgEnterprise",
3136
+ {
3137
+ "total_active_caches_count": Required["int | str"],
3138
+ "total_active_caches_size_in_bytes": Required["int | str"],
3139
+ },
3140
+ total=False,
3141
+ )
3142
+ OutputactionsCanApprovePullRequestReviews: TypeAlias = "bool"
3143
+ OutputactionsDefaultWorkflowPermissions: TypeAlias = "str"
3144
+ OutputactionsEnabled: TypeAlias = "bool"
3145
+ OutputactionsForkPrContributorApproval = TypedDict(
3146
+ "OutputactionsForkPrContributorApproval", {"approval_policy": Required["str"]}, total=False
3147
+ )
3148
+ OutputactionsForkPrWorkflowsPrivateRepos = TypedDict(
3149
+ "OutputactionsForkPrWorkflowsPrivateRepos",
3150
+ {
3151
+ "require_approval_for_fork_pr_workflows": Required["bool"],
3152
+ "run_workflows_from_fork_pull_requests": Required["bool"],
3153
+ "send_secrets_and_variables": Required["bool"],
3154
+ "send_write_tokens_to_workflows": Required["bool"],
3155
+ },
3156
+ total=False,
3157
+ )
3158
+ OutputactionsGetDefaultWorkflowPermissions = TypedDict(
3159
+ "OutputactionsGetDefaultWorkflowPermissions",
3160
+ {
3161
+ "can_approve_pull_request_reviews": Required["OutputactionsCanApprovePullRequestReviews"],
3162
+ "default_workflow_permissions": Required["OutputactionsDefaultWorkflowPermissions"],
3163
+ },
3164
+ total=False,
3165
+ )
3166
+ OutputactionsHostedRunner = TypedDict(
3167
+ "OutputactionsHostedRunner",
3168
+ {
3169
+ "id": Required["int | str"],
3170
+ "image_details": Required["OutputnullableActionsHostedRunnerPoolImage"],
3171
+ "image_gen": NotRequired["bool"],
3172
+ "last_active_on": NotRequired["str | None"],
3173
+ "machine_size_details": Required["OutputactionsHostedRunnerMachineSpec"],
3174
+ "maximum_runners": NotRequired["int | str"],
3175
+ "name": Required["str"],
3176
+ "platform": Required["str"],
3177
+ "public_ip_enabled": Required["bool"],
3178
+ "public_ips": NotRequired["list[OutputpublicIp]"],
3179
+ "runner_group_id": NotRequired["int | str"],
3180
+ "status": Required["str"],
3181
+ },
3182
+ total=False,
3183
+ )
3184
+ OutputactionsHostedRunnerCuratedImage = TypedDict(
3185
+ "OutputactionsHostedRunnerCuratedImage",
3186
+ {
3187
+ "display_name": Required["str"],
3188
+ "id": Required["str"],
3189
+ "platform": Required["str"],
3190
+ "size_gb": Required["int | str"],
3191
+ "source": Required["str"],
3192
+ },
3193
+ total=False,
3194
+ )
3195
+ OutputactionsHostedRunnerCustomImage = TypedDict(
3196
+ "OutputactionsHostedRunnerCustomImage",
3197
+ {
3198
+ "id": Required["int | str"],
3199
+ "latest_version": Required["str"],
3200
+ "name": Required["str"],
3201
+ "platform": Required["str"],
3202
+ "source": Required["str"],
3203
+ "state": Required["str"],
3204
+ "total_versions_size": Required["int | str"],
3205
+ "versions_count": Required["int | str"],
3206
+ },
3207
+ total=False,
3208
+ )
3209
+ OutputactionsHostedRunnerCustomImageVersion = TypedDict(
3210
+ "OutputactionsHostedRunnerCustomImageVersion",
3211
+ {
3212
+ "created_on": Required["str"],
3213
+ "size_gb": Required["int | str"],
3214
+ "state": Required["str"],
3215
+ "state_details": Required["str"],
3216
+ "version": Required["str"],
3217
+ },
3218
+ total=False,
3219
+ )
3220
+ OutputactionsHostedRunnerLimits = TypedDict(
3221
+ "OutputactionsHostedRunnerLimits",
3222
+ {"public_ips": Required["OutputactionsHostedRunnerLimitsPublicIps"]},
3223
+ total=False,
3224
+ )
3225
+ OutputactionsHostedRunnerLimitsPublicIps = TypedDict(
3226
+ "OutputactionsHostedRunnerLimitsPublicIps",
3227
+ {"current_usage": Required["int | str"], "maximum": Required["int | str"]},
3228
+ total=False,
3229
+ )
3230
+ OutputactionsHostedRunnerMachineSpec = TypedDict(
3231
+ "OutputactionsHostedRunnerMachineSpec",
3232
+ {
3233
+ "cpu_cores": Required["int | str"],
3234
+ "id": Required["str"],
3235
+ "memory_gb": Required["int | str"],
3236
+ "storage_gb": Required["int | str"],
3237
+ },
3238
+ total=False,
3239
+ )
3240
+ OutputactionsOrganizationPermissions = TypedDict(
3241
+ "OutputactionsOrganizationPermissions",
3242
+ {
3243
+ "allowed_actions": NotRequired["OutputallowedActions"],
3244
+ "enabled_repositories": Required["OutputenabledRepositories"],
3245
+ "selected_actions_url": NotRequired["OutputselectedActionsUrl"],
3246
+ "selected_repositories_url": NotRequired["str"],
3247
+ "sha_pinning_required": NotRequired["OutputshaPinningRequired"],
3248
+ },
3249
+ total=False,
3250
+ )
3251
+ OutputactionsPolicy = TypedDict(
3252
+ "OutputactionsPolicy",
3253
+ {
3254
+ "_links": NotRequired["OutputactionsPolicyLinks"],
3255
+ "conditions": NotRequired[
3256
+ "Union[Union[OutputactionsPolicyRepoConditions, OutputactionsPolicyOrgConditions, OutputactionsPolicyEnterpriseConditions], None]"
3257
+ ],
3258
+ "created_at": NotRequired["str"],
3259
+ "enforcement": Required["OutputrepositoryRuleEnforcement"],
3260
+ "id": Required["int | str"],
3261
+ "name": Required["str"],
3262
+ "node_id": NotRequired["str"],
3263
+ "rules": NotRequired["list[OutputactionsRule]"],
3264
+ "source": Required["str"],
3265
+ "source_type": Required["str"],
3266
+ "target": Required["str"],
3267
+ "updated_at": NotRequired["str"],
3268
+ },
3269
+ total=False,
3270
+ )
3271
+ OutputactionsPolicyEnterpriseConditions: TypeAlias = "dict[str, object]"
3272
+ OutputactionsPolicyLinks = TypedDict(
3273
+ "OutputactionsPolicyLinks",
3274
+ {
3275
+ "html": NotRequired["OutputactionsPolicyLinksHtml"],
3276
+ "self": NotRequired["OutputactionsPolicyLinksSelf"],
3277
+ },
3278
+ total=False,
3279
+ )
3280
+ OutputactionsPolicyLinksHtml = TypedDict(
3281
+ "OutputactionsPolicyLinksHtml", {"href": NotRequired["str"]}, total=False
3282
+ )
3283
+ OutputactionsPolicyLinksSelf = TypedDict(
3284
+ "OutputactionsPolicyLinksSelf", {"href": NotRequired["str"]}, total=False
3285
+ )
3286
+ OutputactionsPolicyOrgConditions: TypeAlias = "dict[str, object]"
3287
+ OutputactionsPolicyRepoConditions: TypeAlias = "dict[str, object]"
3288
+ OutputactionsPolicyWorkflowPathCondition = TypedDict(
3289
+ "OutputactionsPolicyWorkflowPathCondition",
3290
+ {"workflow_path": NotRequired["OutputactionsPolicyWorkflowPathConditionWorkflowPath"]},
3291
+ total=False,
3292
+ )
3293
+ OutputactionsPolicyWorkflowPathConditionWorkflowPath = TypedDict(
3294
+ "OutputactionsPolicyWorkflowPathConditionWorkflowPath",
3295
+ {"exclude": Required["list[str]"], "include": Required["list[str]"]},
3296
+ total=False,
3297
+ )
3298
+ OutputactionsPublicKey = TypedDict(
3299
+ "OutputactionsPublicKey",
3300
+ {
3301
+ "created_at": NotRequired["str"],
3302
+ "id": NotRequired["int | str"],
3303
+ "key": Required["str"],
3304
+ "key_id": Required["str"],
3305
+ "title": NotRequired["str"],
3306
+ "url": NotRequired["str"],
3307
+ },
3308
+ total=False,
3309
+ )
3310
+ OutputactionsRepositoryPermissions = TypedDict(
3311
+ "OutputactionsRepositoryPermissions",
3312
+ {
3313
+ "allowed_actions": NotRequired["OutputallowedActions"],
3314
+ "enabled": Required["OutputactionsEnabled"],
3315
+ "selected_actions_url": NotRequired["OutputselectedActionsUrl"],
3316
+ "sha_pinning_required": NotRequired["OutputshaPinningRequired"],
3317
+ },
3318
+ total=False,
3319
+ )
3320
+ OutputactionsRule: TypeAlias = "dict[str, object]"
3321
+ OutputactionsRuleParamsActor = TypedDict(
3322
+ "OutputactionsRuleParamsActor",
3323
+ {"id": Required["int | str"], "type": Required["str"]},
3324
+ total=False,
3325
+ )
3326
+ OutputactionsRuleRestrictActionEvents = TypedDict(
3327
+ "OutputactionsRuleRestrictActionEvents",
3328
+ {
3329
+ "parameters": NotRequired["OutputactionsRuleRestrictActionEventsParameters"],
3330
+ "type": Required["str"],
3331
+ },
3332
+ total=False,
3333
+ )
3334
+ OutputactionsRuleRestrictActionEventsParameters = TypedDict(
3335
+ "OutputactionsRuleRestrictActionEventsParameters",
3336
+ {"allowed_events": Required["list[str]"]},
3337
+ total=False,
3338
+ )
3339
+ OutputactionsRuleRestrictActionsActors = TypedDict(
3340
+ "OutputactionsRuleRestrictActionsActors",
3341
+ {
3342
+ "parameters": NotRequired["OutputactionsRuleRestrictActionsActorsParameters"],
3343
+ "type": Required["str"],
3344
+ },
3345
+ total=False,
3346
+ )
3347
+ OutputactionsRuleRestrictActionsActorsParameters = TypedDict(
3348
+ "OutputactionsRuleRestrictActionsActorsParameters",
3349
+ {"allowed_actors": Required["list[OutputactionsRuleParamsActor]"]},
3350
+ total=False,
3351
+ )
3352
+ OutputactionsSecret = TypedDict(
3353
+ "OutputactionsSecret",
3354
+ {"created_at": Required["str"], "name": Required["str"], "updated_at": Required["str"]},
3355
+ total=False,
3356
+ )
3357
+ OutputactionsVariable = TypedDict(
3358
+ "OutputactionsVariable",
3359
+ {
3360
+ "created_at": Required["str"],
3361
+ "name": Required["str"],
3362
+ "updated_at": Required["str"],
3363
+ "value": Required["str"],
3364
+ },
3365
+ total=False,
3366
+ )
3367
+ OutputactionsWorkflowAccessToRepository = TypedDict(
3368
+ "OutputactionsWorkflowAccessToRepository", {"access_level": Required["str"]}, total=False
3369
+ )
3370
+ Outputactivity = TypedDict(
3371
+ "Outputactivity",
3372
+ {
3373
+ "activity_type": Required["str"],
3374
+ "actor": Required["OutputnullableSimpleUser"],
3375
+ "after": Required["str"],
3376
+ "before": Required["str"],
3377
+ "id": Required["int | str"],
3378
+ "node_id": Required["str"],
3379
+ "ref": Required["str"],
3380
+ "timestamp": Required["str"],
3381
+ },
3382
+ total=False,
3383
+ )
3384
+ Outputactor = TypedDict(
3385
+ "Outputactor",
3386
+ {
3387
+ "avatar_url": Required["str"],
3388
+ "display_login": NotRequired["str"],
3389
+ "gravatar_id": Required["str | None"],
3390
+ "id": Required["int | str"],
3391
+ "login": Required["str"],
3392
+ "url": Required["str"],
3393
+ },
3394
+ total=False,
3395
+ )
3396
+ OutputaddedToProjectIssueEvent = TypedDict(
3397
+ "OutputaddedToProjectIssueEvent",
3398
+ {
3399
+ "actor": Required["OutputsimpleUser"],
3400
+ "commit_id": Required["str | None"],
3401
+ "commit_url": Required["str | None"],
3402
+ "created_at": Required["str"],
3403
+ "event": Required["str"],
3404
+ "id": Required["int | str"],
3405
+ "node_id": Required["str"],
3406
+ "performed_via_github_app": Required["OutputnullableIntegration"],
3407
+ "project_card": NotRequired["OutputaddedToProjectIssueEventProjectCard"],
3408
+ "url": Required["str"],
3409
+ },
3410
+ total=False,
3411
+ )
3412
+ OutputaddedToProjectIssueEventProjectCard = TypedDict(
3413
+ "OutputaddedToProjectIssueEventProjectCard",
3414
+ {
3415
+ "column_name": Required["str"],
3416
+ "id": Required["int | str"],
3417
+ "previous_column_name": NotRequired["str"],
3418
+ "project_id": Required["int | str"],
3419
+ "project_url": Required["str"],
3420
+ "url": Required["str"],
3421
+ },
3422
+ total=False,
3423
+ )
3424
+ OutputalertAutoDismissedAt: TypeAlias = "str | None"
3425
+ OutputalertCreatedAt: TypeAlias = "str"
3426
+ OutputalertDismissedAt: TypeAlias = "str | None"
3427
+ OutputalertFixedAt: TypeAlias = "str | None"
3428
+ OutputalertHtmlUrl: TypeAlias = "str"
3429
+ OutputalertInstancesUrl: TypeAlias = "str"
3430
+ OutputalertNumber: TypeAlias = "int | str"
3431
+ OutputalertUpdatedAt: TypeAlias = "str"
3432
+ OutputalertUrl: TypeAlias = "str"
3433
+ OutputallowedActions: TypeAlias = "str"
3434
+ OutputapiInsightsRouteStats: TypeAlias = "list[OutputapiInsightsRouteStatsItem]"
3435
+ OutputapiInsightsRouteStatsItem = TypedDict(
3436
+ "OutputapiInsightsRouteStatsItem",
3437
+ {
3438
+ "api_route": NotRequired["str"],
3439
+ "http_method": NotRequired["str"],
3440
+ "last_rate_limited_timestamp": NotRequired["str | None"],
3441
+ "last_request_timestamp": NotRequired["str"],
3442
+ "rate_limited_request_count": NotRequired["int | str"],
3443
+ "total_request_count": NotRequired["int | str"],
3444
+ },
3445
+ total=False,
3446
+ )
3447
+ OutputapiInsightsSubjectStats: TypeAlias = "list[OutputapiInsightsSubjectStatsItem]"
3448
+ OutputapiInsightsSubjectStatsItem = TypedDict(
3449
+ "OutputapiInsightsSubjectStatsItem",
3450
+ {
3451
+ "last_rate_limited_timestamp": NotRequired["str | None"],
3452
+ "last_request_timestamp": NotRequired["str"],
3453
+ "rate_limited_request_count": NotRequired["int | str"],
3454
+ "subject_id": NotRequired["int | str"],
3455
+ "subject_name": NotRequired["str"],
3456
+ "subject_type": NotRequired["str"],
3457
+ "total_request_count": NotRequired["int | str"],
3458
+ },
3459
+ total=False,
3460
+ )
3461
+ OutputapiInsightsSummaryStats = TypedDict(
3462
+ "OutputapiInsightsSummaryStats",
3463
+ {
3464
+ "rate_limited_request_count": NotRequired["int | str"],
3465
+ "total_request_count": NotRequired["int | str"],
3466
+ },
3467
+ total=False,
3468
+ )
3469
+ OutputapiInsightsTimeStats: TypeAlias = "list[OutputapiInsightsTimeStatsItem]"
3470
+ OutputapiInsightsTimeStatsItem = TypedDict(
3471
+ "OutputapiInsightsTimeStatsItem",
3472
+ {
3473
+ "rate_limited_request_count": NotRequired["int | str"],
3474
+ "timestamp": NotRequired["str"],
3475
+ "total_request_count": NotRequired["int | str"],
3476
+ },
3477
+ total=False,
3478
+ )
3479
+ OutputapiInsightsUserStats: TypeAlias = "list[OutputapiInsightsUserStatsItem]"
3480
+ OutputapiInsightsUserStatsItem = TypedDict(
3481
+ "OutputapiInsightsUserStatsItem",
3482
+ {
3483
+ "actor_id": NotRequired["int | str"],
3484
+ "actor_name": NotRequired["str"],
3485
+ "actor_type": NotRequired["str"],
3486
+ "integration_id": NotRequired["Union[int | str, None]"],
3487
+ "last_rate_limited_timestamp": NotRequired["str | None"],
3488
+ "last_request_timestamp": NotRequired["str"],
3489
+ "oauth_application_id": NotRequired["Union[int | str, None]"],
3490
+ "rate_limited_request_count": NotRequired["int | str"],
3491
+ "total_request_count": NotRequired["int | str"],
3492
+ },
3493
+ total=False,
3494
+ )
3495
+ OutputapiOverview = TypedDict(
3496
+ "OutputapiOverview",
3497
+ {
3498
+ "actions": NotRequired["list[str]"],
3499
+ "actions_macos": NotRequired["list[str]"],
3500
+ "api": NotRequired["list[str]"],
3501
+ "codespaces": NotRequired["list[str]"],
3502
+ "commit_signing_keys": NotRequired["list[str]"],
3503
+ "copilot": NotRequired["list[str]"],
3504
+ "dependabot": NotRequired["list[str]"],
3505
+ "domains": NotRequired["OutputapiOverviewDomains"],
3506
+ "git": NotRequired["list[str]"],
3507
+ "github_enterprise_importer": NotRequired["list[str]"],
3508
+ "hooks": NotRequired["list[str]"],
3509
+ "importer": NotRequired["list[str]"],
3510
+ "packages": NotRequired["list[str]"],
3511
+ "pages": NotRequired["list[str]"],
3512
+ "shared_ingress": NotRequired["list[str]"],
3513
+ "ssh_key_fingerprints": NotRequired["OutputapiOverviewSshKeyFingerprints"],
3514
+ "ssh_keys": NotRequired["list[str]"],
3515
+ "verifiable_password_authentication": Required["bool"],
3516
+ "web": NotRequired["list[str]"],
3517
+ },
3518
+ total=False,
3519
+ )
3520
+ OutputapiOverviewDomains = TypedDict(
3521
+ "OutputapiOverviewDomains",
3522
+ {
3523
+ "actions": NotRequired["list[str]"],
3524
+ "actions_inbound": NotRequired["OutputapiOverviewDomainsActionsInbound"],
3525
+ "artifact_attestations": NotRequired["OutputapiOverviewDomainsArtifactAttestations"],
3526
+ "codespaces": NotRequired["list[str]"],
3527
+ "copilot": NotRequired["list[str]"],
3528
+ "packages": NotRequired["list[str]"],
3529
+ "storage": NotRequired["list[str]"],
3530
+ "website": NotRequired["list[str]"],
3531
+ },
3532
+ total=False,
3533
+ )
3534
+ OutputapiOverviewDomainsActionsInbound = TypedDict(
3535
+ "OutputapiOverviewDomainsActionsInbound",
3536
+ {"full_domains": NotRequired["list[str]"], "wildcard_domains": NotRequired["list[str]"]},
3537
+ total=False,
3538
+ )
3539
+ OutputapiOverviewDomainsArtifactAttestations = TypedDict(
3540
+ "OutputapiOverviewDomainsArtifactAttestations",
3541
+ {"services": NotRequired["list[str]"], "trust_domain": NotRequired["str"]},
3542
+ total=False,
3543
+ )
3544
+ OutputapiOverviewSshKeyFingerprints = TypedDict(
3545
+ "OutputapiOverviewSshKeyFingerprints",
3546
+ {
3547
+ "SHA256_DSA": NotRequired["str"],
3548
+ "SHA256_ECDSA": NotRequired["str"],
3549
+ "SHA256_ED25519": NotRequired["str"],
3550
+ "SHA256_RSA": NotRequired["str"],
3551
+ },
3552
+ total=False,
3553
+ )
3554
+ OutputappPermissions = TypedDict(
3555
+ "OutputappPermissions",
3556
+ {
3557
+ "actions": NotRequired["str"],
3558
+ "administration": NotRequired["str"],
3559
+ "artifact_metadata": NotRequired["str"],
3560
+ "attestations": NotRequired["str"],
3561
+ "checks": NotRequired["str"],
3562
+ "code_quality": NotRequired["str"],
3563
+ "codespaces": NotRequired["str"],
3564
+ "contents": NotRequired["str"],
3565
+ "custom_properties_for_organizations": NotRequired["str"],
3566
+ "dependabot_secrets": NotRequired["str"],
3567
+ "deployments": NotRequired["str"],
3568
+ "discussions": NotRequired["str"],
3569
+ "email_addresses": NotRequired["str"],
3570
+ "enterprise_custom_properties_for_organizations": NotRequired["str"],
3571
+ "environments": NotRequired["str"],
3572
+ "followers": NotRequired["str"],
3573
+ "git_ssh_keys": NotRequired["str"],
3574
+ "gpg_keys": NotRequired["str"],
3575
+ "interaction_limits": NotRequired["str"],
3576
+ "issues": NotRequired["str"],
3577
+ "members": NotRequired["str"],
3578
+ "merge_queues": NotRequired["str"],
3579
+ "metadata": NotRequired["str"],
3580
+ "organization_administration": NotRequired["str"],
3581
+ "organization_announcement_banners": NotRequired["str"],
3582
+ "organization_copilot_agent_settings": NotRequired["str"],
3583
+ "organization_copilot_requests": NotRequired["str"],
3584
+ "organization_copilot_seat_management": NotRequired["str"],
3585
+ "organization_custom_org_roles": NotRequired["str"],
3586
+ "organization_custom_properties": NotRequired["str"],
3587
+ "organization_custom_roles": NotRequired["str"],
3588
+ "organization_events": NotRequired["str"],
3589
+ "organization_external_properties_for_repos": NotRequired["str"],
3590
+ "organization_hooks": NotRequired["str"],
3591
+ "organization_packages": NotRequired["str"],
3592
+ "organization_personal_access_token_requests": NotRequired["str"],
3593
+ "organization_personal_access_tokens": NotRequired["str"],
3594
+ "organization_plan": NotRequired["str"],
3595
+ "organization_projects": NotRequired["str"],
3596
+ "organization_secrets": NotRequired["str"],
3597
+ "organization_self_hosted_runners": NotRequired["str"],
3598
+ "organization_user_blocking": NotRequired["str"],
3599
+ "packages": NotRequired["str"],
3600
+ "pages": NotRequired["str"],
3601
+ "profile": NotRequired["str"],
3602
+ "pull_requests": NotRequired["str"],
3603
+ "repository_custom_properties": NotRequired["str"],
3604
+ "repository_hooks": NotRequired["str"],
3605
+ "repository_projects": NotRequired["str"],
3606
+ "secret_scanning_alerts": NotRequired["str"],
3607
+ "secrets": NotRequired["str"],
3608
+ "security_events": NotRequired["str"],
3609
+ "single_file": NotRequired["str"],
3610
+ "starring": NotRequired["str"],
3611
+ "statuses": NotRequired["str"],
3612
+ "vulnerability_alerts": NotRequired["str"],
3613
+ "workflows": NotRequired["str"],
3614
+ },
3615
+ total=False,
3616
+ )
3617
+ Outputartifact = TypedDict(
3618
+ "Outputartifact",
3619
+ {
3620
+ "archive_download_url": Required["str"],
3621
+ "created_at": Required["str | None"],
3622
+ "digest": NotRequired["str | None"],
3623
+ "expired": Required["bool"],
3624
+ "expires_at": Required["str | None"],
3625
+ "id": Required["int | str"],
3626
+ "name": Required["str"],
3627
+ "node_id": Required["str"],
3628
+ "size_in_bytes": Required["int | str"],
3629
+ "updated_at": Required["str | None"],
3630
+ "url": Required["str"],
3631
+ "workflow_run": NotRequired["OutputartifactWorkflowRunVariant0 | None"],
3632
+ },
3633
+ total=False,
3634
+ )
3635
+ OutputartifactDeploymentRecord = TypedDict(
3636
+ "OutputartifactDeploymentRecord",
3637
+ {
3638
+ "attestation_id": NotRequired["Union[int | str, None]"],
3639
+ "cluster": NotRequired["str"],
3640
+ "created_at": NotRequired["str"],
3641
+ "deployment_name": NotRequired["str"],
3642
+ "digest": NotRequired["str"],
3643
+ "id": NotRequired["int | str"],
3644
+ "logical_environment": NotRequired["str"],
3645
+ "physical_environment": NotRequired["str"],
3646
+ "runtime_risks": NotRequired["list[str]"],
3647
+ "tags": NotRequired["dict[str, str]"],
3648
+ "updated_at": NotRequired["str"],
3649
+ },
3650
+ total=False,
3651
+ )
3652
+ OutputartifactWorkflowRunVariant0 = TypedDict(
3653
+ "OutputartifactWorkflowRunVariant0",
3654
+ {
3655
+ "head_branch": NotRequired["str"],
3656
+ "head_repository_id": NotRequired["int | str"],
3657
+ "head_sha": NotRequired["str"],
3658
+ "id": NotRequired["int | str"],
3659
+ "repository_id": NotRequired["int | str"],
3660
+ },
3661
+ total=False,
3662
+ )
3663
+ OutputassignedIssueEvent = TypedDict(
3664
+ "OutputassignedIssueEvent",
3665
+ {
3666
+ "actor": Required["OutputsimpleUser"],
3667
+ "assignee": Required["OutputsimpleUser"],
3668
+ "assigner": Required["OutputsimpleUser"],
3669
+ "commit_id": Required["str | None"],
3670
+ "commit_url": Required["str | None"],
3671
+ "created_at": Required["str"],
3672
+ "event": Required["str"],
3673
+ "id": Required["int | str"],
3674
+ "intent": NotRequired["OutputnullableIssueEventIntent"],
3675
+ "node_id": Required["str"],
3676
+ "performed_via_github_app": Required["Outputintegration"],
3677
+ "url": Required["str"],
3678
+ },
3679
+ total=False,
3680
+ )
3681
+ OutputauthenticationToken = TypedDict(
3682
+ "OutputauthenticationToken",
3683
+ {
3684
+ "expires_at": Required["str"],
3685
+ "permissions": NotRequired["dict[str, object]"],
3686
+ "repositories": NotRequired["list[Outputrepository]"],
3687
+ "repository_selection": NotRequired["str"],
3688
+ "single_file": NotRequired["str | None"],
3689
+ "token": Required["str"],
3690
+ },
3691
+ total=False,
3692
+ )
3693
+ OutputauthorAssociation: TypeAlias = "str"
3694
+ OutputautoMerge: TypeAlias = "OutputautoMergeVariant0 | None"
3695
+ OutputautoMergeVariant0 = TypedDict(
3696
+ "OutputautoMergeVariant0",
3697
+ {
3698
+ "commit_message": Required["str"],
3699
+ "commit_title": Required["str"],
3700
+ "enabled_by": Required["OutputsimpleUser"],
3701
+ "merge_method": Required["str"],
3702
+ },
3703
+ total=False,
3704
+ )
3705
+ Outputautolink = TypedDict(
3706
+ "Outputautolink",
3707
+ {
3708
+ "id": Required["int | str"],
3709
+ "is_alphanumeric": Required["bool"],
3710
+ "key_prefix": Required["str"],
3711
+ "updated_at": NotRequired["str | None"],
3712
+ "url_template": Required["str"],
3713
+ },
3714
+ total=False,
3715
+ )
3716
+ OutputbaseGist = TypedDict(
3717
+ "OutputbaseGist",
3718
+ {
3719
+ "comments": Required["int | str"],
3720
+ "comments_enabled": NotRequired["bool"],
3721
+ "comments_url": Required["str"],
3722
+ "commits_url": Required["str"],
3723
+ "created_at": Required["str"],
3724
+ "description": Required["str | None"],
3725
+ "files": Required["dict[str, OutputbaseGistFilesValue]"],
3726
+ "forks_url": Required["str"],
3727
+ "git_pull_url": Required["str"],
3728
+ "git_push_url": Required["str"],
3729
+ "html_url": Required["str"],
3730
+ "id": Required["str"],
3731
+ "node_id": Required["str"],
3732
+ "owner": NotRequired["OutputsimpleUser"],
3733
+ "public": Required["bool"],
3734
+ "truncated": NotRequired["bool"],
3735
+ "updated_at": Required["str"],
3736
+ "url": Required["str"],
3737
+ },
3738
+ total=False,
3739
+ )
3740
+ OutputbaseGistFilesValue = TypedDict(
3741
+ "OutputbaseGistFilesValue",
3742
+ {
3743
+ "encoding": NotRequired["str"],
3744
+ "filename": NotRequired["str"],
3745
+ "language": NotRequired["str"],
3746
+ "raw_url": NotRequired["str"],
3747
+ "size": NotRequired["int | str"],
3748
+ "type": NotRequired["str"],
3749
+ },
3750
+ total=False,
3751
+ )
3752
+ OutputbillingAiCreditUsageReportOrg = TypedDict(
3753
+ "OutputbillingAiCreditUsageReportOrg",
3754
+ {
3755
+ "model": NotRequired["str"],
3756
+ "organization": Required["str"],
3757
+ "product": NotRequired["str"],
3758
+ "timePeriod": Required["OutputbillingAiCreditUsageReportOrgTimePeriod"],
3759
+ "usageItems": Required["list[OutputbillingAiCreditUsageReportOrgUsageItemsItem]"],
3760
+ "user": NotRequired["str"],
3761
+ },
3762
+ total=False,
3763
+ )
3764
+ OutputbillingAiCreditUsageReportOrgTimePeriod = TypedDict(
3765
+ "OutputbillingAiCreditUsageReportOrgTimePeriod",
3766
+ {
3767
+ "day": NotRequired["int | str"],
3768
+ "month": NotRequired["int | str"],
3769
+ "year": Required["int | str"],
3770
+ },
3771
+ total=False,
3772
+ )
3773
+ OutputbillingAiCreditUsageReportOrgUsageItemsItem = TypedDict(
3774
+ "OutputbillingAiCreditUsageReportOrgUsageItemsItem",
3775
+ {
3776
+ "discountAmount": Required["float | str"],
3777
+ "discountQuantity": Required["float | str"],
3778
+ "grossAmount": Required["float | str"],
3779
+ "grossQuantity": Required["float | str"],
3780
+ "model": Required["str"],
3781
+ "netAmount": Required["float | str"],
3782
+ "netQuantity": Required["float | str"],
3783
+ "pricePerUnit": Required["float | str"],
3784
+ "product": Required["str"],
3785
+ "sku": Required["str"],
3786
+ "unitType": Required["str"],
3787
+ },
3788
+ total=False,
3789
+ )
3790
+ OutputbillingAiCreditUsageReportUser = TypedDict(
3791
+ "OutputbillingAiCreditUsageReportUser",
3792
+ {
3793
+ "model": NotRequired["str"],
3794
+ "product": NotRequired["str"],
3795
+ "timePeriod": Required["OutputbillingAiCreditUsageReportUserTimePeriod"],
3796
+ "usageItems": Required["list[OutputbillingAiCreditUsageReportUserUsageItemsItem]"],
3797
+ "user": Required["str"],
3798
+ },
3799
+ total=False,
3800
+ )
3801
+ OutputbillingAiCreditUsageReportUserTimePeriod = TypedDict(
3802
+ "OutputbillingAiCreditUsageReportUserTimePeriod",
3803
+ {
3804
+ "day": NotRequired["int | str"],
3805
+ "month": NotRequired["int | str"],
3806
+ "year": Required["int | str"],
3807
+ },
3808
+ total=False,
3809
+ )
3810
+ OutputbillingAiCreditUsageReportUserUsageItemsItem = TypedDict(
3811
+ "OutputbillingAiCreditUsageReportUserUsageItemsItem",
3812
+ {
3813
+ "discountAmount": Required["float | str"],
3814
+ "discountQuantity": Required["float | str"],
3815
+ "grossAmount": Required["float | str"],
3816
+ "grossQuantity": Required["float | str"],
3817
+ "model": Required["str"],
3818
+ "netAmount": Required["float | str"],
3819
+ "netQuantity": Required["float | str"],
3820
+ "pricePerUnit": Required["float | str"],
3821
+ "product": Required["str"],
3822
+ "sku": Required["str"],
3823
+ "unitType": Required["str"],
3824
+ },
3825
+ total=False,
3826
+ )
3827
+ OutputbillingPremiumRequestUsageReportOrg = TypedDict(
3828
+ "OutputbillingPremiumRequestUsageReportOrg",
3829
+ {
3830
+ "model": NotRequired["str"],
3831
+ "organization": Required["str"],
3832
+ "product": NotRequired["str"],
3833
+ "timePeriod": Required["OutputbillingPremiumRequestUsageReportOrgTimePeriod"],
3834
+ "usageItems": Required["list[OutputbillingPremiumRequestUsageReportOrgUsageItemsItem]"],
3835
+ "user": NotRequired["str"],
3836
+ },
3837
+ total=False,
3838
+ )
3839
+ OutputbillingPremiumRequestUsageReportOrgTimePeriod = TypedDict(
3840
+ "OutputbillingPremiumRequestUsageReportOrgTimePeriod",
3841
+ {
3842
+ "day": NotRequired["int | str"],
3843
+ "month": NotRequired["int | str"],
3844
+ "year": Required["int | str"],
3845
+ },
3846
+ total=False,
3847
+ )
3848
+ OutputbillingPremiumRequestUsageReportOrgUsageItemsItem = TypedDict(
3849
+ "OutputbillingPremiumRequestUsageReportOrgUsageItemsItem",
3850
+ {
3851
+ "discountAmount": Required["float | str"],
3852
+ "discountQuantity": Required["float | str"],
3853
+ "grossAmount": Required["float | str"],
3854
+ "grossQuantity": Required["float | str"],
3855
+ "model": Required["str"],
3856
+ "netAmount": Required["float | str"],
3857
+ "netQuantity": Required["float | str"],
3858
+ "pricePerUnit": Required["float | str"],
3859
+ "product": Required["str"],
3860
+ "sku": Required["str"],
3861
+ "unitType": Required["str"],
3862
+ },
3863
+ total=False,
3864
+ )
3865
+ OutputbillingPremiumRequestUsageReportUser = TypedDict(
3866
+ "OutputbillingPremiumRequestUsageReportUser",
3867
+ {
3868
+ "model": NotRequired["str"],
3869
+ "product": NotRequired["str"],
3870
+ "timePeriod": Required["OutputbillingPremiumRequestUsageReportUserTimePeriod"],
3871
+ "usageItems": Required["list[OutputbillingPremiumRequestUsageReportUserUsageItemsItem]"],
3872
+ "user": Required["str"],
3873
+ },
3874
+ total=False,
3875
+ )
3876
+ OutputbillingPremiumRequestUsageReportUserTimePeriod = TypedDict(
3877
+ "OutputbillingPremiumRequestUsageReportUserTimePeriod",
3878
+ {
3879
+ "day": NotRequired["int | str"],
3880
+ "month": NotRequired["int | str"],
3881
+ "year": Required["int | str"],
3882
+ },
3883
+ total=False,
3884
+ )
3885
+ OutputbillingPremiumRequestUsageReportUserUsageItemsItem = TypedDict(
3886
+ "OutputbillingPremiumRequestUsageReportUserUsageItemsItem",
3887
+ {
3888
+ "discountAmount": Required["float | str"],
3889
+ "discountQuantity": Required["float | str"],
3890
+ "grossAmount": Required["float | str"],
3891
+ "grossQuantity": Required["float | str"],
3892
+ "model": Required["str"],
3893
+ "netAmount": Required["float | str"],
3894
+ "netQuantity": Required["float | str"],
3895
+ "pricePerUnit": Required["float | str"],
3896
+ "product": Required["str"],
3897
+ "sku": Required["str"],
3898
+ "unitType": Required["str"],
3899
+ },
3900
+ total=False,
3901
+ )
3902
+ OutputbillingUsageReport = TypedDict(
3903
+ "OutputbillingUsageReport",
3904
+ {"usageItems": NotRequired["list[OutputbillingUsageReportUsageItemsItem]"]},
3905
+ total=False,
3906
+ )
3907
+ OutputbillingUsageReportUsageItemsItem = TypedDict(
3908
+ "OutputbillingUsageReportUsageItemsItem",
3909
+ {
3910
+ "date": Required["str"],
3911
+ "discountAmount": Required["float | str"],
3912
+ "grossAmount": Required["float | str"],
3913
+ "netAmount": Required["float | str"],
3914
+ "organizationName": Required["str"],
3915
+ "pricePerUnit": Required["float | str"],
3916
+ "product": Required["str"],
3917
+ "quantity": Required["int | str"],
3918
+ "repositoryName": NotRequired["str"],
3919
+ "sku": Required["str"],
3920
+ "unitType": Required["str"],
3921
+ },
3922
+ total=False,
3923
+ )
3924
+ OutputbillingUsageReportUser = TypedDict(
3925
+ "OutputbillingUsageReportUser",
3926
+ {"usageItems": NotRequired["list[OutputbillingUsageReportUserUsageItemsItem]"]},
3927
+ total=False,
3928
+ )
3929
+ OutputbillingUsageReportUserUsageItemsItem = TypedDict(
3930
+ "OutputbillingUsageReportUserUsageItemsItem",
3931
+ {
3932
+ "date": Required["str"],
3933
+ "discountAmount": Required["float | str"],
3934
+ "grossAmount": Required["float | str"],
3935
+ "netAmount": Required["float | str"],
3936
+ "pricePerUnit": Required["float | str"],
3937
+ "product": Required["str"],
3938
+ "quantity": Required["int | str"],
3939
+ "repositoryName": NotRequired["str"],
3940
+ "sku": Required["str"],
3941
+ "unitType": Required["str"],
3942
+ },
3943
+ total=False,
3944
+ )
3945
+ OutputbillingUsageSummaryReportOrg = TypedDict(
3946
+ "OutputbillingUsageSummaryReportOrg",
3947
+ {
3948
+ "organization": Required["str"],
3949
+ "product": NotRequired["str"],
3950
+ "repository": NotRequired["str"],
3951
+ "sku": NotRequired["str"],
3952
+ "timePeriod": Required["OutputbillingUsageSummaryReportOrgTimePeriod"],
3953
+ "usageItems": Required["list[OutputbillingUsageSummaryReportOrgUsageItemsItem]"],
3954
+ },
3955
+ total=False,
3956
+ )
3957
+ OutputbillingUsageSummaryReportOrgTimePeriod = TypedDict(
3958
+ "OutputbillingUsageSummaryReportOrgTimePeriod",
3959
+ {
3960
+ "day": NotRequired["int | str"],
3961
+ "month": NotRequired["int | str"],
3962
+ "year": Required["int | str"],
3963
+ },
3964
+ total=False,
3965
+ )
3966
+ OutputbillingUsageSummaryReportOrgUsageItemsItem = TypedDict(
3967
+ "OutputbillingUsageSummaryReportOrgUsageItemsItem",
3968
+ {
3969
+ "discountAmount": Required["float | str"],
3970
+ "discountQuantity": Required["float | str"],
3971
+ "grossAmount": Required["float | str"],
3972
+ "grossQuantity": Required["float | str"],
3973
+ "netAmount": Required["float | str"],
3974
+ "netQuantity": Required["float | str"],
3975
+ "pricePerUnit": Required["float | str"],
3976
+ "product": Required["str"],
3977
+ "sku": Required["str"],
3978
+ "unitType": Required["str"],
3979
+ },
3980
+ total=False,
3981
+ )
3982
+ OutputbillingUsageSummaryReportUser = TypedDict(
3983
+ "OutputbillingUsageSummaryReportUser",
3984
+ {
3985
+ "product": NotRequired["str"],
3986
+ "repository": NotRequired["str"],
3987
+ "sku": NotRequired["str"],
3988
+ "timePeriod": Required["OutputbillingUsageSummaryReportUserTimePeriod"],
3989
+ "usageItems": Required["list[OutputbillingUsageSummaryReportUserUsageItemsItem]"],
3990
+ "user": Required["str"],
3991
+ },
3992
+ total=False,
3993
+ )
3994
+ OutputbillingUsageSummaryReportUserTimePeriod = TypedDict(
3995
+ "OutputbillingUsageSummaryReportUserTimePeriod",
3996
+ {
3997
+ "day": NotRequired["int | str"],
3998
+ "month": NotRequired["int | str"],
3999
+ "year": Required["int | str"],
4000
+ },
4001
+ total=False,
4002
+ )
4003
+ OutputbillingUsageSummaryReportUserUsageItemsItem = TypedDict(
4004
+ "OutputbillingUsageSummaryReportUserUsageItemsItem",
4005
+ {
4006
+ "discountAmount": Required["float | str"],
4007
+ "discountQuantity": Required["float | str"],
4008
+ "grossAmount": Required["float | str"],
4009
+ "grossQuantity": Required["float | str"],
4010
+ "netAmount": Required["float | str"],
4011
+ "netQuantity": Required["float | str"],
4012
+ "pricePerUnit": Required["float | str"],
4013
+ "product": Required["str"],
4014
+ "sku": Required["str"],
4015
+ "unitType": Required["str"],
4016
+ },
4017
+ total=False,
4018
+ )
4019
+ Outputblob = TypedDict(
4020
+ "Outputblob",
4021
+ {
4022
+ "content": Required["str"],
4023
+ "encoding": Required["str"],
4024
+ "highlighted_content": NotRequired["str"],
4025
+ "node_id": Required["str"],
4026
+ "sha": Required["str"],
4027
+ "size": Required["Union[int | str, None]"],
4028
+ "url": Required["str"],
4029
+ },
4030
+ total=False,
4031
+ )
4032
+ OutputblockedByAddedIssueEvent = TypedDict(
4033
+ "OutputblockedByAddedIssueEvent",
4034
+ {
4035
+ "actor": Required["OutputsimpleUser"],
4036
+ "blocked_by": Required["OutputnullableIssueReference"],
4037
+ "commit_id": Required["str | None"],
4038
+ "commit_url": Required["str | None"],
4039
+ "created_at": Required["str"],
4040
+ "event": Required["str"],
4041
+ "id": Required["int | str"],
4042
+ "node_id": Required["str"],
4043
+ "performed_via_github_app": Required["OutputnullableIntegration"],
4044
+ "url": Required["str"],
4045
+ },
4046
+ total=False,
4047
+ )
4048
+ OutputblockedByRemovedIssueEvent = TypedDict(
4049
+ "OutputblockedByRemovedIssueEvent",
4050
+ {
4051
+ "actor": Required["OutputsimpleUser"],
4052
+ "blocked_by": Required["OutputnullableIssueReference"],
4053
+ "commit_id": Required["str | None"],
4054
+ "commit_url": Required["str | None"],
4055
+ "created_at": Required["str"],
4056
+ "event": Required["str"],
4057
+ "id": Required["int | str"],
4058
+ "node_id": Required["str"],
4059
+ "performed_via_github_app": Required["OutputnullableIntegration"],
4060
+ "url": Required["str"],
4061
+ },
4062
+ total=False,
4063
+ )
4064
+ OutputblockingAddedIssueEvent = TypedDict(
4065
+ "OutputblockingAddedIssueEvent",
4066
+ {
4067
+ "actor": Required["OutputsimpleUser"],
4068
+ "blocking": Required["OutputnullableIssueReference"],
4069
+ "commit_id": Required["str | None"],
4070
+ "commit_url": Required["str | None"],
4071
+ "created_at": Required["str"],
4072
+ "event": Required["str"],
4073
+ "id": Required["int | str"],
4074
+ "node_id": Required["str"],
4075
+ "performed_via_github_app": Required["OutputnullableIntegration"],
4076
+ "url": Required["str"],
4077
+ },
4078
+ total=False,
4079
+ )
4080
+ OutputblockingRemovedIssueEvent = TypedDict(
4081
+ "OutputblockingRemovedIssueEvent",
4082
+ {
4083
+ "actor": Required["OutputsimpleUser"],
4084
+ "blocking": Required["OutputnullableIssueReference"],
4085
+ "commit_id": Required["str | None"],
4086
+ "commit_url": Required["str | None"],
4087
+ "created_at": Required["str"],
4088
+ "event": Required["str"],
4089
+ "id": Required["int | str"],
4090
+ "node_id": Required["str"],
4091
+ "performed_via_github_app": Required["OutputnullableIntegration"],
4092
+ "url": Required["str"],
4093
+ },
4094
+ total=False,
4095
+ )
4096
+ OutputbranchProtection = TypedDict(
4097
+ "OutputbranchProtection",
4098
+ {
4099
+ "allow_deletions": NotRequired["OutputbranchProtectionAllowDeletions"],
4100
+ "allow_force_pushes": NotRequired["OutputbranchProtectionAllowForcePushes"],
4101
+ "allow_fork_syncing": NotRequired["OutputbranchProtectionAllowForkSyncing"],
4102
+ "block_creations": NotRequired["OutputbranchProtectionBlockCreations"],
4103
+ "enabled": NotRequired["bool"],
4104
+ "enforce_admins": NotRequired["OutputprotectedBranchAdminEnforced"],
4105
+ "lock_branch": NotRequired["OutputbranchProtectionLockBranch"],
4106
+ "name": NotRequired["str"],
4107
+ "protection_url": NotRequired["str"],
4108
+ "required_conversation_resolution": NotRequired[
4109
+ "OutputbranchProtectionRequiredConversationResolution"
4110
+ ],
4111
+ "required_linear_history": NotRequired["OutputbranchProtectionRequiredLinearHistory"],
4112
+ "required_pull_request_reviews": NotRequired["OutputprotectedBranchPullRequestReview"],
4113
+ "required_signatures": NotRequired["OutputbranchProtectionRequiredSignatures"],
4114
+ "required_status_checks": NotRequired["OutputprotectedBranchRequiredStatusCheck"],
4115
+ "restrictions": NotRequired["OutputbranchRestrictionPolicy"],
4116
+ "url": NotRequired["str"],
4117
+ },
4118
+ total=False,
4119
+ )
4120
+ OutputbranchProtectionAllowDeletions = TypedDict(
4121
+ "OutputbranchProtectionAllowDeletions", {"enabled": NotRequired["bool"]}, total=False
4122
+ )
4123
+ OutputbranchProtectionAllowForcePushes = TypedDict(
4124
+ "OutputbranchProtectionAllowForcePushes", {"enabled": NotRequired["bool"]}, total=False
4125
+ )
4126
+ OutputbranchProtectionAllowForkSyncing = TypedDict(
4127
+ "OutputbranchProtectionAllowForkSyncing", {"enabled": NotRequired["bool"]}, total=False
4128
+ )
4129
+ OutputbranchProtectionBlockCreations = TypedDict(
4130
+ "OutputbranchProtectionBlockCreations", {"enabled": NotRequired["bool"]}, total=False
4131
+ )
4132
+ OutputbranchProtectionLockBranch = TypedDict(
4133
+ "OutputbranchProtectionLockBranch", {"enabled": NotRequired["bool"]}, total=False
4134
+ )
4135
+ OutputbranchProtectionRequiredConversationResolution = TypedDict(
4136
+ "OutputbranchProtectionRequiredConversationResolution",
4137
+ {"enabled": NotRequired["bool"]},
4138
+ total=False,
4139
+ )
4140
+ OutputbranchProtectionRequiredLinearHistory = TypedDict(
4141
+ "OutputbranchProtectionRequiredLinearHistory", {"enabled": NotRequired["bool"]}, total=False
4142
+ )
4143
+ OutputbranchProtectionRequiredSignatures = TypedDict(
4144
+ "OutputbranchProtectionRequiredSignatures",
4145
+ {"enabled": Required["bool"], "url": Required["str"]},
4146
+ total=False,
4147
+ )
4148
+ OutputbranchRestrictionPolicy = TypedDict(
4149
+ "OutputbranchRestrictionPolicy",
4150
+ {
4151
+ "apps": Required["list[OutputbranchRestrictionPolicyAppsItem]"],
4152
+ "apps_url": Required["str"],
4153
+ "teams": Required["list[Outputteam]"],
4154
+ "teams_url": Required["str"],
4155
+ "url": Required["str"],
4156
+ "users": Required["list[OutputbranchRestrictionPolicyUsersItem]"],
4157
+ "users_url": Required["str"],
4158
+ },
4159
+ total=False,
4160
+ )
4161
+ OutputbranchRestrictionPolicyAppsItem = TypedDict(
4162
+ "OutputbranchRestrictionPolicyAppsItem",
4163
+ {
4164
+ "client_id": NotRequired["str"],
4165
+ "created_at": NotRequired["str"],
4166
+ "description": NotRequired["str"],
4167
+ "events": NotRequired["list[str]"],
4168
+ "external_url": NotRequired["str"],
4169
+ "html_url": NotRequired["str"],
4170
+ "id": NotRequired["int | str"],
4171
+ "name": NotRequired["str"],
4172
+ "node_id": NotRequired["str"],
4173
+ "owner": NotRequired["OutputbranchRestrictionPolicyAppsItemOwner"],
4174
+ "permissions": NotRequired["OutputbranchRestrictionPolicyAppsItemPermissions"],
4175
+ "slug": NotRequired["str"],
4176
+ "updated_at": NotRequired["str"],
4177
+ },
4178
+ total=False,
4179
+ )
4180
+ OutputbranchRestrictionPolicyAppsItemOwner = TypedDict(
4181
+ "OutputbranchRestrictionPolicyAppsItemOwner",
4182
+ {
4183
+ "avatar_url": NotRequired["str"],
4184
+ "description": NotRequired["str"],
4185
+ "events_url": NotRequired["str"],
4186
+ "followers_url": NotRequired["str"],
4187
+ "following_url": NotRequired["str"],
4188
+ "gists_url": NotRequired["str"],
4189
+ "gravatar_id": NotRequired["str"],
4190
+ "hooks_url": NotRequired["str"],
4191
+ "html_url": NotRequired["str"],
4192
+ "id": NotRequired["int | str"],
4193
+ "issues_url": NotRequired["str"],
4194
+ "login": NotRequired["str"],
4195
+ "members_url": NotRequired["str"],
4196
+ "node_id": NotRequired["str"],
4197
+ "organizations_url": NotRequired["str"],
4198
+ "public_members_url": NotRequired["str"],
4199
+ "received_events_url": NotRequired["str"],
4200
+ "repos_url": NotRequired["str"],
4201
+ "site_admin": NotRequired["bool"],
4202
+ "starred_url": NotRequired["str"],
4203
+ "subscriptions_url": NotRequired["str"],
4204
+ "type": NotRequired["str"],
4205
+ "url": NotRequired["str"],
4206
+ "user_view_type": NotRequired["str"],
4207
+ },
4208
+ total=False,
4209
+ )
4210
+ OutputbranchRestrictionPolicyAppsItemPermissions = TypedDict(
4211
+ "OutputbranchRestrictionPolicyAppsItemPermissions",
4212
+ {
4213
+ "contents": NotRequired["str"],
4214
+ "issues": NotRequired["str"],
4215
+ "metadata": NotRequired["str"],
4216
+ "single_file": NotRequired["str"],
4217
+ },
4218
+ total=False,
4219
+ )
4220
+ OutputbranchRestrictionPolicyUsersItem = TypedDict(
4221
+ "OutputbranchRestrictionPolicyUsersItem",
4222
+ {
4223
+ "avatar_url": NotRequired["str"],
4224
+ "events_url": NotRequired["str"],
4225
+ "followers_url": NotRequired["str"],
4226
+ "following_url": NotRequired["str"],
4227
+ "gists_url": NotRequired["str"],
4228
+ "gravatar_id": NotRequired["str"],
4229
+ "html_url": NotRequired["str"],
4230
+ "id": NotRequired["int | str"],
4231
+ "login": NotRequired["str"],
4232
+ "node_id": NotRequired["str"],
4233
+ "organizations_url": NotRequired["str"],
4234
+ "received_events_url": NotRequired["str"],
4235
+ "repos_url": NotRequired["str"],
4236
+ "site_admin": NotRequired["bool"],
4237
+ "starred_url": NotRequired["str"],
4238
+ "subscriptions_url": NotRequired["str"],
4239
+ "type": NotRequired["str"],
4240
+ "url": NotRequired["str"],
4241
+ "user_view_type": NotRequired["str"],
4242
+ },
4243
+ total=False,
4244
+ )
4245
+ OutputbranchShort = TypedDict(
4246
+ "OutputbranchShort",
4247
+ {
4248
+ "commit": Required["OutputbranchShortCommit"],
4249
+ "name": Required["str"],
4250
+ "protected": Required["bool"],
4251
+ },
4252
+ total=False,
4253
+ )
4254
+ OutputbranchShortCommit = TypedDict(
4255
+ "OutputbranchShortCommit", {"sha": Required["str"], "url": Required["str"]}, total=False
4256
+ )
4257
+ OutputbranchWithProtection = TypedDict(
4258
+ "OutputbranchWithProtection",
4259
+ {
4260
+ "_links": Required["OutputbranchWithProtectionLinks"],
4261
+ "commit": Required["Outputcommit"],
4262
+ "name": Required["str"],
4263
+ "pattern": NotRequired["str"],
4264
+ "protected": Required["bool"],
4265
+ "protection": Required["OutputbranchProtection"],
4266
+ "protection_url": Required["str"],
4267
+ "required_approving_review_count": NotRequired["int | str"],
4268
+ },
4269
+ total=False,
4270
+ )
4271
+ OutputbranchWithProtectionLinks = TypedDict(
4272
+ "OutputbranchWithProtectionLinks",
4273
+ {"html": Required["str"], "self": Required["str"]},
4274
+ total=False,
4275
+ )
4276
+ Outputbudget = TypedDict(
4277
+ "Outputbudget",
4278
+ {
4279
+ "budget_alerting": Required["OutputbudgetBudgetAlerting"],
4280
+ "budget_amount": Required["int | str"],
4281
+ "budget_entity_name": NotRequired["str"],
4282
+ "budget_product_sku": Required["str"],
4283
+ "budget_scope": Required["str"],
4284
+ "budget_type": Required["str"],
4285
+ "consumed_amount": NotRequired["float | str"],
4286
+ "expires_at": NotRequired["str"],
4287
+ "id": Required["str"],
4288
+ "prevent_further_usage": Required["bool"],
4289
+ "user": NotRequired["str"],
4290
+ },
4291
+ total=False,
4292
+ )
4293
+ OutputbudgetBudgetAlerting = TypedDict(
4294
+ "OutputbudgetBudgetAlerting",
4295
+ {"alert_recipients": Required["list[str]"], "will_alert": Required["bool"]},
4296
+ total=False,
4297
+ )
4298
+ OutputcampaignState: TypeAlias = "str"
4299
+ OutputcampaignSummary = TypedDict(
4300
+ "OutputcampaignSummary",
4301
+ {
4302
+ "alert_stats": NotRequired["OutputcampaignSummaryAlertStats"],
4303
+ "closed_at": NotRequired["str | None"],
4304
+ "contact_link": Required["str | None"],
4305
+ "created_at": Required["str"],
4306
+ "description": Required["str"],
4307
+ "ends_at": Required["str"],
4308
+ "managers": Required["list[OutputsimpleUser]"],
4309
+ "name": NotRequired["str"],
4310
+ "number": Required["int | str"],
4311
+ "published_at": NotRequired["str"],
4312
+ "state": Required["OutputcampaignState"],
4313
+ "team_managers": NotRequired["list[Outputteam]"],
4314
+ "updated_at": Required["str"],
4315
+ },
4316
+ total=False,
4317
+ )
4318
+ OutputcampaignSummaryAlertStats = TypedDict(
4319
+ "OutputcampaignSummaryAlertStats",
4320
+ {
4321
+ "closed_count": Required["int | str"],
4322
+ "in_progress_count": Required["int | str"],
4323
+ "open_count": Required["int | str"],
4324
+ },
4325
+ total=False,
4326
+ )
4327
+ OutputcheckAnnotation = TypedDict(
4328
+ "OutputcheckAnnotation",
4329
+ {
4330
+ "annotation_level": Required["str | None"],
4331
+ "blob_href": Required["str"],
4332
+ "end_column": Required["Union[int | str, None]"],
4333
+ "end_line": Required["int | str"],
4334
+ "message": Required["str | None"],
4335
+ "path": Required["str"],
4336
+ "raw_details": Required["str | None"],
4337
+ "start_column": Required["Union[int | str, None]"],
4338
+ "start_line": Required["int | str"],
4339
+ "title": Required["str | None"],
4340
+ },
4341
+ total=False,
4342
+ )
4343
+ OutputcheckAutomatedSecurityFixes = TypedDict(
4344
+ "OutputcheckAutomatedSecurityFixes",
4345
+ {"enabled": Required["bool"], "paused": Required["bool"]},
4346
+ total=False,
4347
+ )
4348
+ OutputcheckImmutableReleases = TypedDict(
4349
+ "OutputcheckImmutableReleases",
4350
+ {"enabled": Required["bool"], "enforced_by_owner": Required["bool"]},
4351
+ total=False,
4352
+ )
4353
+ OutputcheckRun = TypedDict(
4354
+ "OutputcheckRun",
4355
+ {
4356
+ "app": Required["OutputnullableIntegration"],
4357
+ "check_suite": Required["OutputcheckRunCheckSuiteVariant0 | None"],
4358
+ "completed_at": Required["str | None"],
4359
+ "conclusion": Required["str | None"],
4360
+ "deployment": NotRequired["OutputdeploymentSimple"],
4361
+ "details_url": Required["str | None"],
4362
+ "external_id": Required["str | None"],
4363
+ "head_sha": Required["str"],
4364
+ "html_url": Required["str | None"],
4365
+ "id": Required["int | str"],
4366
+ "name": Required["str"],
4367
+ "node_id": Required["str"],
4368
+ "output": Required["OutputcheckRunOutput"],
4369
+ "pull_requests": Required["list[OutputpullRequestMinimal]"],
4370
+ "started_at": Required["str | None"],
4371
+ "status": Required["str"],
4372
+ "url": Required["str"],
4373
+ },
4374
+ total=False,
4375
+ )
4376
+ OutputcheckRunCheckSuiteVariant0 = TypedDict(
4377
+ "OutputcheckRunCheckSuiteVariant0", {"id": Required["int | str"]}, total=False
4378
+ )
4379
+ OutputcheckRunOutput = TypedDict(
4380
+ "OutputcheckRunOutput",
4381
+ {
4382
+ "annotations_count": Required["int | str"],
4383
+ "annotations_url": Required["str"],
4384
+ "summary": Required["str | None"],
4385
+ "text": Required["str | None"],
4386
+ "title": Required["str | None"],
4387
+ },
4388
+ total=False,
4389
+ )
4390
+ OutputcheckSuite = TypedDict(
4391
+ "OutputcheckSuite",
4392
+ {
4393
+ "after": Required["str | None"],
4394
+ "app": Required["OutputnullableIntegration"],
4395
+ "before": Required["str | None"],
4396
+ "check_runs_url": Required["str"],
4397
+ "conclusion": Required["str | None"],
4398
+ "created_at": Required["str | None"],
4399
+ "head_branch": Required["str | None"],
4400
+ "head_commit": Required["OutputsimpleCommit"],
4401
+ "head_sha": Required["str"],
4402
+ "id": Required["int | str"],
4403
+ "latest_check_runs_count": Required["int | str"],
4404
+ "node_id": Required["str"],
4405
+ "pull_requests": Required["list[OutputpullRequestMinimal] | None"],
4406
+ "repository": Required["OutputminimalRepository"],
4407
+ "rerequestable": NotRequired["bool"],
4408
+ "runs_rerequestable": NotRequired["bool"],
4409
+ "status": Required["str | None"],
4410
+ "updated_at": Required["str | None"],
4411
+ "url": Required["str | None"],
4412
+ },
4413
+ total=False,
4414
+ )
4415
+ OutputcheckSuitePreference = TypedDict(
4416
+ "OutputcheckSuitePreference",
4417
+ {
4418
+ "preferences": Required["OutputcheckSuitePreferencePreferences"],
4419
+ "repository": Required["OutputminimalRepository"],
4420
+ },
4421
+ total=False,
4422
+ )
4423
+ OutputcheckSuitePreferencePreferences = TypedDict(
4424
+ "OutputcheckSuitePreferencePreferences",
4425
+ {
4426
+ "auto_trigger_checks": NotRequired[
4427
+ "list[OutputcheckSuitePreferencePreferencesAutoTriggerChecksItem]"
4428
+ ]
4429
+ },
4430
+ total=False,
4431
+ )
4432
+ OutputcheckSuitePreferencePreferencesAutoTriggerChecksItem = TypedDict(
4433
+ "OutputcheckSuitePreferencePreferencesAutoTriggerChecksItem",
4434
+ {"app_id": Required["int | str"], "setting": Required["bool"]},
4435
+ total=False,
4436
+ )
4437
+ OutputcloneTraffic = TypedDict(
4438
+ "OutputcloneTraffic",
4439
+ {
4440
+ "clones": Required["list[Outputtraffic]"],
4441
+ "count": Required["int | str"],
4442
+ "uniques": Required["int | str"],
4443
+ },
4444
+ total=False,
4445
+ )
4446
+ OutputcodeFrequencyStat: TypeAlias = "list[int | str]"
4447
+ OutputcodeOfConduct = TypedDict(
4448
+ "OutputcodeOfConduct",
4449
+ {
4450
+ "body": NotRequired["str"],
4451
+ "html_url": Required["str | None"],
4452
+ "key": Required["str"],
4453
+ "name": Required["str"],
4454
+ "url": Required["str"],
4455
+ },
4456
+ total=False,
4457
+ )
4458
+ OutputcodeOfConductSimple = TypedDict(
4459
+ "OutputcodeOfConductSimple",
4460
+ {
4461
+ "html_url": Required["str | None"],
4462
+ "key": Required["str"],
4463
+ "name": Required["str"],
4464
+ "url": Required["str"],
4465
+ },
4466
+ total=False,
4467
+ )
4468
+ OutputcodeQualityFinding = TypedDict(
4469
+ "OutputcodeQualityFinding",
4470
+ {
4471
+ "created_at": NotRequired["str"],
4472
+ "location": Required["OutputcodeQualityFindingLocation"],
4473
+ "message": Required["OutputcodeQualityFindingMessage"],
4474
+ "number": Required["int | str"],
4475
+ "rule": Required["OutputcodeQualityFindingRule"],
4476
+ "state": Required["str"],
4477
+ "url": Required["str"],
4478
+ },
4479
+ total=False,
4480
+ )
4481
+ OutputcodeQualityFindingLocation = TypedDict(
4482
+ "OutputcodeQualityFindingLocation",
4483
+ {
4484
+ "end_column": NotRequired["int | str"],
4485
+ "end_line": NotRequired["int | str"],
4486
+ "path": Required["str"],
4487
+ "start_column": NotRequired["int | str"],
4488
+ "start_line": NotRequired["int | str"],
4489
+ },
4490
+ total=False,
4491
+ )
4492
+ OutputcodeQualityFindingMessage = TypedDict(
4493
+ "OutputcodeQualityFindingMessage",
4494
+ {"markdown": Required["str"], "text": Required["str"]},
4495
+ total=False,
4496
+ )
4497
+ OutputcodeQualityFindingRule = TypedDict(
4498
+ "OutputcodeQualityFindingRule",
4499
+ {
4500
+ "category": Required["str"],
4501
+ "description": Required["str"],
4502
+ "help": NotRequired["str"],
4503
+ "id": Required["str"],
4504
+ "severity": Required["str"],
4505
+ "title": Required["str"],
4506
+ },
4507
+ total=False,
4508
+ )
4509
+ OutputcodeQualitySetup = TypedDict(
4510
+ "OutputcodeQualitySetup",
4511
+ {
4512
+ "ai_findings_option": NotRequired["str | None"],
4513
+ "languages": NotRequired["list[str]"],
4514
+ "runner_label": NotRequired["str | None"],
4515
+ "runner_type": NotRequired["str | None"],
4516
+ "schedule": NotRequired["str | None"],
4517
+ "state": NotRequired["str"],
4518
+ "updated_at": NotRequired["str | None"],
4519
+ },
4520
+ total=False,
4521
+ )
4522
+ OutputcodeQualitySetupUpdateResponse = TypedDict(
4523
+ "OutputcodeQualitySetupUpdateResponse",
4524
+ {"run_id": NotRequired["int | str"], "run_url": NotRequired["str"]},
4525
+ total=False,
4526
+ )
4527
+ OutputcodeScanningAiScanEnablement = TypedDict(
4528
+ "OutputcodeScanningAiScanEnablement", {"pr_scan": Required["str"]}, total=False
4529
+ )
4530
+ OutputcodeScanningAiScanOrgSettings = TypedDict(
4531
+ "OutputcodeScanningAiScanOrgSettings", {"pr_scan": Required["str"]}, total=False
4532
+ )
4533
+ OutputcodeScanningAlert = TypedDict(
4534
+ "OutputcodeScanningAlert",
4535
+ {
4536
+ "assignees": NotRequired["list[OutputsimpleUser]"],
4537
+ "created_at": Required["OutputalertCreatedAt"],
4538
+ "dismissal_approved_by": NotRequired["OutputnullableSimpleUser"],
4539
+ "dismissed_at": Required["OutputalertDismissedAt"],
4540
+ "dismissed_by": Required["OutputnullableSimpleUser"],
4541
+ "dismissed_comment": NotRequired["OutputcodeScanningAlertDismissedComment"],
4542
+ "dismissed_reason": Required["OutputcodeScanningAlertDismissedReason"],
4543
+ "fixed_at": NotRequired["OutputalertFixedAt"],
4544
+ "html_url": Required["OutputalertHtmlUrl"],
4545
+ "instances_url": Required["OutputalertInstancesUrl"],
4546
+ "linked_pull_requests": NotRequired["list[OutputpullRequestSimple]"],
4547
+ "most_recent_instance": Required["OutputcodeScanningAlertInstance"],
4548
+ "number": Required["OutputalertNumber"],
4549
+ "rule": Required["OutputcodeScanningAlertRule"],
4550
+ "state": Required["OutputcodeScanningAlertState"],
4551
+ "tool": Required["OutputcodeScanningAnalysisTool"],
4552
+ "updated_at": NotRequired["OutputalertUpdatedAt"],
4553
+ "url": Required["OutputalertUrl"],
4554
+ },
4555
+ total=False,
4556
+ )
4557
+ OutputcodeScanningAlertClassification: TypeAlias = "str | None"
4558
+ OutputcodeScanningAlertDismissedComment: TypeAlias = "str | None"
4559
+ OutputcodeScanningAlertDismissedReason: TypeAlias = "str | None"
4560
+ OutputcodeScanningAlertEnvironment: TypeAlias = "str"
4561
+ OutputcodeScanningAlertInstance = TypedDict(
4562
+ "OutputcodeScanningAlertInstance",
4563
+ {
4564
+ "analysis_key": NotRequired["OutputcodeScanningAnalysisAnalysisKey"],
4565
+ "category": NotRequired["OutputcodeScanningAnalysisCategory"],
4566
+ "classifications": NotRequired["list[OutputcodeScanningAlertClassification]"],
4567
+ "commit_sha": NotRequired["str"],
4568
+ "environment": NotRequired["OutputcodeScanningAlertEnvironment"],
4569
+ "html_url": NotRequired["str"],
4570
+ "location": NotRequired["OutputcodeScanningAlertLocation"],
4571
+ "message": NotRequired["OutputcodeScanningAlertInstanceMessage"],
4572
+ "ref": NotRequired["OutputcodeScanningRef"],
4573
+ "state": NotRequired["OutputcodeScanningAlertState"],
4574
+ },
4575
+ total=False,
4576
+ )
4577
+ OutputcodeScanningAlertInstanceList = TypedDict(
4578
+ "OutputcodeScanningAlertInstanceList",
4579
+ {
4580
+ "analysis_key": NotRequired["OutputcodeScanningAnalysisAnalysisKey"],
4581
+ "category": NotRequired["OutputcodeScanningAnalysisCategory"],
4582
+ "classifications": NotRequired["list[OutputcodeScanningAlertClassification]"],
4583
+ "commit_sha": NotRequired["str"],
4584
+ "environment": NotRequired["OutputcodeScanningAlertEnvironment"],
4585
+ "html_url": NotRequired["str"],
4586
+ "location": NotRequired["OutputcodeScanningAlertLocation"],
4587
+ "message": NotRequired["OutputcodeScanningAlertInstanceListMessage"],
4588
+ "ref": NotRequired["OutputcodeScanningRef"],
4589
+ "state": NotRequired["OutputcodeScanningAlertInstanceState"],
4590
+ },
4591
+ total=False,
4592
+ )
4593
+ OutputcodeScanningAlertInstanceListMessage = TypedDict(
4594
+ "OutputcodeScanningAlertInstanceListMessage", {"text": NotRequired["str"]}, total=False
4595
+ )
4596
+ OutputcodeScanningAlertInstanceMessage = TypedDict(
4597
+ "OutputcodeScanningAlertInstanceMessage",
4598
+ {"markdown": NotRequired["str"], "text": NotRequired["str"]},
4599
+ total=False,
4600
+ )
4601
+ OutputcodeScanningAlertInstanceState: TypeAlias = "str | None"
4602
+ OutputcodeScanningAlertItems = TypedDict(
4603
+ "OutputcodeScanningAlertItems",
4604
+ {
4605
+ "assignees": NotRequired["list[OutputsimpleUser]"],
4606
+ "created_at": Required["OutputalertCreatedAt"],
4607
+ "dismissal_approved_by": NotRequired["OutputnullableSimpleUser"],
4608
+ "dismissed_at": Required["OutputalertDismissedAt"],
4609
+ "dismissed_by": Required["OutputnullableSimpleUser"],
4610
+ "dismissed_comment": NotRequired["OutputcodeScanningAlertDismissedComment"],
4611
+ "dismissed_reason": Required["OutputcodeScanningAlertDismissedReason"],
4612
+ "fixed_at": NotRequired["OutputalertFixedAt"],
4613
+ "html_url": Required["OutputalertHtmlUrl"],
4614
+ "instances_url": Required["OutputalertInstancesUrl"],
4615
+ "most_recent_instance": Required["OutputcodeScanningAlertInstance"],
4616
+ "number": Required["OutputalertNumber"],
4617
+ "rule": Required["OutputcodeScanningAlertRuleSummary"],
4618
+ "state": Required["OutputcodeScanningAlertState"],
4619
+ "tool": Required["OutputcodeScanningAnalysisTool"],
4620
+ "updated_at": NotRequired["OutputalertUpdatedAt"],
4621
+ "url": Required["OutputalertUrl"],
4622
+ },
4623
+ total=False,
4624
+ )
4625
+ OutputcodeScanningAlertLocation = TypedDict(
4626
+ "OutputcodeScanningAlertLocation",
4627
+ {
4628
+ "end_column": NotRequired["int | str"],
4629
+ "end_line": NotRequired["int | str"],
4630
+ "path": NotRequired["str"],
4631
+ "start_column": NotRequired["int | str"],
4632
+ "start_line": NotRequired["int | str"],
4633
+ },
4634
+ total=False,
4635
+ )
4636
+ OutputcodeScanningAlertRule = TypedDict(
4637
+ "OutputcodeScanningAlertRule",
4638
+ {
4639
+ "description": NotRequired["str"],
4640
+ "full_description": NotRequired["str"],
4641
+ "help": NotRequired["str | None"],
4642
+ "help_uri": NotRequired["str | None"],
4643
+ "id": NotRequired["str | None"],
4644
+ "name": NotRequired["str"],
4645
+ "security_severity_level": NotRequired["str | None"],
4646
+ "severity": NotRequired["str | None"],
4647
+ "tags": NotRequired["list[str] | None"],
4648
+ },
4649
+ total=False,
4650
+ )
4651
+ OutputcodeScanningAlertRuleSummary = TypedDict(
4652
+ "OutputcodeScanningAlertRuleSummary",
4653
+ {
4654
+ "description": NotRequired["str"],
4655
+ "full_description": NotRequired["str"],
4656
+ "help": NotRequired["str | None"],
4657
+ "help_uri": NotRequired["str | None"],
4658
+ "id": NotRequired["str | None"],
4659
+ "name": NotRequired["str"],
4660
+ "security_severity_level": NotRequired["str | None"],
4661
+ "severity": NotRequired["str | None"],
4662
+ "tags": NotRequired["list[str] | None"],
4663
+ },
4664
+ total=False,
4665
+ )
4666
+ OutputcodeScanningAlertState: TypeAlias = "str | None"
4667
+ OutputcodeScanningAnalysis = TypedDict(
4668
+ "OutputcodeScanningAnalysis",
4669
+ {
4670
+ "analysis_key": Required["OutputcodeScanningAnalysisAnalysisKey"],
4671
+ "category": NotRequired["OutputcodeScanningAnalysisCategory"],
4672
+ "commit_sha": Required["OutputcodeScanningAnalysisCommitSha"],
4673
+ "created_at": Required["OutputcodeScanningAnalysisCreatedAt"],
4674
+ "deletable": Required["bool"],
4675
+ "environment": Required["OutputcodeScanningAnalysisEnvironment"],
4676
+ "error": Required["str"],
4677
+ "id": Required["int | str"],
4678
+ "ref": Required["OutputcodeScanningRef"],
4679
+ "results_count": Required["int | str"],
4680
+ "rules_count": Required["int | str"],
4681
+ "sarif_id": Required["OutputcodeScanningAnalysisSarifId"],
4682
+ "tool": Required["OutputcodeScanningAnalysisTool"],
4683
+ "url": Required["OutputcodeScanningAnalysisUrl"],
4684
+ "warning": Required["str"],
4685
+ },
4686
+ total=False,
4687
+ )
4688
+ OutputcodeScanningAnalysisAnalysisKey: TypeAlias = "str"
4689
+ OutputcodeScanningAnalysisCategory: TypeAlias = "str"
4690
+ OutputcodeScanningAnalysisCommitSha: TypeAlias = "str"
4691
+ OutputcodeScanningAnalysisCreatedAt: TypeAlias = "str"
4692
+ OutputcodeScanningAnalysisDeletion = TypedDict(
4693
+ "OutputcodeScanningAnalysisDeletion",
4694
+ {"confirm_delete_url": Required["str | None"], "next_analysis_url": Required["str | None"]},
4695
+ total=False,
4696
+ )
4697
+ OutputcodeScanningAnalysisEnvironment: TypeAlias = "str"
4698
+ OutputcodeScanningAnalysisSarifId: TypeAlias = "str"
4699
+ OutputcodeScanningAnalysisTool = TypedDict(
4700
+ "OutputcodeScanningAnalysisTool",
4701
+ {
4702
+ "guid": NotRequired["OutputcodeScanningAnalysisToolGuid"],
4703
+ "name": NotRequired["OutputcodeScanningAnalysisToolName"],
4704
+ "version": NotRequired["OutputcodeScanningAnalysisToolVersion"],
4705
+ },
4706
+ total=False,
4707
+ )
4708
+ OutputcodeScanningAnalysisToolGuid: TypeAlias = "str | None"
4709
+ OutputcodeScanningAnalysisToolName: TypeAlias = "str"
4710
+ OutputcodeScanningAnalysisToolVersion: TypeAlias = "str | None"
4711
+ OutputcodeScanningAnalysisUrl: TypeAlias = "str"
4712
+ OutputcodeScanningAutofix = TypedDict(
4713
+ "OutputcodeScanningAutofix",
4714
+ {
4715
+ "description": Required["OutputcodeScanningAutofixDescription"],
4716
+ "started_at": Required["OutputcodeScanningAutofixStartedAt"],
4717
+ "status": Required["OutputcodeScanningAutofixStatus"],
4718
+ },
4719
+ total=False,
4720
+ )
4721
+ OutputcodeScanningAutofixCommitsResponse = TypedDict(
4722
+ "OutputcodeScanningAutofixCommitsResponse",
4723
+ {"sha": NotRequired["str"], "target_ref": NotRequired["str"]},
4724
+ total=False,
4725
+ )
4726
+ OutputcodeScanningAutofixDescription: TypeAlias = "str | None"