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.
- alter_sdk_github/__init__.py +6 -0
- alter_sdk_github/_github_models_00.py +3911 -0
- alter_sdk_github/_github_models_01.py +2377 -0
- alter_sdk_github/_github_models_02.py +2154 -0
- alter_sdk_github/_github_models_03.py +4097 -0
- alter_sdk_github/_github_models_04.py +2584 -0
- alter_sdk_github/_github_models_05.py +2307 -0
- alter_sdk_github/_github_models_06.py +2041 -0
- alter_sdk_github/_github_models_07.py +2140 -0
- alter_sdk_github/_github_models_08.py +2048 -0
- alter_sdk_github/_github_models_09.py +2342 -0
- alter_sdk_github/_github_models_10.py +2023 -0
- alter_sdk_github/_github_models_11.py +2183 -0
- alter_sdk_github/_github_models_12.py +2046 -0
- alter_sdk_github/_github_models_13.py +4726 -0
- alter_sdk_github/_github_models_14.py +5046 -0
- alter_sdk_github/_github_models_15.py +4540 -0
- alter_sdk_github/_github_models_16.py +4488 -0
- alter_sdk_github/_github_models_17.py +6756 -0
- alter_sdk_github/_github_models_18.py +7814 -0
- alter_sdk_github/_github_models_19.py +8694 -0
- alter_sdk_github/_github_models_20.py +9050 -0
- alter_sdk_github/_github_models_21.py +7384 -0
- alter_sdk_github/_github_models_22.py +1846 -0
- alter_sdk_github/client.py +45543 -0
- alter_sdk_github/contracts.py +23 -0
- alter_sdk_github/py.typed +0 -0
- alter_sdk_github/runtime.py +135 -0
- alter_sdk_github-0.2.1.dist-info/METADATA +64 -0
- alter_sdk_github-0.2.1.dist-info/RECORD +32 -0
- alter_sdk_github-0.2.1.dist-info/WHEEL +4 -0
- alter_sdk_github-0.2.1.dist-info/licenses/LICENSE +21 -0
|
@@ -0,0 +1,1846 @@
|
|
|
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 CvssSeverities
|
|
9
|
+
from alter_sdk_github._github_models_13 import MinimalRepository
|
|
10
|
+
from alter_sdk_github._github_models_13 import NullableSimpleCommit
|
|
11
|
+
from alter_sdk_github._github_models_16 import PullRequestMinimal
|
|
12
|
+
from alter_sdk_github._github_models_16 import PullRequestStack
|
|
13
|
+
from alter_sdk_github._github_models_16 import ReferencedWorkflow
|
|
14
|
+
from alter_sdk_github._github_models_16 import SimpleUser
|
|
15
|
+
|
|
16
|
+
WebhooksProjectCreatorVariant0 = TypedDict(
|
|
17
|
+
"WebhooksProjectCreatorVariant0",
|
|
18
|
+
{
|
|
19
|
+
"avatar_url": NotRequired["str"],
|
|
20
|
+
"deleted": NotRequired["bool"],
|
|
21
|
+
"email": NotRequired["str | None"],
|
|
22
|
+
"events_url": NotRequired["str"],
|
|
23
|
+
"followers_url": NotRequired["str"],
|
|
24
|
+
"following_url": NotRequired["str"],
|
|
25
|
+
"gists_url": NotRequired["str"],
|
|
26
|
+
"gravatar_id": NotRequired["str"],
|
|
27
|
+
"html_url": NotRequired["str"],
|
|
28
|
+
"id": Required["int"],
|
|
29
|
+
"login": Required["str"],
|
|
30
|
+
"name": NotRequired["str"],
|
|
31
|
+
"node_id": NotRequired["str"],
|
|
32
|
+
"organizations_url": NotRequired["str"],
|
|
33
|
+
"received_events_url": NotRequired["str"],
|
|
34
|
+
"repos_url": NotRequired["str"],
|
|
35
|
+
"site_admin": NotRequired["bool"],
|
|
36
|
+
"starred_url": NotRequired["str"],
|
|
37
|
+
"subscriptions_url": NotRequired["str"],
|
|
38
|
+
"type": NotRequired["Literal['Bot', 'User', 'Organization']"],
|
|
39
|
+
"url": NotRequired["str"],
|
|
40
|
+
"user_view_type": NotRequired["str"],
|
|
41
|
+
},
|
|
42
|
+
total=False,
|
|
43
|
+
)
|
|
44
|
+
WebhooksPullRequest5 = TypedDict(
|
|
45
|
+
"WebhooksPullRequest5",
|
|
46
|
+
{
|
|
47
|
+
"_links": Required["WebhooksPullRequest5Links"],
|
|
48
|
+
"active_lock_reason": Required[
|
|
49
|
+
"Literal['resolved', 'off-topic', 'too heated', 'spam'] | None | None"
|
|
50
|
+
],
|
|
51
|
+
"additions": NotRequired["int"],
|
|
52
|
+
"assignee": Required["WebhooksPullRequest5AssigneeVariant0 | None"],
|
|
53
|
+
"assignees": Required["list[WebhooksPullRequest5AssigneesItemVariant0 | None]"],
|
|
54
|
+
"author_association": Required[
|
|
55
|
+
"Literal['COLLABORATOR', 'CONTRIBUTOR', 'FIRST_TIMER', 'FIRST_TIME_CONTRIBUTOR', 'MANNEQUIN', 'MEMBER', 'NONE', 'OWNER']"
|
|
56
|
+
],
|
|
57
|
+
"auto_merge": Required["WebhooksPullRequest5AutoMergeVariant0 | None"],
|
|
58
|
+
"base": Required["WebhooksPullRequest5Base"],
|
|
59
|
+
"body": Required["str | None"],
|
|
60
|
+
"changed_files": NotRequired["int"],
|
|
61
|
+
"closed_at": Required["str | None"],
|
|
62
|
+
"comments": NotRequired["int"],
|
|
63
|
+
"comments_url": Required["str"],
|
|
64
|
+
"commits": NotRequired["int"],
|
|
65
|
+
"commits_url": Required["str"],
|
|
66
|
+
"created_at": Required["str"],
|
|
67
|
+
"deletions": NotRequired["int"],
|
|
68
|
+
"diff_url": Required["str"],
|
|
69
|
+
"draft": Required["bool"],
|
|
70
|
+
"head": Required["WebhooksPullRequest5Head"],
|
|
71
|
+
"html_url": Required["str"],
|
|
72
|
+
"id": Required["int"],
|
|
73
|
+
"issue_url": Required["str"],
|
|
74
|
+
"labels": Required["list[WebhooksPullRequest5LabelsItem]"],
|
|
75
|
+
"locked": Required["bool"],
|
|
76
|
+
"maintainer_can_modify": NotRequired["bool"],
|
|
77
|
+
"mergeable": NotRequired["bool | None"],
|
|
78
|
+
"mergeable_state": NotRequired["str"],
|
|
79
|
+
"merged": NotRequired["bool | None"],
|
|
80
|
+
"merged_at": Required["str | None"],
|
|
81
|
+
"merged_by": NotRequired["WebhooksPullRequest5MergedByVariant0 | None"],
|
|
82
|
+
"milestone": Required["WebhooksPullRequest5MilestoneVariant0 | None"],
|
|
83
|
+
"node_id": Required["str"],
|
|
84
|
+
"number": Required["int"],
|
|
85
|
+
"patch_url": Required["str"],
|
|
86
|
+
"rebaseable": NotRequired["bool | None"],
|
|
87
|
+
"requested_reviewers": Required[
|
|
88
|
+
"list[Union[WebhooksPullRequest5RequestedReviewersItemVariant0Variant0 | None, WebhooksPullRequest5RequestedReviewersItemVariant1]]"
|
|
89
|
+
],
|
|
90
|
+
"requested_teams": Required["list[WebhooksPullRequest5RequestedTeamsItem]"],
|
|
91
|
+
"review_comment_url": Required["str"],
|
|
92
|
+
"review_comments": NotRequired["int"],
|
|
93
|
+
"review_comments_url": Required["str"],
|
|
94
|
+
"stack": NotRequired["PullRequestStack"],
|
|
95
|
+
"state": Required["Literal['open', 'closed']"],
|
|
96
|
+
"statuses_url": Required["str"],
|
|
97
|
+
"title": Required["str"],
|
|
98
|
+
"updated_at": Required["str"],
|
|
99
|
+
"url": Required["str"],
|
|
100
|
+
"user": Required["WebhooksPullRequest5UserVariant0 | None"],
|
|
101
|
+
},
|
|
102
|
+
total=False,
|
|
103
|
+
)
|
|
104
|
+
WebhooksPullRequest5AssigneeVariant0 = TypedDict(
|
|
105
|
+
"WebhooksPullRequest5AssigneeVariant0",
|
|
106
|
+
{
|
|
107
|
+
"avatar_url": NotRequired["str"],
|
|
108
|
+
"deleted": NotRequired["bool"],
|
|
109
|
+
"email": NotRequired["str | None"],
|
|
110
|
+
"events_url": NotRequired["str"],
|
|
111
|
+
"followers_url": NotRequired["str"],
|
|
112
|
+
"following_url": NotRequired["str"],
|
|
113
|
+
"gists_url": NotRequired["str"],
|
|
114
|
+
"gravatar_id": NotRequired["str"],
|
|
115
|
+
"html_url": NotRequired["str"],
|
|
116
|
+
"id": Required["int"],
|
|
117
|
+
"login": Required["str"],
|
|
118
|
+
"name": NotRequired["str"],
|
|
119
|
+
"node_id": NotRequired["str"],
|
|
120
|
+
"organizations_url": NotRequired["str"],
|
|
121
|
+
"received_events_url": NotRequired["str"],
|
|
122
|
+
"repos_url": NotRequired["str"],
|
|
123
|
+
"site_admin": NotRequired["bool"],
|
|
124
|
+
"starred_url": NotRequired["str"],
|
|
125
|
+
"subscriptions_url": NotRequired["str"],
|
|
126
|
+
"type": NotRequired["Literal['Bot', 'User', 'Organization', 'Mannequin']"],
|
|
127
|
+
"url": NotRequired["str"],
|
|
128
|
+
"user_view_type": NotRequired["str"],
|
|
129
|
+
},
|
|
130
|
+
total=False,
|
|
131
|
+
)
|
|
132
|
+
WebhooksPullRequest5AssigneesItemVariant0 = TypedDict(
|
|
133
|
+
"WebhooksPullRequest5AssigneesItemVariant0",
|
|
134
|
+
{
|
|
135
|
+
"avatar_url": NotRequired["str"],
|
|
136
|
+
"deleted": NotRequired["bool"],
|
|
137
|
+
"email": NotRequired["str | None"],
|
|
138
|
+
"events_url": NotRequired["str"],
|
|
139
|
+
"followers_url": NotRequired["str"],
|
|
140
|
+
"following_url": NotRequired["str"],
|
|
141
|
+
"gists_url": NotRequired["str"],
|
|
142
|
+
"gravatar_id": NotRequired["str"],
|
|
143
|
+
"html_url": NotRequired["str"],
|
|
144
|
+
"id": Required["int"],
|
|
145
|
+
"login": Required["str"],
|
|
146
|
+
"name": NotRequired["str"],
|
|
147
|
+
"node_id": NotRequired["str"],
|
|
148
|
+
"organizations_url": NotRequired["str"],
|
|
149
|
+
"received_events_url": NotRequired["str"],
|
|
150
|
+
"repos_url": NotRequired["str"],
|
|
151
|
+
"site_admin": NotRequired["bool"],
|
|
152
|
+
"starred_url": NotRequired["str"],
|
|
153
|
+
"subscriptions_url": NotRequired["str"],
|
|
154
|
+
"type": NotRequired["Literal['Bot', 'User', 'Organization', 'Mannequin']"],
|
|
155
|
+
"url": NotRequired["str"],
|
|
156
|
+
},
|
|
157
|
+
total=False,
|
|
158
|
+
)
|
|
159
|
+
WebhooksPullRequest5AutoMergeVariant0 = TypedDict(
|
|
160
|
+
"WebhooksPullRequest5AutoMergeVariant0",
|
|
161
|
+
{
|
|
162
|
+
"commit_message": Required["str | None"],
|
|
163
|
+
"commit_title": Required["str | None"],
|
|
164
|
+
"enabled_by": Required["WebhooksPullRequest5AutoMergeVariant0EnabledByVariant0 | None"],
|
|
165
|
+
"merge_method": Required["Literal['merge', 'squash', 'rebase']"],
|
|
166
|
+
},
|
|
167
|
+
total=False,
|
|
168
|
+
)
|
|
169
|
+
WebhooksPullRequest5AutoMergeVariant0EnabledByVariant0 = TypedDict(
|
|
170
|
+
"WebhooksPullRequest5AutoMergeVariant0EnabledByVariant0",
|
|
171
|
+
{
|
|
172
|
+
"avatar_url": NotRequired["str"],
|
|
173
|
+
"deleted": NotRequired["bool"],
|
|
174
|
+
"email": NotRequired["str | None"],
|
|
175
|
+
"events_url": NotRequired["str"],
|
|
176
|
+
"followers_url": NotRequired["str"],
|
|
177
|
+
"following_url": NotRequired["str"],
|
|
178
|
+
"gists_url": NotRequired["str"],
|
|
179
|
+
"gravatar_id": NotRequired["str"],
|
|
180
|
+
"html_url": NotRequired["str"],
|
|
181
|
+
"id": Required["int"],
|
|
182
|
+
"login": Required["str"],
|
|
183
|
+
"name": NotRequired["str"],
|
|
184
|
+
"node_id": NotRequired["str"],
|
|
185
|
+
"organizations_url": NotRequired["str"],
|
|
186
|
+
"received_events_url": NotRequired["str"],
|
|
187
|
+
"repos_url": NotRequired["str"],
|
|
188
|
+
"site_admin": NotRequired["bool"],
|
|
189
|
+
"starred_url": NotRequired["str"],
|
|
190
|
+
"subscriptions_url": NotRequired["str"],
|
|
191
|
+
"type": NotRequired["Literal['Bot', 'User', 'Organization']"],
|
|
192
|
+
"url": NotRequired["str"],
|
|
193
|
+
"user_view_type": NotRequired["str"],
|
|
194
|
+
},
|
|
195
|
+
total=False,
|
|
196
|
+
)
|
|
197
|
+
WebhooksPullRequest5Base = TypedDict(
|
|
198
|
+
"WebhooksPullRequest5Base",
|
|
199
|
+
{
|
|
200
|
+
"label": Required["str"],
|
|
201
|
+
"ref": Required["str"],
|
|
202
|
+
"repo": Required["WebhooksPullRequest5BaseRepo"],
|
|
203
|
+
"sha": Required["str"],
|
|
204
|
+
"user": Required["WebhooksPullRequest5BaseUserVariant0 | None"],
|
|
205
|
+
},
|
|
206
|
+
total=False,
|
|
207
|
+
)
|
|
208
|
+
WebhooksPullRequest5BaseRepo = TypedDict(
|
|
209
|
+
"WebhooksPullRequest5BaseRepo",
|
|
210
|
+
{
|
|
211
|
+
"allow_auto_merge": NotRequired["bool"],
|
|
212
|
+
"allow_forking": NotRequired["bool"],
|
|
213
|
+
"allow_merge_commit": NotRequired["bool"],
|
|
214
|
+
"allow_rebase_merge": NotRequired["bool"],
|
|
215
|
+
"allow_squash_merge": NotRequired["bool"],
|
|
216
|
+
"allow_update_branch": NotRequired["bool"],
|
|
217
|
+
"archive_url": Required["str"],
|
|
218
|
+
"archived": Required["bool"],
|
|
219
|
+
"assignees_url": Required["str"],
|
|
220
|
+
"blobs_url": Required["str"],
|
|
221
|
+
"branches_url": Required["str"],
|
|
222
|
+
"clone_url": Required["str"],
|
|
223
|
+
"collaborators_url": Required["str"],
|
|
224
|
+
"comments_url": Required["str"],
|
|
225
|
+
"commits_url": Required["str"],
|
|
226
|
+
"compare_url": Required["str"],
|
|
227
|
+
"contents_url": Required["str"],
|
|
228
|
+
"contributors_url": Required["str"],
|
|
229
|
+
"created_at": Required["int | str"],
|
|
230
|
+
"default_branch": Required["str"],
|
|
231
|
+
"delete_branch_on_merge": NotRequired["bool"],
|
|
232
|
+
"deployments_url": Required["str"],
|
|
233
|
+
"description": Required["str | None"],
|
|
234
|
+
"disabled": NotRequired["bool"],
|
|
235
|
+
"downloads_url": Required["str"],
|
|
236
|
+
"events_url": Required["str"],
|
|
237
|
+
"fork": Required["bool"],
|
|
238
|
+
"forks": Required["int"],
|
|
239
|
+
"forks_count": Required["int"],
|
|
240
|
+
"forks_url": Required["str"],
|
|
241
|
+
"full_name": Required["str"],
|
|
242
|
+
"git_commits_url": Required["str"],
|
|
243
|
+
"git_refs_url": Required["str"],
|
|
244
|
+
"git_tags_url": Required["str"],
|
|
245
|
+
"git_url": Required["str"],
|
|
246
|
+
"has_discussions": Required["bool"],
|
|
247
|
+
"has_downloads": Required["bool"],
|
|
248
|
+
"has_issues": Required["bool"],
|
|
249
|
+
"has_pages": Required["bool"],
|
|
250
|
+
"has_projects": Required["bool"],
|
|
251
|
+
"has_pull_requests": NotRequired["bool"],
|
|
252
|
+
"has_wiki": Required["bool"],
|
|
253
|
+
"homepage": Required["str | None"],
|
|
254
|
+
"hooks_url": Required["str"],
|
|
255
|
+
"html_url": Required["str"],
|
|
256
|
+
"id": Required["int"],
|
|
257
|
+
"is_template": NotRequired["bool"],
|
|
258
|
+
"issue_comment_url": Required["str"],
|
|
259
|
+
"issue_events_url": Required["str"],
|
|
260
|
+
"issues_url": Required["str"],
|
|
261
|
+
"keys_url": Required["str"],
|
|
262
|
+
"labels_url": Required["str"],
|
|
263
|
+
"language": Required["str | None"],
|
|
264
|
+
"languages_url": Required["str"],
|
|
265
|
+
"license": Required["WebhooksPullRequest5BaseRepoLicenseVariant0 | None"],
|
|
266
|
+
"master_branch": NotRequired["str"],
|
|
267
|
+
"merge_commit_message": NotRequired["Literal['PR_BODY', 'PR_TITLE', 'BLANK']"],
|
|
268
|
+
"merge_commit_title": NotRequired["Literal['PR_TITLE', 'MERGE_MESSAGE']"],
|
|
269
|
+
"merges_url": Required["str"],
|
|
270
|
+
"milestones_url": Required["str"],
|
|
271
|
+
"mirror_url": Required["str | None"],
|
|
272
|
+
"name": Required["str"],
|
|
273
|
+
"node_id": Required["str"],
|
|
274
|
+
"notifications_url": Required["str"],
|
|
275
|
+
"open_issues": Required["int"],
|
|
276
|
+
"open_issues_count": Required["int"],
|
|
277
|
+
"organization": NotRequired["str"],
|
|
278
|
+
"owner": Required["WebhooksPullRequest5BaseRepoOwnerVariant0 | None"],
|
|
279
|
+
"permissions": NotRequired["WebhooksPullRequest5BaseRepoPermissions"],
|
|
280
|
+
"private": Required["bool"],
|
|
281
|
+
"public": NotRequired["bool"],
|
|
282
|
+
"pull_request_creation_policy": NotRequired["Literal['all', 'collaborators_only']"],
|
|
283
|
+
"pulls_url": Required["str"],
|
|
284
|
+
"pushed_at": Required["Union[int | str, None]"],
|
|
285
|
+
"releases_url": Required["str"],
|
|
286
|
+
"role_name": NotRequired["str | None"],
|
|
287
|
+
"size": Required["int"],
|
|
288
|
+
"squash_merge_commit_message": NotRequired[
|
|
289
|
+
"Literal['PR_BODY', 'COMMIT_MESSAGES', 'BLANK']"
|
|
290
|
+
],
|
|
291
|
+
"squash_merge_commit_title": NotRequired["Literal['PR_TITLE', 'COMMIT_OR_PR_TITLE']"],
|
|
292
|
+
"ssh_url": Required["str"],
|
|
293
|
+
"stargazers": NotRequired["int"],
|
|
294
|
+
"stargazers_count": Required["int"],
|
|
295
|
+
"stargazers_url": Required["str"],
|
|
296
|
+
"statuses_url": Required["str"],
|
|
297
|
+
"subscribers_url": Required["str"],
|
|
298
|
+
"subscription_url": Required["str"],
|
|
299
|
+
"svn_url": Required["str"],
|
|
300
|
+
"tags_url": Required["str"],
|
|
301
|
+
"teams_url": Required["str"],
|
|
302
|
+
"topics": Required["list[str]"],
|
|
303
|
+
"trees_url": Required["str"],
|
|
304
|
+
"updated_at": Required["str"],
|
|
305
|
+
"url": Required["str"],
|
|
306
|
+
"use_squash_pr_title_as_default": NotRequired["bool"],
|
|
307
|
+
"visibility": Required["Literal['public', 'private', 'internal']"],
|
|
308
|
+
"watchers": Required["int"],
|
|
309
|
+
"watchers_count": Required["int"],
|
|
310
|
+
"web_commit_signoff_required": NotRequired["bool"],
|
|
311
|
+
},
|
|
312
|
+
total=False,
|
|
313
|
+
)
|
|
314
|
+
WebhooksPullRequest5BaseRepoLicenseVariant0 = TypedDict(
|
|
315
|
+
"WebhooksPullRequest5BaseRepoLicenseVariant0",
|
|
316
|
+
{
|
|
317
|
+
"key": Required["str"],
|
|
318
|
+
"name": Required["str"],
|
|
319
|
+
"node_id": Required["str"],
|
|
320
|
+
"spdx_id": Required["str"],
|
|
321
|
+
"url": Required["str | None"],
|
|
322
|
+
},
|
|
323
|
+
total=False,
|
|
324
|
+
)
|
|
325
|
+
WebhooksPullRequest5BaseRepoOwnerVariant0 = TypedDict(
|
|
326
|
+
"WebhooksPullRequest5BaseRepoOwnerVariant0",
|
|
327
|
+
{
|
|
328
|
+
"avatar_url": NotRequired["str"],
|
|
329
|
+
"deleted": NotRequired["bool"],
|
|
330
|
+
"email": NotRequired["str | None"],
|
|
331
|
+
"events_url": NotRequired["str"],
|
|
332
|
+
"followers_url": NotRequired["str"],
|
|
333
|
+
"following_url": NotRequired["str"],
|
|
334
|
+
"gists_url": NotRequired["str"],
|
|
335
|
+
"gravatar_id": NotRequired["str"],
|
|
336
|
+
"html_url": NotRequired["str"],
|
|
337
|
+
"id": Required["int"],
|
|
338
|
+
"login": Required["str"],
|
|
339
|
+
"name": NotRequired["str"],
|
|
340
|
+
"node_id": NotRequired["str"],
|
|
341
|
+
"organizations_url": NotRequired["str"],
|
|
342
|
+
"received_events_url": NotRequired["str"],
|
|
343
|
+
"repos_url": NotRequired["str"],
|
|
344
|
+
"site_admin": NotRequired["bool"],
|
|
345
|
+
"starred_url": NotRequired["str"],
|
|
346
|
+
"subscriptions_url": NotRequired["str"],
|
|
347
|
+
"type": NotRequired["Literal['Bot', 'User', 'Organization']"],
|
|
348
|
+
"url": NotRequired["str"],
|
|
349
|
+
"user_view_type": NotRequired["str"],
|
|
350
|
+
},
|
|
351
|
+
total=False,
|
|
352
|
+
)
|
|
353
|
+
WebhooksPullRequest5BaseRepoPermissions = TypedDict(
|
|
354
|
+
"WebhooksPullRequest5BaseRepoPermissions",
|
|
355
|
+
{
|
|
356
|
+
"admin": Required["bool"],
|
|
357
|
+
"maintain": NotRequired["bool"],
|
|
358
|
+
"pull": Required["bool"],
|
|
359
|
+
"push": Required["bool"],
|
|
360
|
+
"triage": NotRequired["bool"],
|
|
361
|
+
},
|
|
362
|
+
total=False,
|
|
363
|
+
)
|
|
364
|
+
WebhooksPullRequest5BaseUserVariant0 = TypedDict(
|
|
365
|
+
"WebhooksPullRequest5BaseUserVariant0",
|
|
366
|
+
{
|
|
367
|
+
"avatar_url": NotRequired["str"],
|
|
368
|
+
"deleted": NotRequired["bool"],
|
|
369
|
+
"email": NotRequired["str | None"],
|
|
370
|
+
"events_url": NotRequired["str"],
|
|
371
|
+
"followers_url": NotRequired["str"],
|
|
372
|
+
"following_url": NotRequired["str"],
|
|
373
|
+
"gists_url": NotRequired["str"],
|
|
374
|
+
"gravatar_id": NotRequired["str"],
|
|
375
|
+
"html_url": NotRequired["str"],
|
|
376
|
+
"id": Required["int"],
|
|
377
|
+
"login": Required["str"],
|
|
378
|
+
"name": NotRequired["str"],
|
|
379
|
+
"node_id": NotRequired["str"],
|
|
380
|
+
"organizations_url": NotRequired["str"],
|
|
381
|
+
"received_events_url": NotRequired["str"],
|
|
382
|
+
"repos_url": NotRequired["str"],
|
|
383
|
+
"site_admin": NotRequired["bool"],
|
|
384
|
+
"starred_url": NotRequired["str"],
|
|
385
|
+
"subscriptions_url": NotRequired["str"],
|
|
386
|
+
"type": NotRequired["Literal['Bot', 'User', 'Organization']"],
|
|
387
|
+
"url": NotRequired["str"],
|
|
388
|
+
"user_view_type": NotRequired["str"],
|
|
389
|
+
},
|
|
390
|
+
total=False,
|
|
391
|
+
)
|
|
392
|
+
WebhooksPullRequest5Head = TypedDict(
|
|
393
|
+
"WebhooksPullRequest5Head",
|
|
394
|
+
{
|
|
395
|
+
"label": Required["str"],
|
|
396
|
+
"ref": Required["str"],
|
|
397
|
+
"repo": Required["WebhooksPullRequest5HeadRepo"],
|
|
398
|
+
"sha": Required["str"],
|
|
399
|
+
"user": Required["WebhooksPullRequest5HeadUserVariant0 | None"],
|
|
400
|
+
},
|
|
401
|
+
total=False,
|
|
402
|
+
)
|
|
403
|
+
WebhooksPullRequest5HeadRepo = TypedDict(
|
|
404
|
+
"WebhooksPullRequest5HeadRepo",
|
|
405
|
+
{
|
|
406
|
+
"allow_auto_merge": NotRequired["bool"],
|
|
407
|
+
"allow_forking": NotRequired["bool"],
|
|
408
|
+
"allow_merge_commit": NotRequired["bool"],
|
|
409
|
+
"allow_rebase_merge": NotRequired["bool"],
|
|
410
|
+
"allow_squash_merge": NotRequired["bool"],
|
|
411
|
+
"allow_update_branch": NotRequired["bool"],
|
|
412
|
+
"archive_url": Required["str"],
|
|
413
|
+
"archived": Required["bool"],
|
|
414
|
+
"assignees_url": Required["str"],
|
|
415
|
+
"blobs_url": Required["str"],
|
|
416
|
+
"branches_url": Required["str"],
|
|
417
|
+
"clone_url": Required["str"],
|
|
418
|
+
"collaborators_url": Required["str"],
|
|
419
|
+
"comments_url": Required["str"],
|
|
420
|
+
"commits_url": Required["str"],
|
|
421
|
+
"compare_url": Required["str"],
|
|
422
|
+
"contents_url": Required["str"],
|
|
423
|
+
"contributors_url": Required["str"],
|
|
424
|
+
"created_at": Required["int | str"],
|
|
425
|
+
"default_branch": Required["str"],
|
|
426
|
+
"delete_branch_on_merge": NotRequired["bool"],
|
|
427
|
+
"deployments_url": Required["str"],
|
|
428
|
+
"description": Required["str | None"],
|
|
429
|
+
"disabled": NotRequired["bool"],
|
|
430
|
+
"downloads_url": Required["str"],
|
|
431
|
+
"events_url": Required["str"],
|
|
432
|
+
"fork": Required["bool"],
|
|
433
|
+
"forks": Required["int"],
|
|
434
|
+
"forks_count": Required["int"],
|
|
435
|
+
"forks_url": Required["str"],
|
|
436
|
+
"full_name": Required["str"],
|
|
437
|
+
"git_commits_url": Required["str"],
|
|
438
|
+
"git_refs_url": Required["str"],
|
|
439
|
+
"git_tags_url": Required["str"],
|
|
440
|
+
"git_url": Required["str"],
|
|
441
|
+
"has_discussions": Required["bool"],
|
|
442
|
+
"has_downloads": Required["bool"],
|
|
443
|
+
"has_issues": Required["bool"],
|
|
444
|
+
"has_pages": Required["bool"],
|
|
445
|
+
"has_projects": Required["bool"],
|
|
446
|
+
"has_pull_requests": NotRequired["bool"],
|
|
447
|
+
"has_wiki": Required["bool"],
|
|
448
|
+
"homepage": Required["str | None"],
|
|
449
|
+
"hooks_url": Required["str"],
|
|
450
|
+
"html_url": Required["str"],
|
|
451
|
+
"id": Required["int"],
|
|
452
|
+
"is_template": NotRequired["bool"],
|
|
453
|
+
"issue_comment_url": Required["str"],
|
|
454
|
+
"issue_events_url": Required["str"],
|
|
455
|
+
"issues_url": Required["str"],
|
|
456
|
+
"keys_url": Required["str"],
|
|
457
|
+
"labels_url": Required["str"],
|
|
458
|
+
"language": Required["str | None"],
|
|
459
|
+
"languages_url": Required["str"],
|
|
460
|
+
"license": Required["WebhooksPullRequest5HeadRepoLicenseVariant0 | None"],
|
|
461
|
+
"master_branch": NotRequired["str"],
|
|
462
|
+
"merge_commit_message": NotRequired["Literal['PR_BODY', 'PR_TITLE', 'BLANK']"],
|
|
463
|
+
"merge_commit_title": NotRequired["Literal['PR_TITLE', 'MERGE_MESSAGE']"],
|
|
464
|
+
"merges_url": Required["str"],
|
|
465
|
+
"milestones_url": Required["str"],
|
|
466
|
+
"mirror_url": Required["str | None"],
|
|
467
|
+
"name": Required["str"],
|
|
468
|
+
"node_id": Required["str"],
|
|
469
|
+
"notifications_url": Required["str"],
|
|
470
|
+
"open_issues": Required["int"],
|
|
471
|
+
"open_issues_count": Required["int"],
|
|
472
|
+
"organization": NotRequired["str"],
|
|
473
|
+
"owner": Required["WebhooksPullRequest5HeadRepoOwnerVariant0 | None"],
|
|
474
|
+
"permissions": NotRequired["WebhooksPullRequest5HeadRepoPermissions"],
|
|
475
|
+
"private": Required["bool"],
|
|
476
|
+
"public": NotRequired["bool"],
|
|
477
|
+
"pull_request_creation_policy": NotRequired["Literal['all', 'collaborators_only']"],
|
|
478
|
+
"pulls_url": Required["str"],
|
|
479
|
+
"pushed_at": Required["Union[int | str, None]"],
|
|
480
|
+
"releases_url": Required["str"],
|
|
481
|
+
"role_name": NotRequired["str | None"],
|
|
482
|
+
"size": Required["int"],
|
|
483
|
+
"squash_merge_commit_message": NotRequired[
|
|
484
|
+
"Literal['PR_BODY', 'COMMIT_MESSAGES', 'BLANK']"
|
|
485
|
+
],
|
|
486
|
+
"squash_merge_commit_title": NotRequired["Literal['PR_TITLE', 'COMMIT_OR_PR_TITLE']"],
|
|
487
|
+
"ssh_url": Required["str"],
|
|
488
|
+
"stargazers": NotRequired["int"],
|
|
489
|
+
"stargazers_count": Required["int"],
|
|
490
|
+
"stargazers_url": Required["str"],
|
|
491
|
+
"statuses_url": Required["str"],
|
|
492
|
+
"subscribers_url": Required["str"],
|
|
493
|
+
"subscription_url": Required["str"],
|
|
494
|
+
"svn_url": Required["str"],
|
|
495
|
+
"tags_url": Required["str"],
|
|
496
|
+
"teams_url": Required["str"],
|
|
497
|
+
"topics": Required["list[str]"],
|
|
498
|
+
"trees_url": Required["str"],
|
|
499
|
+
"updated_at": Required["str"],
|
|
500
|
+
"url": Required["str"],
|
|
501
|
+
"use_squash_pr_title_as_default": NotRequired["bool"],
|
|
502
|
+
"visibility": Required["Literal['public', 'private', 'internal']"],
|
|
503
|
+
"watchers": Required["int"],
|
|
504
|
+
"watchers_count": Required["int"],
|
|
505
|
+
"web_commit_signoff_required": NotRequired["bool"],
|
|
506
|
+
},
|
|
507
|
+
total=False,
|
|
508
|
+
)
|
|
509
|
+
WebhooksPullRequest5HeadRepoLicenseVariant0 = TypedDict(
|
|
510
|
+
"WebhooksPullRequest5HeadRepoLicenseVariant0",
|
|
511
|
+
{
|
|
512
|
+
"key": Required["str"],
|
|
513
|
+
"name": Required["str"],
|
|
514
|
+
"node_id": Required["str"],
|
|
515
|
+
"spdx_id": Required["str"],
|
|
516
|
+
"url": Required["str | None"],
|
|
517
|
+
},
|
|
518
|
+
total=False,
|
|
519
|
+
)
|
|
520
|
+
WebhooksPullRequest5HeadRepoOwnerVariant0 = TypedDict(
|
|
521
|
+
"WebhooksPullRequest5HeadRepoOwnerVariant0",
|
|
522
|
+
{
|
|
523
|
+
"avatar_url": NotRequired["str"],
|
|
524
|
+
"deleted": NotRequired["bool"],
|
|
525
|
+
"email": NotRequired["str | None"],
|
|
526
|
+
"events_url": NotRequired["str"],
|
|
527
|
+
"followers_url": NotRequired["str"],
|
|
528
|
+
"following_url": NotRequired["str"],
|
|
529
|
+
"gists_url": NotRequired["str"],
|
|
530
|
+
"gravatar_id": NotRequired["str"],
|
|
531
|
+
"html_url": NotRequired["str"],
|
|
532
|
+
"id": Required["int"],
|
|
533
|
+
"login": Required["str"],
|
|
534
|
+
"name": NotRequired["str"],
|
|
535
|
+
"node_id": NotRequired["str"],
|
|
536
|
+
"organizations_url": NotRequired["str"],
|
|
537
|
+
"received_events_url": NotRequired["str"],
|
|
538
|
+
"repos_url": NotRequired["str"],
|
|
539
|
+
"site_admin": NotRequired["bool"],
|
|
540
|
+
"starred_url": NotRequired["str"],
|
|
541
|
+
"subscriptions_url": NotRequired["str"],
|
|
542
|
+
"type": NotRequired["Literal['Bot', 'User', 'Organization']"],
|
|
543
|
+
"url": NotRequired["str"],
|
|
544
|
+
"user_view_type": NotRequired["str"],
|
|
545
|
+
},
|
|
546
|
+
total=False,
|
|
547
|
+
)
|
|
548
|
+
WebhooksPullRequest5HeadRepoPermissions = TypedDict(
|
|
549
|
+
"WebhooksPullRequest5HeadRepoPermissions",
|
|
550
|
+
{
|
|
551
|
+
"admin": Required["bool"],
|
|
552
|
+
"maintain": NotRequired["bool"],
|
|
553
|
+
"pull": Required["bool"],
|
|
554
|
+
"push": Required["bool"],
|
|
555
|
+
"triage": NotRequired["bool"],
|
|
556
|
+
},
|
|
557
|
+
total=False,
|
|
558
|
+
)
|
|
559
|
+
WebhooksPullRequest5HeadUserVariant0 = TypedDict(
|
|
560
|
+
"WebhooksPullRequest5HeadUserVariant0",
|
|
561
|
+
{
|
|
562
|
+
"avatar_url": NotRequired["str"],
|
|
563
|
+
"deleted": NotRequired["bool"],
|
|
564
|
+
"email": NotRequired["str | None"],
|
|
565
|
+
"events_url": NotRequired["str"],
|
|
566
|
+
"followers_url": NotRequired["str"],
|
|
567
|
+
"following_url": NotRequired["str"],
|
|
568
|
+
"gists_url": NotRequired["str"],
|
|
569
|
+
"gravatar_id": NotRequired["str"],
|
|
570
|
+
"html_url": NotRequired["str"],
|
|
571
|
+
"id": Required["int"],
|
|
572
|
+
"login": Required["str"],
|
|
573
|
+
"name": NotRequired["str"],
|
|
574
|
+
"node_id": NotRequired["str"],
|
|
575
|
+
"organizations_url": NotRequired["str"],
|
|
576
|
+
"received_events_url": NotRequired["str"],
|
|
577
|
+
"repos_url": NotRequired["str"],
|
|
578
|
+
"site_admin": NotRequired["bool"],
|
|
579
|
+
"starred_url": NotRequired["str"],
|
|
580
|
+
"subscriptions_url": NotRequired["str"],
|
|
581
|
+
"type": NotRequired["Literal['Bot', 'User', 'Organization']"],
|
|
582
|
+
"url": NotRequired["str"],
|
|
583
|
+
"user_view_type": NotRequired["str"],
|
|
584
|
+
},
|
|
585
|
+
total=False,
|
|
586
|
+
)
|
|
587
|
+
WebhooksPullRequest5LabelsItem = TypedDict(
|
|
588
|
+
"WebhooksPullRequest5LabelsItem",
|
|
589
|
+
{
|
|
590
|
+
"color": Required["str"],
|
|
591
|
+
"default": Required["bool"],
|
|
592
|
+
"description": Required["str | None"],
|
|
593
|
+
"id": Required["int"],
|
|
594
|
+
"name": Required["str"],
|
|
595
|
+
"node_id": Required["str"],
|
|
596
|
+
"url": Required["str"],
|
|
597
|
+
},
|
|
598
|
+
total=False,
|
|
599
|
+
)
|
|
600
|
+
WebhooksPullRequest5Links = TypedDict(
|
|
601
|
+
"WebhooksPullRequest5Links",
|
|
602
|
+
{
|
|
603
|
+
"comments": Required["WebhooksPullRequest5LinksComments"],
|
|
604
|
+
"commits": Required["WebhooksPullRequest5LinksCommits"],
|
|
605
|
+
"html": Required["WebhooksPullRequest5LinksHtml"],
|
|
606
|
+
"issue": Required["WebhooksPullRequest5LinksIssue"],
|
|
607
|
+
"review_comment": Required["WebhooksPullRequest5LinksReviewComment"],
|
|
608
|
+
"review_comments": Required["WebhooksPullRequest5LinksReviewComments"],
|
|
609
|
+
"self": Required["WebhooksPullRequest5LinksSelf"],
|
|
610
|
+
"statuses": Required["WebhooksPullRequest5LinksStatuses"],
|
|
611
|
+
},
|
|
612
|
+
total=False,
|
|
613
|
+
)
|
|
614
|
+
WebhooksPullRequest5LinksComments = TypedDict(
|
|
615
|
+
"WebhooksPullRequest5LinksComments", {"href": Required["str"]}, total=False
|
|
616
|
+
)
|
|
617
|
+
WebhooksPullRequest5LinksCommits = TypedDict(
|
|
618
|
+
"WebhooksPullRequest5LinksCommits", {"href": Required["str"]}, total=False
|
|
619
|
+
)
|
|
620
|
+
WebhooksPullRequest5LinksHtml = TypedDict(
|
|
621
|
+
"WebhooksPullRequest5LinksHtml", {"href": Required["str"]}, total=False
|
|
622
|
+
)
|
|
623
|
+
WebhooksPullRequest5LinksIssue = TypedDict(
|
|
624
|
+
"WebhooksPullRequest5LinksIssue", {"href": Required["str"]}, total=False
|
|
625
|
+
)
|
|
626
|
+
WebhooksPullRequest5LinksReviewComment = TypedDict(
|
|
627
|
+
"WebhooksPullRequest5LinksReviewComment", {"href": Required["str"]}, total=False
|
|
628
|
+
)
|
|
629
|
+
WebhooksPullRequest5LinksReviewComments = TypedDict(
|
|
630
|
+
"WebhooksPullRequest5LinksReviewComments", {"href": Required["str"]}, total=False
|
|
631
|
+
)
|
|
632
|
+
WebhooksPullRequest5LinksSelf = TypedDict(
|
|
633
|
+
"WebhooksPullRequest5LinksSelf", {"href": Required["str"]}, total=False
|
|
634
|
+
)
|
|
635
|
+
WebhooksPullRequest5LinksStatuses = TypedDict(
|
|
636
|
+
"WebhooksPullRequest5LinksStatuses", {"href": Required["str"]}, total=False
|
|
637
|
+
)
|
|
638
|
+
WebhooksPullRequest5MergedByVariant0 = TypedDict(
|
|
639
|
+
"WebhooksPullRequest5MergedByVariant0",
|
|
640
|
+
{
|
|
641
|
+
"avatar_url": NotRequired["str"],
|
|
642
|
+
"deleted": NotRequired["bool"],
|
|
643
|
+
"email": NotRequired["str | None"],
|
|
644
|
+
"events_url": NotRequired["str"],
|
|
645
|
+
"followers_url": NotRequired["str"],
|
|
646
|
+
"following_url": NotRequired["str"],
|
|
647
|
+
"gists_url": NotRequired["str"],
|
|
648
|
+
"gravatar_id": NotRequired["str"],
|
|
649
|
+
"html_url": NotRequired["str"],
|
|
650
|
+
"id": Required["int"],
|
|
651
|
+
"login": Required["str"],
|
|
652
|
+
"name": NotRequired["str"],
|
|
653
|
+
"node_id": NotRequired["str"],
|
|
654
|
+
"organizations_url": NotRequired["str"],
|
|
655
|
+
"received_events_url": NotRequired["str"],
|
|
656
|
+
"repos_url": NotRequired["str"],
|
|
657
|
+
"site_admin": NotRequired["bool"],
|
|
658
|
+
"starred_url": NotRequired["str"],
|
|
659
|
+
"subscriptions_url": NotRequired["str"],
|
|
660
|
+
"type": NotRequired["Literal['Bot', 'User', 'Organization', 'Mannequin']"],
|
|
661
|
+
"url": NotRequired["str"],
|
|
662
|
+
"user_view_type": NotRequired["str"],
|
|
663
|
+
},
|
|
664
|
+
total=False,
|
|
665
|
+
)
|
|
666
|
+
WebhooksPullRequest5MilestoneVariant0 = TypedDict(
|
|
667
|
+
"WebhooksPullRequest5MilestoneVariant0",
|
|
668
|
+
{
|
|
669
|
+
"closed_at": Required["str | None"],
|
|
670
|
+
"closed_issues": Required["int"],
|
|
671
|
+
"created_at": Required["str"],
|
|
672
|
+
"creator": Required["WebhooksPullRequest5MilestoneVariant0CreatorVariant0 | None"],
|
|
673
|
+
"description": Required["str | None"],
|
|
674
|
+
"due_on": Required["str | None"],
|
|
675
|
+
"html_url": Required["str"],
|
|
676
|
+
"id": Required["int"],
|
|
677
|
+
"labels_url": Required["str"],
|
|
678
|
+
"node_id": Required["str"],
|
|
679
|
+
"number": Required["int"],
|
|
680
|
+
"open_issues": Required["int"],
|
|
681
|
+
"state": Required["Literal['open', 'closed']"],
|
|
682
|
+
"title": Required["str"],
|
|
683
|
+
"updated_at": Required["str"],
|
|
684
|
+
"url": Required["str"],
|
|
685
|
+
},
|
|
686
|
+
total=False,
|
|
687
|
+
)
|
|
688
|
+
WebhooksPullRequest5MilestoneVariant0CreatorVariant0 = TypedDict(
|
|
689
|
+
"WebhooksPullRequest5MilestoneVariant0CreatorVariant0",
|
|
690
|
+
{
|
|
691
|
+
"avatar_url": NotRequired["str"],
|
|
692
|
+
"deleted": NotRequired["bool"],
|
|
693
|
+
"email": NotRequired["str | None"],
|
|
694
|
+
"events_url": NotRequired["str"],
|
|
695
|
+
"followers_url": NotRequired["str"],
|
|
696
|
+
"following_url": NotRequired["str"],
|
|
697
|
+
"gists_url": NotRequired["str"],
|
|
698
|
+
"gravatar_id": NotRequired["str"],
|
|
699
|
+
"html_url": NotRequired["str"],
|
|
700
|
+
"id": Required["int"],
|
|
701
|
+
"login": Required["str"],
|
|
702
|
+
"name": NotRequired["str"],
|
|
703
|
+
"node_id": NotRequired["str"],
|
|
704
|
+
"organizations_url": NotRequired["str"],
|
|
705
|
+
"received_events_url": NotRequired["str"],
|
|
706
|
+
"repos_url": NotRequired["str"],
|
|
707
|
+
"site_admin": NotRequired["bool"],
|
|
708
|
+
"starred_url": NotRequired["str"],
|
|
709
|
+
"subscriptions_url": NotRequired["str"],
|
|
710
|
+
"type": NotRequired["Literal['Bot', 'User', 'Organization', 'Mannequin']"],
|
|
711
|
+
"url": NotRequired["str"],
|
|
712
|
+
"user_view_type": NotRequired["str"],
|
|
713
|
+
},
|
|
714
|
+
total=False,
|
|
715
|
+
)
|
|
716
|
+
WebhooksPullRequest5RequestedReviewersItemVariant0Variant0 = TypedDict(
|
|
717
|
+
"WebhooksPullRequest5RequestedReviewersItemVariant0Variant0",
|
|
718
|
+
{
|
|
719
|
+
"avatar_url": NotRequired["str"],
|
|
720
|
+
"deleted": NotRequired["bool"],
|
|
721
|
+
"email": NotRequired["str | None"],
|
|
722
|
+
"events_url": NotRequired["str"],
|
|
723
|
+
"followers_url": NotRequired["str"],
|
|
724
|
+
"following_url": NotRequired["str"],
|
|
725
|
+
"gists_url": NotRequired["str"],
|
|
726
|
+
"gravatar_id": NotRequired["str"],
|
|
727
|
+
"html_url": NotRequired["str"],
|
|
728
|
+
"id": Required["int"],
|
|
729
|
+
"login": Required["str"],
|
|
730
|
+
"name": NotRequired["str"],
|
|
731
|
+
"node_id": NotRequired["str"],
|
|
732
|
+
"organizations_url": NotRequired["str"],
|
|
733
|
+
"received_events_url": NotRequired["str"],
|
|
734
|
+
"repos_url": NotRequired["str"],
|
|
735
|
+
"site_admin": NotRequired["bool"],
|
|
736
|
+
"starred_url": NotRequired["str"],
|
|
737
|
+
"subscriptions_url": NotRequired["str"],
|
|
738
|
+
"type": NotRequired["Literal['Bot', 'User', 'Organization']"],
|
|
739
|
+
"url": NotRequired["str"],
|
|
740
|
+
},
|
|
741
|
+
total=False,
|
|
742
|
+
)
|
|
743
|
+
WebhooksPullRequest5RequestedReviewersItemVariant1 = TypedDict(
|
|
744
|
+
"WebhooksPullRequest5RequestedReviewersItemVariant1",
|
|
745
|
+
{
|
|
746
|
+
"deleted": NotRequired["bool"],
|
|
747
|
+
"description": NotRequired["str | None"],
|
|
748
|
+
"html_url": NotRequired["str"],
|
|
749
|
+
"id": Required["int"],
|
|
750
|
+
"members_url": NotRequired["str"],
|
|
751
|
+
"name": Required["str"],
|
|
752
|
+
"node_id": NotRequired["str"],
|
|
753
|
+
"parent": NotRequired[
|
|
754
|
+
"WebhooksPullRequest5RequestedReviewersItemVariant1ParentVariant0 | None"
|
|
755
|
+
],
|
|
756
|
+
"permission": NotRequired["str"],
|
|
757
|
+
"privacy": NotRequired["Literal['open', 'closed', 'secret']"],
|
|
758
|
+
"repositories_url": NotRequired["str"],
|
|
759
|
+
"slug": NotRequired["str"],
|
|
760
|
+
"url": NotRequired["str"],
|
|
761
|
+
},
|
|
762
|
+
total=False,
|
|
763
|
+
)
|
|
764
|
+
WebhooksPullRequest5RequestedReviewersItemVariant1ParentVariant0 = TypedDict(
|
|
765
|
+
"WebhooksPullRequest5RequestedReviewersItemVariant1ParentVariant0",
|
|
766
|
+
{
|
|
767
|
+
"description": Required["str | None"],
|
|
768
|
+
"html_url": Required["str"],
|
|
769
|
+
"id": Required["int"],
|
|
770
|
+
"members_url": Required["str"],
|
|
771
|
+
"name": Required["str"],
|
|
772
|
+
"node_id": Required["str"],
|
|
773
|
+
"permission": Required["str"],
|
|
774
|
+
"privacy": Required["Literal['open', 'closed', 'secret']"],
|
|
775
|
+
"repositories_url": Required["str"],
|
|
776
|
+
"slug": Required["str"],
|
|
777
|
+
"url": Required["str"],
|
|
778
|
+
},
|
|
779
|
+
total=False,
|
|
780
|
+
)
|
|
781
|
+
WebhooksPullRequest5RequestedTeamsItem = TypedDict(
|
|
782
|
+
"WebhooksPullRequest5RequestedTeamsItem",
|
|
783
|
+
{
|
|
784
|
+
"deleted": NotRequired["bool"],
|
|
785
|
+
"description": NotRequired["str | None"],
|
|
786
|
+
"html_url": NotRequired["str"],
|
|
787
|
+
"id": Required["int"],
|
|
788
|
+
"members_url": NotRequired["str"],
|
|
789
|
+
"name": Required["str"],
|
|
790
|
+
"node_id": NotRequired["str"],
|
|
791
|
+
"parent": NotRequired["WebhooksPullRequest5RequestedTeamsItemParentVariant0 | None"],
|
|
792
|
+
"permission": NotRequired["str"],
|
|
793
|
+
"privacy": NotRequired["Literal['open', 'closed', 'secret']"],
|
|
794
|
+
"repositories_url": NotRequired["str"],
|
|
795
|
+
"slug": NotRequired["str"],
|
|
796
|
+
"url": NotRequired["str"],
|
|
797
|
+
},
|
|
798
|
+
total=False,
|
|
799
|
+
)
|
|
800
|
+
WebhooksPullRequest5RequestedTeamsItemParentVariant0 = TypedDict(
|
|
801
|
+
"WebhooksPullRequest5RequestedTeamsItemParentVariant0",
|
|
802
|
+
{
|
|
803
|
+
"description": Required["str | None"],
|
|
804
|
+
"html_url": Required["str"],
|
|
805
|
+
"id": Required["int"],
|
|
806
|
+
"members_url": Required["str"],
|
|
807
|
+
"name": Required["str"],
|
|
808
|
+
"node_id": Required["str"],
|
|
809
|
+
"permission": Required["str"],
|
|
810
|
+
"privacy": Required["Literal['open', 'closed', 'secret']"],
|
|
811
|
+
"repositories_url": Required["str"],
|
|
812
|
+
"slug": Required["str"],
|
|
813
|
+
"url": Required["str"],
|
|
814
|
+
},
|
|
815
|
+
total=False,
|
|
816
|
+
)
|
|
817
|
+
WebhooksPullRequest5UserVariant0 = TypedDict(
|
|
818
|
+
"WebhooksPullRequest5UserVariant0",
|
|
819
|
+
{
|
|
820
|
+
"avatar_url": NotRequired["str"],
|
|
821
|
+
"deleted": NotRequired["bool"],
|
|
822
|
+
"email": NotRequired["str | None"],
|
|
823
|
+
"events_url": NotRequired["str"],
|
|
824
|
+
"followers_url": NotRequired["str"],
|
|
825
|
+
"following_url": NotRequired["str"],
|
|
826
|
+
"gists_url": NotRequired["str"],
|
|
827
|
+
"gravatar_id": NotRequired["str"],
|
|
828
|
+
"html_url": NotRequired["str"],
|
|
829
|
+
"id": Required["int"],
|
|
830
|
+
"login": Required["str"],
|
|
831
|
+
"name": NotRequired["str"],
|
|
832
|
+
"node_id": NotRequired["str"],
|
|
833
|
+
"organizations_url": NotRequired["str"],
|
|
834
|
+
"received_events_url": NotRequired["str"],
|
|
835
|
+
"repos_url": NotRequired["str"],
|
|
836
|
+
"site_admin": NotRequired["bool"],
|
|
837
|
+
"starred_url": NotRequired["str"],
|
|
838
|
+
"subscriptions_url": NotRequired["str"],
|
|
839
|
+
"type": NotRequired["Literal['Bot', 'User', 'Organization', 'Mannequin']"],
|
|
840
|
+
"url": NotRequired["str"],
|
|
841
|
+
"user_view_type": NotRequired["str"],
|
|
842
|
+
},
|
|
843
|
+
total=False,
|
|
844
|
+
)
|
|
845
|
+
WebhooksRef0: TypeAlias = "str"
|
|
846
|
+
WebhooksRelease = TypedDict(
|
|
847
|
+
"WebhooksRelease",
|
|
848
|
+
{
|
|
849
|
+
"assets": Required["list[WebhooksReleaseAssetsItem]"],
|
|
850
|
+
"assets_url": Required["str"],
|
|
851
|
+
"author": Required["WebhooksReleaseAuthorVariant0 | None"],
|
|
852
|
+
"body": Required["str | None"],
|
|
853
|
+
"created_at": Required["str | None"],
|
|
854
|
+
"discussion_url": NotRequired["str"],
|
|
855
|
+
"draft": Required["bool"],
|
|
856
|
+
"html_url": Required["str"],
|
|
857
|
+
"id": Required["int"],
|
|
858
|
+
"immutable": Required["bool"],
|
|
859
|
+
"name": Required["str | None"],
|
|
860
|
+
"node_id": Required["str"],
|
|
861
|
+
"prerelease": Required["bool"],
|
|
862
|
+
"published_at": Required["str | None"],
|
|
863
|
+
"reactions": NotRequired["WebhooksReleaseReactions"],
|
|
864
|
+
"tag_name": Required["str"],
|
|
865
|
+
"tarball_url": Required["str | None"],
|
|
866
|
+
"target_commitish": Required["str"],
|
|
867
|
+
"updated_at": Required["str | None"],
|
|
868
|
+
"upload_url": Required["str"],
|
|
869
|
+
"url": Required["str"],
|
|
870
|
+
"zipball_url": Required["str | None"],
|
|
871
|
+
},
|
|
872
|
+
total=False,
|
|
873
|
+
)
|
|
874
|
+
WebhooksRelease1 = TypedDict(
|
|
875
|
+
"WebhooksRelease1",
|
|
876
|
+
{
|
|
877
|
+
"assets": Required["list[WebhooksRelease1AssetsItemVariant0 | None]"],
|
|
878
|
+
"assets_url": Required["str"],
|
|
879
|
+
"author": Required["WebhooksRelease1AuthorVariant0 | None"],
|
|
880
|
+
"body": Required["str | None"],
|
|
881
|
+
"created_at": Required["str | None"],
|
|
882
|
+
"discussion_url": NotRequired["str"],
|
|
883
|
+
"draft": Required["bool"],
|
|
884
|
+
"html_url": Required["str"],
|
|
885
|
+
"id": Required["int"],
|
|
886
|
+
"immutable": Required["bool"],
|
|
887
|
+
"name": Required["str | None"],
|
|
888
|
+
"node_id": Required["str"],
|
|
889
|
+
"prerelease": Required["bool"],
|
|
890
|
+
"published_at": Required["str | None"],
|
|
891
|
+
"reactions": NotRequired["WebhooksRelease1Reactions"],
|
|
892
|
+
"tag_name": Required["str"],
|
|
893
|
+
"tarball_url": Required["str | None"],
|
|
894
|
+
"target_commitish": Required["str"],
|
|
895
|
+
"updated_at": Required["str | None"],
|
|
896
|
+
"upload_url": Required["str"],
|
|
897
|
+
"url": Required["str"],
|
|
898
|
+
"zipball_url": Required["str | None"],
|
|
899
|
+
},
|
|
900
|
+
total=False,
|
|
901
|
+
)
|
|
902
|
+
WebhooksRelease1AssetsItemVariant0 = TypedDict(
|
|
903
|
+
"WebhooksRelease1AssetsItemVariant0",
|
|
904
|
+
{
|
|
905
|
+
"browser_download_url": Required["str"],
|
|
906
|
+
"content_type": Required["str"],
|
|
907
|
+
"created_at": Required["str"],
|
|
908
|
+
"digest": Required["str | None"],
|
|
909
|
+
"download_count": Required["int"],
|
|
910
|
+
"id": Required["int"],
|
|
911
|
+
"label": Required["str | None"],
|
|
912
|
+
"name": Required["str"],
|
|
913
|
+
"node_id": Required["str"],
|
|
914
|
+
"size": Required["int"],
|
|
915
|
+
"state": Required["Literal['uploaded']"],
|
|
916
|
+
"updated_at": Required["str"],
|
|
917
|
+
"uploader": NotRequired["WebhooksRelease1AssetsItemVariant0UploaderVariant0 | None"],
|
|
918
|
+
"url": Required["str"],
|
|
919
|
+
},
|
|
920
|
+
total=False,
|
|
921
|
+
)
|
|
922
|
+
WebhooksRelease1AssetsItemVariant0UploaderVariant0 = TypedDict(
|
|
923
|
+
"WebhooksRelease1AssetsItemVariant0UploaderVariant0",
|
|
924
|
+
{
|
|
925
|
+
"avatar_url": NotRequired["str"],
|
|
926
|
+
"deleted": NotRequired["bool"],
|
|
927
|
+
"email": NotRequired["str | None"],
|
|
928
|
+
"events_url": NotRequired["str"],
|
|
929
|
+
"followers_url": NotRequired["str"],
|
|
930
|
+
"following_url": NotRequired["str"],
|
|
931
|
+
"gists_url": NotRequired["str"],
|
|
932
|
+
"gravatar_id": NotRequired["str"],
|
|
933
|
+
"html_url": NotRequired["str"],
|
|
934
|
+
"id": Required["int"],
|
|
935
|
+
"login": Required["str"],
|
|
936
|
+
"name": NotRequired["str"],
|
|
937
|
+
"node_id": NotRequired["str"],
|
|
938
|
+
"organizations_url": NotRequired["str"],
|
|
939
|
+
"received_events_url": NotRequired["str"],
|
|
940
|
+
"repos_url": NotRequired["str"],
|
|
941
|
+
"site_admin": NotRequired["bool"],
|
|
942
|
+
"starred_url": NotRequired["str"],
|
|
943
|
+
"subscriptions_url": NotRequired["str"],
|
|
944
|
+
"type": NotRequired["Literal['Bot', 'User', 'Organization']"],
|
|
945
|
+
"url": NotRequired["str"],
|
|
946
|
+
},
|
|
947
|
+
total=False,
|
|
948
|
+
)
|
|
949
|
+
WebhooksRelease1AuthorVariant0 = TypedDict(
|
|
950
|
+
"WebhooksRelease1AuthorVariant0",
|
|
951
|
+
{
|
|
952
|
+
"avatar_url": NotRequired["str"],
|
|
953
|
+
"deleted": NotRequired["bool"],
|
|
954
|
+
"email": NotRequired["str | None"],
|
|
955
|
+
"events_url": NotRequired["str"],
|
|
956
|
+
"followers_url": NotRequired["str"],
|
|
957
|
+
"following_url": NotRequired["str"],
|
|
958
|
+
"gists_url": NotRequired["str"],
|
|
959
|
+
"gravatar_id": NotRequired["str"],
|
|
960
|
+
"html_url": NotRequired["str"],
|
|
961
|
+
"id": Required["int"],
|
|
962
|
+
"login": Required["str"],
|
|
963
|
+
"name": NotRequired["str"],
|
|
964
|
+
"node_id": NotRequired["str"],
|
|
965
|
+
"organizations_url": NotRequired["str"],
|
|
966
|
+
"received_events_url": NotRequired["str"],
|
|
967
|
+
"repos_url": NotRequired["str"],
|
|
968
|
+
"site_admin": NotRequired["bool"],
|
|
969
|
+
"starred_url": NotRequired["str"],
|
|
970
|
+
"subscriptions_url": NotRequired["str"],
|
|
971
|
+
"type": NotRequired["Literal['Bot', 'User', 'Organization']"],
|
|
972
|
+
"url": NotRequired["str"],
|
|
973
|
+
"user_view_type": NotRequired["str"],
|
|
974
|
+
},
|
|
975
|
+
total=False,
|
|
976
|
+
)
|
|
977
|
+
WebhooksRelease1Reactions = TypedDict(
|
|
978
|
+
"WebhooksRelease1Reactions",
|
|
979
|
+
{
|
|
980
|
+
"+1": Required["int"],
|
|
981
|
+
"-1": Required["int"],
|
|
982
|
+
"confused": Required["int"],
|
|
983
|
+
"eyes": Required["int"],
|
|
984
|
+
"heart": Required["int"],
|
|
985
|
+
"hooray": Required["int"],
|
|
986
|
+
"laugh": Required["int"],
|
|
987
|
+
"rocket": Required["int"],
|
|
988
|
+
"total_count": Required["int"],
|
|
989
|
+
"url": Required["str"],
|
|
990
|
+
},
|
|
991
|
+
total=False,
|
|
992
|
+
)
|
|
993
|
+
WebhooksReleaseAssetsItem = TypedDict(
|
|
994
|
+
"WebhooksReleaseAssetsItem",
|
|
995
|
+
{
|
|
996
|
+
"browser_download_url": Required["str"],
|
|
997
|
+
"content_type": Required["str"],
|
|
998
|
+
"created_at": Required["str"],
|
|
999
|
+
"digest": Required["str | None"],
|
|
1000
|
+
"download_count": Required["int"],
|
|
1001
|
+
"id": Required["int"],
|
|
1002
|
+
"label": Required["str | None"],
|
|
1003
|
+
"name": Required["str"],
|
|
1004
|
+
"node_id": Required["str"],
|
|
1005
|
+
"size": Required["int"],
|
|
1006
|
+
"state": Required["Literal['uploaded']"],
|
|
1007
|
+
"updated_at": Required["str"],
|
|
1008
|
+
"uploader": NotRequired["WebhooksReleaseAssetsItemUploaderVariant0 | None"],
|
|
1009
|
+
"url": Required["str"],
|
|
1010
|
+
},
|
|
1011
|
+
total=False,
|
|
1012
|
+
)
|
|
1013
|
+
WebhooksReleaseAssetsItemUploaderVariant0 = TypedDict(
|
|
1014
|
+
"WebhooksReleaseAssetsItemUploaderVariant0",
|
|
1015
|
+
{
|
|
1016
|
+
"avatar_url": NotRequired["str"],
|
|
1017
|
+
"deleted": NotRequired["bool"],
|
|
1018
|
+
"email": NotRequired["str | None"],
|
|
1019
|
+
"events_url": NotRequired["str"],
|
|
1020
|
+
"followers_url": NotRequired["str"],
|
|
1021
|
+
"following_url": NotRequired["str"],
|
|
1022
|
+
"gists_url": NotRequired["str"],
|
|
1023
|
+
"gravatar_id": NotRequired["str"],
|
|
1024
|
+
"html_url": NotRequired["str"],
|
|
1025
|
+
"id": Required["int"],
|
|
1026
|
+
"login": Required["str"],
|
|
1027
|
+
"name": NotRequired["str"],
|
|
1028
|
+
"node_id": NotRequired["str"],
|
|
1029
|
+
"organizations_url": NotRequired["str"],
|
|
1030
|
+
"received_events_url": NotRequired["str"],
|
|
1031
|
+
"repos_url": NotRequired["str"],
|
|
1032
|
+
"site_admin": NotRequired["bool"],
|
|
1033
|
+
"starred_url": NotRequired["str"],
|
|
1034
|
+
"subscriptions_url": NotRequired["str"],
|
|
1035
|
+
"type": NotRequired["Literal['Bot', 'User', 'Organization']"],
|
|
1036
|
+
"url": NotRequired["str"],
|
|
1037
|
+
},
|
|
1038
|
+
total=False,
|
|
1039
|
+
)
|
|
1040
|
+
WebhooksReleaseAuthorVariant0 = TypedDict(
|
|
1041
|
+
"WebhooksReleaseAuthorVariant0",
|
|
1042
|
+
{
|
|
1043
|
+
"avatar_url": NotRequired["str"],
|
|
1044
|
+
"deleted": NotRequired["bool"],
|
|
1045
|
+
"email": NotRequired["str | None"],
|
|
1046
|
+
"events_url": NotRequired["str"],
|
|
1047
|
+
"followers_url": NotRequired["str"],
|
|
1048
|
+
"following_url": NotRequired["str"],
|
|
1049
|
+
"gists_url": NotRequired["str"],
|
|
1050
|
+
"gravatar_id": NotRequired["str"],
|
|
1051
|
+
"html_url": NotRequired["str"],
|
|
1052
|
+
"id": Required["int"],
|
|
1053
|
+
"login": Required["str"],
|
|
1054
|
+
"name": NotRequired["str"],
|
|
1055
|
+
"node_id": NotRequired["str"],
|
|
1056
|
+
"organizations_url": NotRequired["str"],
|
|
1057
|
+
"received_events_url": NotRequired["str"],
|
|
1058
|
+
"repos_url": NotRequired["str"],
|
|
1059
|
+
"site_admin": NotRequired["bool"],
|
|
1060
|
+
"starred_url": NotRequired["str"],
|
|
1061
|
+
"subscriptions_url": NotRequired["str"],
|
|
1062
|
+
"type": NotRequired["Literal['Bot', 'User', 'Organization']"],
|
|
1063
|
+
"url": NotRequired["str"],
|
|
1064
|
+
"user_view_type": NotRequired["str"],
|
|
1065
|
+
},
|
|
1066
|
+
total=False,
|
|
1067
|
+
)
|
|
1068
|
+
WebhooksReleaseReactions = TypedDict(
|
|
1069
|
+
"WebhooksReleaseReactions",
|
|
1070
|
+
{
|
|
1071
|
+
"+1": Required["int"],
|
|
1072
|
+
"-1": Required["int"],
|
|
1073
|
+
"confused": Required["int"],
|
|
1074
|
+
"eyes": Required["int"],
|
|
1075
|
+
"heart": Required["int"],
|
|
1076
|
+
"hooray": Required["int"],
|
|
1077
|
+
"laugh": Required["int"],
|
|
1078
|
+
"rocket": Required["int"],
|
|
1079
|
+
"total_count": Required["int"],
|
|
1080
|
+
"url": Required["str"],
|
|
1081
|
+
},
|
|
1082
|
+
total=False,
|
|
1083
|
+
)
|
|
1084
|
+
WebhooksRepositories: TypeAlias = "list[WebhooksRepositoriesItem]"
|
|
1085
|
+
WebhooksRepositoriesAdded: TypeAlias = "list[WebhooksRepositoriesAddedItem]"
|
|
1086
|
+
WebhooksRepositoriesAddedItem = TypedDict(
|
|
1087
|
+
"WebhooksRepositoriesAddedItem",
|
|
1088
|
+
{
|
|
1089
|
+
"full_name": Required["str"],
|
|
1090
|
+
"id": Required["int"],
|
|
1091
|
+
"name": Required["str"],
|
|
1092
|
+
"node_id": Required["str"],
|
|
1093
|
+
"private": Required["bool"],
|
|
1094
|
+
},
|
|
1095
|
+
total=False,
|
|
1096
|
+
)
|
|
1097
|
+
WebhooksRepositoriesItem = TypedDict(
|
|
1098
|
+
"WebhooksRepositoriesItem",
|
|
1099
|
+
{
|
|
1100
|
+
"full_name": Required["str"],
|
|
1101
|
+
"id": Required["int"],
|
|
1102
|
+
"name": Required["str"],
|
|
1103
|
+
"node_id": Required["str"],
|
|
1104
|
+
"private": Required["bool"],
|
|
1105
|
+
},
|
|
1106
|
+
total=False,
|
|
1107
|
+
)
|
|
1108
|
+
WebhooksRepositorySelection: TypeAlias = "Literal['all', 'selected']"
|
|
1109
|
+
WebhooksReview = TypedDict(
|
|
1110
|
+
"WebhooksReview",
|
|
1111
|
+
{
|
|
1112
|
+
"_links": Required["WebhooksReviewLinks"],
|
|
1113
|
+
"author_association": Required[
|
|
1114
|
+
"Literal['COLLABORATOR', 'CONTRIBUTOR', 'FIRST_TIMER', 'FIRST_TIME_CONTRIBUTOR', 'MANNEQUIN', 'MEMBER', 'NONE', 'OWNER']"
|
|
1115
|
+
],
|
|
1116
|
+
"body": Required["str | None"],
|
|
1117
|
+
"commit_id": Required["str"],
|
|
1118
|
+
"html_url": Required["str"],
|
|
1119
|
+
"id": Required["int"],
|
|
1120
|
+
"node_id": Required["str"],
|
|
1121
|
+
"pull_request_url": Required["str"],
|
|
1122
|
+
"state": Required["str"],
|
|
1123
|
+
"submitted_at": Required["str | None"],
|
|
1124
|
+
"updated_at": NotRequired["str | None"],
|
|
1125
|
+
"user": Required["WebhooksReviewUserVariant0 | None"],
|
|
1126
|
+
},
|
|
1127
|
+
total=False,
|
|
1128
|
+
)
|
|
1129
|
+
WebhooksReviewComment = TypedDict(
|
|
1130
|
+
"WebhooksReviewComment",
|
|
1131
|
+
{
|
|
1132
|
+
"_links": Required["WebhooksReviewCommentLinks"],
|
|
1133
|
+
"author_association": Required[
|
|
1134
|
+
"Literal['COLLABORATOR', 'CONTRIBUTOR', 'FIRST_TIMER', 'FIRST_TIME_CONTRIBUTOR', 'MANNEQUIN', 'MEMBER', 'NONE', 'OWNER']"
|
|
1135
|
+
],
|
|
1136
|
+
"body": Required["str"],
|
|
1137
|
+
"commit_id": Required["str"],
|
|
1138
|
+
"created_at": Required["str"],
|
|
1139
|
+
"diff_hunk": Required["str"],
|
|
1140
|
+
"html_url": Required["str"],
|
|
1141
|
+
"id": Required["int"],
|
|
1142
|
+
"in_reply_to_id": NotRequired["int"],
|
|
1143
|
+
"line": Required["int | None"],
|
|
1144
|
+
"node_id": Required["str"],
|
|
1145
|
+
"original_commit_id": Required["str"],
|
|
1146
|
+
"original_line": Required["int"],
|
|
1147
|
+
"original_position": Required["int"],
|
|
1148
|
+
"original_start_line": Required["int | None"],
|
|
1149
|
+
"path": Required["str"],
|
|
1150
|
+
"position": Required["int | None"],
|
|
1151
|
+
"pull_request_review_id": Required["int | None"],
|
|
1152
|
+
"pull_request_url": Required["str"],
|
|
1153
|
+
"reactions": Required["WebhooksReviewCommentReactions"],
|
|
1154
|
+
"side": Required["Literal['LEFT', 'RIGHT']"],
|
|
1155
|
+
"start_line": Required["int | None"],
|
|
1156
|
+
"start_side": Required["Literal['LEFT', 'RIGHT'] | None | None"],
|
|
1157
|
+
"subject_type": NotRequired["Literal['line', 'file']"],
|
|
1158
|
+
"updated_at": Required["str"],
|
|
1159
|
+
"url": Required["str"],
|
|
1160
|
+
"user": Required["WebhooksReviewCommentUserVariant0 | None"],
|
|
1161
|
+
},
|
|
1162
|
+
total=False,
|
|
1163
|
+
)
|
|
1164
|
+
WebhooksReviewCommentLinks = TypedDict(
|
|
1165
|
+
"WebhooksReviewCommentLinks",
|
|
1166
|
+
{
|
|
1167
|
+
"html": Required["WebhooksReviewCommentLinksHtml"],
|
|
1168
|
+
"pull_request": Required["WebhooksReviewCommentLinksPullRequest"],
|
|
1169
|
+
"self": Required["WebhooksReviewCommentLinksSelf"],
|
|
1170
|
+
},
|
|
1171
|
+
total=False,
|
|
1172
|
+
)
|
|
1173
|
+
WebhooksReviewCommentLinksHtml = TypedDict(
|
|
1174
|
+
"WebhooksReviewCommentLinksHtml", {"href": Required["str"]}, total=False
|
|
1175
|
+
)
|
|
1176
|
+
WebhooksReviewCommentLinksPullRequest = TypedDict(
|
|
1177
|
+
"WebhooksReviewCommentLinksPullRequest", {"href": Required["str"]}, total=False
|
|
1178
|
+
)
|
|
1179
|
+
WebhooksReviewCommentLinksSelf = TypedDict(
|
|
1180
|
+
"WebhooksReviewCommentLinksSelf", {"href": Required["str"]}, total=False
|
|
1181
|
+
)
|
|
1182
|
+
WebhooksReviewCommentReactions = TypedDict(
|
|
1183
|
+
"WebhooksReviewCommentReactions",
|
|
1184
|
+
{
|
|
1185
|
+
"+1": Required["int"],
|
|
1186
|
+
"-1": Required["int"],
|
|
1187
|
+
"confused": Required["int"],
|
|
1188
|
+
"eyes": Required["int"],
|
|
1189
|
+
"heart": Required["int"],
|
|
1190
|
+
"hooray": Required["int"],
|
|
1191
|
+
"laugh": Required["int"],
|
|
1192
|
+
"rocket": Required["int"],
|
|
1193
|
+
"total_count": Required["int"],
|
|
1194
|
+
"url": Required["str"],
|
|
1195
|
+
},
|
|
1196
|
+
total=False,
|
|
1197
|
+
)
|
|
1198
|
+
WebhooksReviewCommentUserVariant0 = TypedDict(
|
|
1199
|
+
"WebhooksReviewCommentUserVariant0",
|
|
1200
|
+
{
|
|
1201
|
+
"avatar_url": NotRequired["str"],
|
|
1202
|
+
"deleted": NotRequired["bool"],
|
|
1203
|
+
"email": NotRequired["str | None"],
|
|
1204
|
+
"events_url": NotRequired["str"],
|
|
1205
|
+
"followers_url": NotRequired["str"],
|
|
1206
|
+
"following_url": NotRequired["str"],
|
|
1207
|
+
"gists_url": NotRequired["str"],
|
|
1208
|
+
"gravatar_id": NotRequired["str"],
|
|
1209
|
+
"html_url": NotRequired["str"],
|
|
1210
|
+
"id": Required["int"],
|
|
1211
|
+
"login": Required["str"],
|
|
1212
|
+
"name": NotRequired["str"],
|
|
1213
|
+
"node_id": NotRequired["str"],
|
|
1214
|
+
"organizations_url": NotRequired["str"],
|
|
1215
|
+
"received_events_url": NotRequired["str"],
|
|
1216
|
+
"repos_url": NotRequired["str"],
|
|
1217
|
+
"site_admin": NotRequired["bool"],
|
|
1218
|
+
"starred_url": NotRequired["str"],
|
|
1219
|
+
"subscriptions_url": NotRequired["str"],
|
|
1220
|
+
"type": NotRequired["Literal['Bot', 'User', 'Organization']"],
|
|
1221
|
+
"url": NotRequired["str"],
|
|
1222
|
+
"user_view_type": NotRequired["str"],
|
|
1223
|
+
},
|
|
1224
|
+
total=False,
|
|
1225
|
+
)
|
|
1226
|
+
WebhooksReviewLinks = TypedDict(
|
|
1227
|
+
"WebhooksReviewLinks",
|
|
1228
|
+
{
|
|
1229
|
+
"html": Required["WebhooksReviewLinksHtml"],
|
|
1230
|
+
"pull_request": Required["WebhooksReviewLinksPullRequest"],
|
|
1231
|
+
},
|
|
1232
|
+
total=False,
|
|
1233
|
+
)
|
|
1234
|
+
WebhooksReviewLinksHtml = TypedDict(
|
|
1235
|
+
"WebhooksReviewLinksHtml", {"href": Required["str"]}, total=False
|
|
1236
|
+
)
|
|
1237
|
+
WebhooksReviewLinksPullRequest = TypedDict(
|
|
1238
|
+
"WebhooksReviewLinksPullRequest", {"href": Required["str"]}, total=False
|
|
1239
|
+
)
|
|
1240
|
+
WebhooksReviewUserVariant0 = TypedDict(
|
|
1241
|
+
"WebhooksReviewUserVariant0",
|
|
1242
|
+
{
|
|
1243
|
+
"avatar_url": NotRequired["str"],
|
|
1244
|
+
"deleted": NotRequired["bool"],
|
|
1245
|
+
"email": NotRequired["str | None"],
|
|
1246
|
+
"events_url": NotRequired["str"],
|
|
1247
|
+
"followers_url": NotRequired["str"],
|
|
1248
|
+
"following_url": NotRequired["str"],
|
|
1249
|
+
"gists_url": NotRequired["str"],
|
|
1250
|
+
"gravatar_id": NotRequired["str"],
|
|
1251
|
+
"html_url": NotRequired["str"],
|
|
1252
|
+
"id": Required["int"],
|
|
1253
|
+
"login": Required["str"],
|
|
1254
|
+
"name": NotRequired["str"],
|
|
1255
|
+
"node_id": NotRequired["str"],
|
|
1256
|
+
"organizations_url": NotRequired["str"],
|
|
1257
|
+
"received_events_url": NotRequired["str"],
|
|
1258
|
+
"repos_url": NotRequired["str"],
|
|
1259
|
+
"site_admin": NotRequired["bool"],
|
|
1260
|
+
"starred_url": NotRequired["str"],
|
|
1261
|
+
"subscriptions_url": NotRequired["str"],
|
|
1262
|
+
"type": NotRequired["Literal['Bot', 'User', 'Organization']"],
|
|
1263
|
+
"url": NotRequired["str"],
|
|
1264
|
+
"user_view_type": NotRequired["str"],
|
|
1265
|
+
},
|
|
1266
|
+
total=False,
|
|
1267
|
+
)
|
|
1268
|
+
WebhooksReviewers: TypeAlias = "list[WebhooksReviewersItem]"
|
|
1269
|
+
WebhooksReviewersItem = TypedDict(
|
|
1270
|
+
"WebhooksReviewersItem",
|
|
1271
|
+
{
|
|
1272
|
+
"reviewer": NotRequired["WebhooksReviewersItemReviewerVariant0 | None"],
|
|
1273
|
+
"type": NotRequired["Literal['User']"],
|
|
1274
|
+
},
|
|
1275
|
+
total=False,
|
|
1276
|
+
)
|
|
1277
|
+
WebhooksReviewersItemReviewerVariant0 = TypedDict(
|
|
1278
|
+
"WebhooksReviewersItemReviewerVariant0",
|
|
1279
|
+
{
|
|
1280
|
+
"avatar_url": NotRequired["str"],
|
|
1281
|
+
"deleted": NotRequired["bool"],
|
|
1282
|
+
"email": NotRequired["str | None"],
|
|
1283
|
+
"events_url": NotRequired["str"],
|
|
1284
|
+
"followers_url": NotRequired["str"],
|
|
1285
|
+
"following_url": NotRequired["str"],
|
|
1286
|
+
"gists_url": NotRequired["str"],
|
|
1287
|
+
"gravatar_id": NotRequired["str"],
|
|
1288
|
+
"html_url": NotRequired["str"],
|
|
1289
|
+
"id": Required["int"],
|
|
1290
|
+
"login": Required["str"],
|
|
1291
|
+
"name": NotRequired["str"],
|
|
1292
|
+
"node_id": NotRequired["str"],
|
|
1293
|
+
"organizations_url": NotRequired["str"],
|
|
1294
|
+
"received_events_url": NotRequired["str"],
|
|
1295
|
+
"repos_url": NotRequired["str"],
|
|
1296
|
+
"site_admin": NotRequired["bool"],
|
|
1297
|
+
"starred_url": NotRequired["str"],
|
|
1298
|
+
"subscriptions_url": NotRequired["str"],
|
|
1299
|
+
"type": NotRequired["Literal['Bot', 'User', 'Organization']"],
|
|
1300
|
+
"url": NotRequired["str"],
|
|
1301
|
+
},
|
|
1302
|
+
total=False,
|
|
1303
|
+
)
|
|
1304
|
+
WebhooksRule = TypedDict(
|
|
1305
|
+
"WebhooksRule",
|
|
1306
|
+
{
|
|
1307
|
+
"admin_enforced": Required["bool"],
|
|
1308
|
+
"allow_deletions_enforcement_level": Required["Literal['off', 'non_admins', 'everyone']"],
|
|
1309
|
+
"allow_force_pushes_enforcement_level": Required[
|
|
1310
|
+
"Literal['off', 'non_admins', 'everyone']"
|
|
1311
|
+
],
|
|
1312
|
+
"authorized_actor_names": Required["list[str]"],
|
|
1313
|
+
"authorized_actors_only": Required["bool"],
|
|
1314
|
+
"authorized_dismissal_actors_only": Required["bool"],
|
|
1315
|
+
"create_protected": NotRequired["bool"],
|
|
1316
|
+
"created_at": Required["str"],
|
|
1317
|
+
"dismiss_stale_reviews_on_push": Required["bool"],
|
|
1318
|
+
"id": Required["int"],
|
|
1319
|
+
"ignore_approvals_from_contributors": Required["bool"],
|
|
1320
|
+
"linear_history_requirement_enforcement_level": Required[
|
|
1321
|
+
"Literal['off', 'non_admins', 'everyone']"
|
|
1322
|
+
],
|
|
1323
|
+
"lock_allows_fork_sync": NotRequired["bool"],
|
|
1324
|
+
"lock_branch_enforcement_level": Required["Literal['off', 'non_admins', 'everyone']"],
|
|
1325
|
+
"merge_queue_enforcement_level": Required["Literal['off', 'non_admins', 'everyone']"],
|
|
1326
|
+
"name": Required["str"],
|
|
1327
|
+
"pull_request_reviews_enforcement_level": Required[
|
|
1328
|
+
"Literal['off', 'non_admins', 'everyone']"
|
|
1329
|
+
],
|
|
1330
|
+
"repository_id": Required["int"],
|
|
1331
|
+
"require_code_owner_review": Required["bool"],
|
|
1332
|
+
"require_last_push_approval": NotRequired["bool"],
|
|
1333
|
+
"required_approving_review_count": Required["int"],
|
|
1334
|
+
"required_conversation_resolution_level": Required[
|
|
1335
|
+
"Literal['off', 'non_admins', 'everyone']"
|
|
1336
|
+
],
|
|
1337
|
+
"required_deployments_enforcement_level": Required[
|
|
1338
|
+
"Literal['off', 'non_admins', 'everyone']"
|
|
1339
|
+
],
|
|
1340
|
+
"required_status_checks": Required["list[str]"],
|
|
1341
|
+
"required_status_checks_enforcement_level": Required[
|
|
1342
|
+
"Literal['off', 'non_admins', 'everyone']"
|
|
1343
|
+
],
|
|
1344
|
+
"signature_requirement_enforcement_level": Required[
|
|
1345
|
+
"Literal['off', 'non_admins', 'everyone']"
|
|
1346
|
+
],
|
|
1347
|
+
"strict_required_status_checks_policy": Required["bool"],
|
|
1348
|
+
"updated_at": Required["str"],
|
|
1349
|
+
},
|
|
1350
|
+
total=False,
|
|
1351
|
+
)
|
|
1352
|
+
WebhooksSecurityAdvisory = TypedDict(
|
|
1353
|
+
"WebhooksSecurityAdvisory",
|
|
1354
|
+
{
|
|
1355
|
+
"cvss_severities": NotRequired["CvssSeverities"],
|
|
1356
|
+
"cwes": Required["list[WebhooksSecurityAdvisoryCwesItem]"],
|
|
1357
|
+
"description": Required["str"],
|
|
1358
|
+
"ghsa_id": Required["str"],
|
|
1359
|
+
"identifiers": Required["list[WebhooksSecurityAdvisoryIdentifiersItem]"],
|
|
1360
|
+
"published_at": Required["str"],
|
|
1361
|
+
"references": Required["list[WebhooksSecurityAdvisoryReferencesItem]"],
|
|
1362
|
+
"severity": Required["str"],
|
|
1363
|
+
"summary": Required["str"],
|
|
1364
|
+
"updated_at": Required["str"],
|
|
1365
|
+
"vulnerabilities": Required["list[WebhooksSecurityAdvisoryVulnerabilitiesItem]"],
|
|
1366
|
+
"withdrawn_at": Required["str | None"],
|
|
1367
|
+
},
|
|
1368
|
+
total=False,
|
|
1369
|
+
)
|
|
1370
|
+
WebhooksSecurityAdvisoryCwesItem = TypedDict(
|
|
1371
|
+
"WebhooksSecurityAdvisoryCwesItem",
|
|
1372
|
+
{"cwe_id": Required["str"], "name": Required["str"]},
|
|
1373
|
+
total=False,
|
|
1374
|
+
)
|
|
1375
|
+
WebhooksSecurityAdvisoryIdentifiersItem = TypedDict(
|
|
1376
|
+
"WebhooksSecurityAdvisoryIdentifiersItem",
|
|
1377
|
+
{"type": Required["str"], "value": Required["str"]},
|
|
1378
|
+
total=False,
|
|
1379
|
+
)
|
|
1380
|
+
WebhooksSecurityAdvisoryReferencesItem = TypedDict(
|
|
1381
|
+
"WebhooksSecurityAdvisoryReferencesItem", {"url": Required["str"]}, total=False
|
|
1382
|
+
)
|
|
1383
|
+
WebhooksSecurityAdvisoryVulnerabilitiesItem = TypedDict(
|
|
1384
|
+
"WebhooksSecurityAdvisoryVulnerabilitiesItem",
|
|
1385
|
+
{
|
|
1386
|
+
"first_patched_version": Required[
|
|
1387
|
+
"WebhooksSecurityAdvisoryVulnerabilitiesItemFirstPatchedVersionVariant0 | None"
|
|
1388
|
+
],
|
|
1389
|
+
"package": Required["WebhooksSecurityAdvisoryVulnerabilitiesItemPackage"],
|
|
1390
|
+
"severity": Required["str"],
|
|
1391
|
+
"vulnerable_version_range": Required["str"],
|
|
1392
|
+
},
|
|
1393
|
+
total=False,
|
|
1394
|
+
)
|
|
1395
|
+
WebhooksSecurityAdvisoryVulnerabilitiesItemFirstPatchedVersionVariant0 = TypedDict(
|
|
1396
|
+
"WebhooksSecurityAdvisoryVulnerabilitiesItemFirstPatchedVersionVariant0",
|
|
1397
|
+
{"identifier": Required["str"]},
|
|
1398
|
+
total=False,
|
|
1399
|
+
)
|
|
1400
|
+
WebhooksSecurityAdvisoryVulnerabilitiesItemPackage = TypedDict(
|
|
1401
|
+
"WebhooksSecurityAdvisoryVulnerabilitiesItemPackage",
|
|
1402
|
+
{"ecosystem": Required["str"], "name": Required["str"]},
|
|
1403
|
+
total=False,
|
|
1404
|
+
)
|
|
1405
|
+
WebhooksSponsorship = TypedDict(
|
|
1406
|
+
"WebhooksSponsorship",
|
|
1407
|
+
{
|
|
1408
|
+
"created_at": Required["str"],
|
|
1409
|
+
"maintainer": NotRequired["WebhooksSponsorshipMaintainer"],
|
|
1410
|
+
"node_id": Required["str"],
|
|
1411
|
+
"privacy_level": Required["str"],
|
|
1412
|
+
"sponsor": Required["WebhooksSponsorshipSponsorVariant0 | None"],
|
|
1413
|
+
"sponsorable": Required["WebhooksSponsorshipSponsorableVariant0 | None"],
|
|
1414
|
+
"tier": Required["WebhooksSponsorshipTier"],
|
|
1415
|
+
},
|
|
1416
|
+
total=False,
|
|
1417
|
+
)
|
|
1418
|
+
WebhooksSponsorshipMaintainer = TypedDict(
|
|
1419
|
+
"WebhooksSponsorshipMaintainer",
|
|
1420
|
+
{
|
|
1421
|
+
"avatar_url": NotRequired["str"],
|
|
1422
|
+
"events_url": NotRequired["str"],
|
|
1423
|
+
"followers_url": NotRequired["str"],
|
|
1424
|
+
"following_url": NotRequired["str"],
|
|
1425
|
+
"gists_url": NotRequired["str"],
|
|
1426
|
+
"gravatar_id": NotRequired["str"],
|
|
1427
|
+
"html_url": NotRequired["str"],
|
|
1428
|
+
"id": NotRequired["int"],
|
|
1429
|
+
"login": NotRequired["str"],
|
|
1430
|
+
"node_id": NotRequired["str"],
|
|
1431
|
+
"organizations_url": NotRequired["str"],
|
|
1432
|
+
"received_events_url": NotRequired["str"],
|
|
1433
|
+
"repos_url": NotRequired["str"],
|
|
1434
|
+
"site_admin": NotRequired["bool"],
|
|
1435
|
+
"starred_url": NotRequired["str"],
|
|
1436
|
+
"subscriptions_url": NotRequired["str"],
|
|
1437
|
+
"type": NotRequired["str"],
|
|
1438
|
+
"url": NotRequired["str"],
|
|
1439
|
+
"user_view_type": NotRequired["str"],
|
|
1440
|
+
},
|
|
1441
|
+
total=False,
|
|
1442
|
+
)
|
|
1443
|
+
WebhooksSponsorshipSponsorVariant0 = TypedDict(
|
|
1444
|
+
"WebhooksSponsorshipSponsorVariant0",
|
|
1445
|
+
{
|
|
1446
|
+
"avatar_url": NotRequired["str"],
|
|
1447
|
+
"deleted": NotRequired["bool"],
|
|
1448
|
+
"email": NotRequired["str | None"],
|
|
1449
|
+
"events_url": NotRequired["str"],
|
|
1450
|
+
"followers_url": NotRequired["str"],
|
|
1451
|
+
"following_url": NotRequired["str"],
|
|
1452
|
+
"gists_url": NotRequired["str"],
|
|
1453
|
+
"gravatar_id": NotRequired["str"],
|
|
1454
|
+
"html_url": NotRequired["str"],
|
|
1455
|
+
"id": Required["int"],
|
|
1456
|
+
"login": Required["str"],
|
|
1457
|
+
"name": NotRequired["str"],
|
|
1458
|
+
"node_id": NotRequired["str"],
|
|
1459
|
+
"organizations_url": NotRequired["str"],
|
|
1460
|
+
"received_events_url": NotRequired["str"],
|
|
1461
|
+
"repos_url": NotRequired["str"],
|
|
1462
|
+
"site_admin": NotRequired["bool"],
|
|
1463
|
+
"starred_url": NotRequired["str"],
|
|
1464
|
+
"subscriptions_url": NotRequired["str"],
|
|
1465
|
+
"type": NotRequired["Literal['Bot', 'User', 'Organization']"],
|
|
1466
|
+
"url": NotRequired["str"],
|
|
1467
|
+
"user_view_type": NotRequired["str"],
|
|
1468
|
+
},
|
|
1469
|
+
total=False,
|
|
1470
|
+
)
|
|
1471
|
+
WebhooksSponsorshipSponsorableVariant0 = TypedDict(
|
|
1472
|
+
"WebhooksSponsorshipSponsorableVariant0",
|
|
1473
|
+
{
|
|
1474
|
+
"avatar_url": NotRequired["str"],
|
|
1475
|
+
"deleted": NotRequired["bool"],
|
|
1476
|
+
"email": NotRequired["str | None"],
|
|
1477
|
+
"events_url": NotRequired["str"],
|
|
1478
|
+
"followers_url": NotRequired["str"],
|
|
1479
|
+
"following_url": NotRequired["str"],
|
|
1480
|
+
"gists_url": NotRequired["str"],
|
|
1481
|
+
"gravatar_id": NotRequired["str"],
|
|
1482
|
+
"html_url": NotRequired["str"],
|
|
1483
|
+
"id": Required["int"],
|
|
1484
|
+
"login": Required["str"],
|
|
1485
|
+
"name": NotRequired["str"],
|
|
1486
|
+
"node_id": NotRequired["str"],
|
|
1487
|
+
"organizations_url": NotRequired["str"],
|
|
1488
|
+
"received_events_url": NotRequired["str"],
|
|
1489
|
+
"repos_url": NotRequired["str"],
|
|
1490
|
+
"site_admin": NotRequired["bool"],
|
|
1491
|
+
"starred_url": NotRequired["str"],
|
|
1492
|
+
"subscriptions_url": NotRequired["str"],
|
|
1493
|
+
"type": NotRequired["Literal['Bot', 'User', 'Organization']"],
|
|
1494
|
+
"url": NotRequired["str"],
|
|
1495
|
+
"user_view_type": NotRequired["str"],
|
|
1496
|
+
},
|
|
1497
|
+
total=False,
|
|
1498
|
+
)
|
|
1499
|
+
WebhooksSponsorshipTier = TypedDict(
|
|
1500
|
+
"WebhooksSponsorshipTier",
|
|
1501
|
+
{
|
|
1502
|
+
"created_at": Required["str"],
|
|
1503
|
+
"description": Required["str"],
|
|
1504
|
+
"is_custom_ammount": NotRequired["bool"],
|
|
1505
|
+
"is_custom_amount": NotRequired["bool"],
|
|
1506
|
+
"is_one_time": Required["bool"],
|
|
1507
|
+
"monthly_price_in_cents": Required["int"],
|
|
1508
|
+
"monthly_price_in_dollars": Required["int"],
|
|
1509
|
+
"name": Required["str"],
|
|
1510
|
+
"node_id": Required["str"],
|
|
1511
|
+
},
|
|
1512
|
+
total=False,
|
|
1513
|
+
)
|
|
1514
|
+
WebhooksTeam = TypedDict(
|
|
1515
|
+
"WebhooksTeam",
|
|
1516
|
+
{
|
|
1517
|
+
"deleted": NotRequired["bool"],
|
|
1518
|
+
"description": NotRequired["str | None"],
|
|
1519
|
+
"enterprise_id": NotRequired["int"],
|
|
1520
|
+
"html_url": NotRequired["str"],
|
|
1521
|
+
"id": Required["int"],
|
|
1522
|
+
"members_url": NotRequired["str"],
|
|
1523
|
+
"name": Required["str"],
|
|
1524
|
+
"node_id": NotRequired["str"],
|
|
1525
|
+
"notification_setting": NotRequired[
|
|
1526
|
+
"Literal['notifications_enabled', 'notifications_disabled']"
|
|
1527
|
+
],
|
|
1528
|
+
"organization_id": NotRequired["int"],
|
|
1529
|
+
"parent": NotRequired["WebhooksTeamParentVariant0 | None"],
|
|
1530
|
+
"permission": NotRequired["str"],
|
|
1531
|
+
"privacy": NotRequired["Literal['open', 'closed', 'secret']"],
|
|
1532
|
+
"repositories_url": NotRequired["str"],
|
|
1533
|
+
"slug": NotRequired["str"],
|
|
1534
|
+
"type": NotRequired["Literal['enterprise', 'organization']"],
|
|
1535
|
+
"url": NotRequired["str"],
|
|
1536
|
+
},
|
|
1537
|
+
total=False,
|
|
1538
|
+
)
|
|
1539
|
+
WebhooksTeam1 = TypedDict(
|
|
1540
|
+
"WebhooksTeam1",
|
|
1541
|
+
{
|
|
1542
|
+
"deleted": NotRequired["bool"],
|
|
1543
|
+
"description": NotRequired["str | None"],
|
|
1544
|
+
"enterprise_id": NotRequired["int"],
|
|
1545
|
+
"html_url": NotRequired["str"],
|
|
1546
|
+
"id": Required["int"],
|
|
1547
|
+
"members_url": NotRequired["str"],
|
|
1548
|
+
"name": Required["str"],
|
|
1549
|
+
"node_id": NotRequired["str"],
|
|
1550
|
+
"notification_setting": NotRequired[
|
|
1551
|
+
"Literal['notifications_enabled', 'notifications_disabled']"
|
|
1552
|
+
],
|
|
1553
|
+
"organization_id": NotRequired["int"],
|
|
1554
|
+
"parent": NotRequired["WebhooksTeam1ParentVariant0 | None"],
|
|
1555
|
+
"permission": NotRequired["str"],
|
|
1556
|
+
"privacy": NotRequired["Literal['open', 'closed', 'secret']"],
|
|
1557
|
+
"repositories_url": NotRequired["str"],
|
|
1558
|
+
"slug": NotRequired["str"],
|
|
1559
|
+
"type": NotRequired["Literal['enterprise', 'organization']"],
|
|
1560
|
+
"url": NotRequired["str"],
|
|
1561
|
+
},
|
|
1562
|
+
total=False,
|
|
1563
|
+
)
|
|
1564
|
+
WebhooksTeam1ParentVariant0 = TypedDict(
|
|
1565
|
+
"WebhooksTeam1ParentVariant0",
|
|
1566
|
+
{
|
|
1567
|
+
"description": Required["str | None"],
|
|
1568
|
+
"enterprise_id": NotRequired["int"],
|
|
1569
|
+
"html_url": Required["str"],
|
|
1570
|
+
"id": Required["int"],
|
|
1571
|
+
"members_url": Required["str"],
|
|
1572
|
+
"name": Required["str"],
|
|
1573
|
+
"node_id": Required["str"],
|
|
1574
|
+
"notification_setting": Required[
|
|
1575
|
+
"Literal['notifications_enabled', 'notifications_disabled']"
|
|
1576
|
+
],
|
|
1577
|
+
"organization_id": NotRequired["int"],
|
|
1578
|
+
"permission": Required["str"],
|
|
1579
|
+
"privacy": Required["Literal['open', 'closed', 'secret']"],
|
|
1580
|
+
"repositories_url": Required["str"],
|
|
1581
|
+
"slug": Required["str"],
|
|
1582
|
+
"type": Required["Literal['enterprise', 'organization']"],
|
|
1583
|
+
"url": Required["str"],
|
|
1584
|
+
},
|
|
1585
|
+
total=False,
|
|
1586
|
+
)
|
|
1587
|
+
WebhooksTeamParentVariant0 = TypedDict(
|
|
1588
|
+
"WebhooksTeamParentVariant0",
|
|
1589
|
+
{
|
|
1590
|
+
"description": Required["str | None"],
|
|
1591
|
+
"enterprise_id": NotRequired["int"],
|
|
1592
|
+
"html_url": Required["str"],
|
|
1593
|
+
"id": Required["int"],
|
|
1594
|
+
"members_url": Required["str"],
|
|
1595
|
+
"name": Required["str"],
|
|
1596
|
+
"node_id": Required["str"],
|
|
1597
|
+
"notification_setting": Required[
|
|
1598
|
+
"Literal['notifications_enabled', 'notifications_disabled']"
|
|
1599
|
+
],
|
|
1600
|
+
"organization_id": NotRequired["int"],
|
|
1601
|
+
"permission": Required["str"],
|
|
1602
|
+
"privacy": Required["Literal['open', 'closed', 'secret']"],
|
|
1603
|
+
"repositories_url": Required["str"],
|
|
1604
|
+
"slug": Required["str"],
|
|
1605
|
+
"type": Required["Literal['enterprise', 'organization']"],
|
|
1606
|
+
"url": Required["str"],
|
|
1607
|
+
},
|
|
1608
|
+
total=False,
|
|
1609
|
+
)
|
|
1610
|
+
WebhooksUser: TypeAlias = "WebhooksUserVariant0 | None"
|
|
1611
|
+
WebhooksUserMannequin: TypeAlias = "WebhooksUserMannequinVariant0 | None"
|
|
1612
|
+
WebhooksUserMannequinVariant0 = TypedDict(
|
|
1613
|
+
"WebhooksUserMannequinVariant0",
|
|
1614
|
+
{
|
|
1615
|
+
"avatar_url": NotRequired["str"],
|
|
1616
|
+
"deleted": NotRequired["bool"],
|
|
1617
|
+
"email": NotRequired["str | None"],
|
|
1618
|
+
"events_url": NotRequired["str"],
|
|
1619
|
+
"followers_url": NotRequired["str"],
|
|
1620
|
+
"following_url": NotRequired["str"],
|
|
1621
|
+
"gists_url": NotRequired["str"],
|
|
1622
|
+
"gravatar_id": NotRequired["str"],
|
|
1623
|
+
"html_url": NotRequired["str"],
|
|
1624
|
+
"id": Required["int"],
|
|
1625
|
+
"login": Required["str"],
|
|
1626
|
+
"name": NotRequired["str"],
|
|
1627
|
+
"node_id": NotRequired["str"],
|
|
1628
|
+
"organizations_url": NotRequired["str"],
|
|
1629
|
+
"received_events_url": NotRequired["str"],
|
|
1630
|
+
"repos_url": NotRequired["str"],
|
|
1631
|
+
"site_admin": NotRequired["bool"],
|
|
1632
|
+
"starred_url": NotRequired["str"],
|
|
1633
|
+
"subscriptions_url": NotRequired["str"],
|
|
1634
|
+
"type": NotRequired["Literal['Bot', 'User', 'Organization', 'Mannequin']"],
|
|
1635
|
+
"url": NotRequired["str"],
|
|
1636
|
+
"user_view_type": NotRequired["str"],
|
|
1637
|
+
},
|
|
1638
|
+
total=False,
|
|
1639
|
+
)
|
|
1640
|
+
WebhooksUserVariant0 = TypedDict(
|
|
1641
|
+
"WebhooksUserVariant0",
|
|
1642
|
+
{
|
|
1643
|
+
"avatar_url": NotRequired["str"],
|
|
1644
|
+
"deleted": NotRequired["bool"],
|
|
1645
|
+
"email": NotRequired["str | None"],
|
|
1646
|
+
"events_url": NotRequired["str"],
|
|
1647
|
+
"followers_url": NotRequired["str"],
|
|
1648
|
+
"following_url": NotRequired["str"],
|
|
1649
|
+
"gists_url": NotRequired["str"],
|
|
1650
|
+
"gravatar_id": NotRequired["str"],
|
|
1651
|
+
"html_url": NotRequired["str"],
|
|
1652
|
+
"id": Required["int"],
|
|
1653
|
+
"login": Required["str"],
|
|
1654
|
+
"name": NotRequired["str"],
|
|
1655
|
+
"node_id": NotRequired["str"],
|
|
1656
|
+
"organizations_url": NotRequired["str"],
|
|
1657
|
+
"received_events_url": NotRequired["str"],
|
|
1658
|
+
"repos_url": NotRequired["str"],
|
|
1659
|
+
"site_admin": NotRequired["bool"],
|
|
1660
|
+
"starred_url": NotRequired["str"],
|
|
1661
|
+
"subscriptions_url": NotRequired["str"],
|
|
1662
|
+
"type": NotRequired["Literal['Bot', 'User', 'Organization']"],
|
|
1663
|
+
"url": NotRequired["str"],
|
|
1664
|
+
"user_view_type": NotRequired["str"],
|
|
1665
|
+
},
|
|
1666
|
+
total=False,
|
|
1667
|
+
)
|
|
1668
|
+
WebhooksWorkflow: TypeAlias = "WebhooksWorkflowVariant0 | None"
|
|
1669
|
+
WebhooksWorkflowJobRun = TypedDict(
|
|
1670
|
+
"WebhooksWorkflowJobRun",
|
|
1671
|
+
{
|
|
1672
|
+
"conclusion": Required["Any | None"],
|
|
1673
|
+
"created_at": Required["str"],
|
|
1674
|
+
"environment": Required["str"],
|
|
1675
|
+
"html_url": Required["str"],
|
|
1676
|
+
"id": Required["int"],
|
|
1677
|
+
"name": Required["Any | None"],
|
|
1678
|
+
"status": Required["str"],
|
|
1679
|
+
"updated_at": Required["str"],
|
|
1680
|
+
},
|
|
1681
|
+
total=False,
|
|
1682
|
+
)
|
|
1683
|
+
WebhooksWorkflowVariant0 = TypedDict(
|
|
1684
|
+
"WebhooksWorkflowVariant0",
|
|
1685
|
+
{
|
|
1686
|
+
"badge_url": Required["str"],
|
|
1687
|
+
"created_at": Required["str"],
|
|
1688
|
+
"html_url": Required["str"],
|
|
1689
|
+
"id": Required["int"],
|
|
1690
|
+
"name": Required["str"],
|
|
1691
|
+
"node_id": Required["str"],
|
|
1692
|
+
"path": Required["str"],
|
|
1693
|
+
"state": Required["str"],
|
|
1694
|
+
"updated_at": Required["str"],
|
|
1695
|
+
"url": Required["str"],
|
|
1696
|
+
},
|
|
1697
|
+
total=False,
|
|
1698
|
+
)
|
|
1699
|
+
Workflow = TypedDict(
|
|
1700
|
+
"Workflow",
|
|
1701
|
+
{
|
|
1702
|
+
"badge_url": Required["str"],
|
|
1703
|
+
"created_at": Required["str"],
|
|
1704
|
+
"deleted_at": NotRequired["str"],
|
|
1705
|
+
"html_url": Required["str"],
|
|
1706
|
+
"id": Required["int"],
|
|
1707
|
+
"name": Required["str"],
|
|
1708
|
+
"node_id": Required["str"],
|
|
1709
|
+
"path": Required["str"],
|
|
1710
|
+
"state": Required[
|
|
1711
|
+
"Literal['active', 'deleted', 'disabled_fork', 'disabled_inactivity', 'disabled_manually']"
|
|
1712
|
+
],
|
|
1713
|
+
"updated_at": Required["str"],
|
|
1714
|
+
"url": Required["str"],
|
|
1715
|
+
},
|
|
1716
|
+
total=False,
|
|
1717
|
+
)
|
|
1718
|
+
WorkflowDispatchResponse = TypedDict(
|
|
1719
|
+
"WorkflowDispatchResponse",
|
|
1720
|
+
{
|
|
1721
|
+
"html_url": Required["str"],
|
|
1722
|
+
"run_url": Required["str"],
|
|
1723
|
+
"workflow_run_id": Required["WorkflowRunId"],
|
|
1724
|
+
},
|
|
1725
|
+
total=False,
|
|
1726
|
+
)
|
|
1727
|
+
WorkflowRun = TypedDict(
|
|
1728
|
+
"WorkflowRun",
|
|
1729
|
+
{
|
|
1730
|
+
"actor": NotRequired["SimpleUser"],
|
|
1731
|
+
"artifacts_url": Required["str"],
|
|
1732
|
+
"cancel_url": Required["str"],
|
|
1733
|
+
"check_suite_id": NotRequired["int"],
|
|
1734
|
+
"check_suite_node_id": NotRequired["str"],
|
|
1735
|
+
"check_suite_url": Required["str"],
|
|
1736
|
+
"conclusion": Required["str | None"],
|
|
1737
|
+
"created_at": Required["str"],
|
|
1738
|
+
"display_title": Required["str"],
|
|
1739
|
+
"event": Required["str"],
|
|
1740
|
+
"head_branch": Required["str | None"],
|
|
1741
|
+
"head_commit": Required["NullableSimpleCommit"],
|
|
1742
|
+
"head_repository": Required["MinimalRepository"],
|
|
1743
|
+
"head_repository_id": NotRequired["int"],
|
|
1744
|
+
"head_sha": Required["str"],
|
|
1745
|
+
"html_url": Required["str"],
|
|
1746
|
+
"id": Required["int"],
|
|
1747
|
+
"jobs_url": Required["str"],
|
|
1748
|
+
"logs_url": Required["str"],
|
|
1749
|
+
"name": NotRequired["str | None"],
|
|
1750
|
+
"node_id": Required["str"],
|
|
1751
|
+
"path": Required["str"],
|
|
1752
|
+
"previous_attempt_url": NotRequired["str | None"],
|
|
1753
|
+
"pull_requests": Required["list[PullRequestMinimal] | None"],
|
|
1754
|
+
"referenced_workflows": NotRequired["list[ReferencedWorkflow] | None"],
|
|
1755
|
+
"repository": Required["MinimalRepository"],
|
|
1756
|
+
"rerun_url": Required["str"],
|
|
1757
|
+
"run_attempt": NotRequired["int"],
|
|
1758
|
+
"run_number": Required["int"],
|
|
1759
|
+
"run_started_at": NotRequired["str"],
|
|
1760
|
+
"status": Required["str | None"],
|
|
1761
|
+
"triggering_actor": NotRequired["SimpleUser"],
|
|
1762
|
+
"updated_at": Required["str"],
|
|
1763
|
+
"url": Required["str"],
|
|
1764
|
+
"workflow_id": Required["int"],
|
|
1765
|
+
"workflow_url": Required["str"],
|
|
1766
|
+
},
|
|
1767
|
+
total=False,
|
|
1768
|
+
)
|
|
1769
|
+
WorkflowRunId: TypeAlias = "int"
|
|
1770
|
+
WorkflowRunUsage = TypedDict(
|
|
1771
|
+
"WorkflowRunUsage",
|
|
1772
|
+
{"billable": Required["WorkflowRunUsageBillable"], "run_duration_ms": NotRequired["int"]},
|
|
1773
|
+
total=False,
|
|
1774
|
+
)
|
|
1775
|
+
WorkflowRunUsageBillable = TypedDict(
|
|
1776
|
+
"WorkflowRunUsageBillable",
|
|
1777
|
+
{
|
|
1778
|
+
"MACOS": NotRequired["WorkflowRunUsageBillableMACOS"],
|
|
1779
|
+
"UBUNTU": NotRequired["WorkflowRunUsageBillableUBUNTU"],
|
|
1780
|
+
"WINDOWS": NotRequired["WorkflowRunUsageBillableWINDOWS"],
|
|
1781
|
+
},
|
|
1782
|
+
total=False,
|
|
1783
|
+
)
|
|
1784
|
+
WorkflowRunUsageBillableMACOS = TypedDict(
|
|
1785
|
+
"WorkflowRunUsageBillableMACOS",
|
|
1786
|
+
{
|
|
1787
|
+
"job_runs": NotRequired["list[WorkflowRunUsageBillableMACOSJobRunsItem]"],
|
|
1788
|
+
"jobs": Required["int"],
|
|
1789
|
+
"total_ms": Required["int"],
|
|
1790
|
+
},
|
|
1791
|
+
total=False,
|
|
1792
|
+
)
|
|
1793
|
+
WorkflowRunUsageBillableMACOSJobRunsItem = TypedDict(
|
|
1794
|
+
"WorkflowRunUsageBillableMACOSJobRunsItem",
|
|
1795
|
+
{"duration_ms": Required["int"], "job_id": Required["int"]},
|
|
1796
|
+
total=False,
|
|
1797
|
+
)
|
|
1798
|
+
WorkflowRunUsageBillableUBUNTU = TypedDict(
|
|
1799
|
+
"WorkflowRunUsageBillableUBUNTU",
|
|
1800
|
+
{
|
|
1801
|
+
"job_runs": NotRequired["list[WorkflowRunUsageBillableUBUNTUJobRunsItem]"],
|
|
1802
|
+
"jobs": Required["int"],
|
|
1803
|
+
"total_ms": Required["int"],
|
|
1804
|
+
},
|
|
1805
|
+
total=False,
|
|
1806
|
+
)
|
|
1807
|
+
WorkflowRunUsageBillableUBUNTUJobRunsItem = TypedDict(
|
|
1808
|
+
"WorkflowRunUsageBillableUBUNTUJobRunsItem",
|
|
1809
|
+
{"duration_ms": Required["int"], "job_id": Required["int"]},
|
|
1810
|
+
total=False,
|
|
1811
|
+
)
|
|
1812
|
+
WorkflowRunUsageBillableWINDOWS = TypedDict(
|
|
1813
|
+
"WorkflowRunUsageBillableWINDOWS",
|
|
1814
|
+
{
|
|
1815
|
+
"job_runs": NotRequired["list[WorkflowRunUsageBillableWINDOWSJobRunsItem]"],
|
|
1816
|
+
"jobs": Required["int"],
|
|
1817
|
+
"total_ms": Required["int"],
|
|
1818
|
+
},
|
|
1819
|
+
total=False,
|
|
1820
|
+
)
|
|
1821
|
+
WorkflowRunUsageBillableWINDOWSJobRunsItem = TypedDict(
|
|
1822
|
+
"WorkflowRunUsageBillableWINDOWSJobRunsItem",
|
|
1823
|
+
{"duration_ms": Required["int"], "job_id": Required["int"]},
|
|
1824
|
+
total=False,
|
|
1825
|
+
)
|
|
1826
|
+
WorkflowUsage = TypedDict(
|
|
1827
|
+
"WorkflowUsage", {"billable": Required["WorkflowUsageBillable"]}, total=False
|
|
1828
|
+
)
|
|
1829
|
+
WorkflowUsageBillable = TypedDict(
|
|
1830
|
+
"WorkflowUsageBillable",
|
|
1831
|
+
{
|
|
1832
|
+
"MACOS": NotRequired["WorkflowUsageBillableMACOS"],
|
|
1833
|
+
"UBUNTU": NotRequired["WorkflowUsageBillableUBUNTU"],
|
|
1834
|
+
"WINDOWS": NotRequired["WorkflowUsageBillableWINDOWS"],
|
|
1835
|
+
},
|
|
1836
|
+
total=False,
|
|
1837
|
+
)
|
|
1838
|
+
WorkflowUsageBillableMACOS = TypedDict(
|
|
1839
|
+
"WorkflowUsageBillableMACOS", {"total_ms": NotRequired["int"]}, total=False
|
|
1840
|
+
)
|
|
1841
|
+
WorkflowUsageBillableUBUNTU = TypedDict(
|
|
1842
|
+
"WorkflowUsageBillableUBUNTU", {"total_ms": NotRequired["int"]}, total=False
|
|
1843
|
+
)
|
|
1844
|
+
WorkflowUsageBillableWINDOWS = TypedDict(
|
|
1845
|
+
"WorkflowUsageBillableWINDOWS", {"total_ms": NotRequired["int"]}, total=False
|
|
1846
|
+
)
|