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,2046 @@
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 AlertNumber
9
+ from alter_sdk_github._github_models_00 import CvssSeverities
10
+ from alter_sdk_github._github_models_13 import GollumEventPagesItem
11
+ from alter_sdk_github._github_models_14 import OutputcommitSearchResultItem
12
+ from alter_sdk_github._github_models_14 import Outputemail
13
+ from alter_sdk_github._github_models_14 import OutputemptyObject
14
+ from alter_sdk_github._github_models_14 import OutputfullRepository
15
+ from alter_sdk_github._github_models_14 import OutputglobalAdvisory
16
+ from alter_sdk_github._github_models_14 import OutputgpgKey
17
+ from alter_sdk_github._github_models_14 import Outputhovercard
18
+ from alter_sdk_github._github_models_14 import OutputissueSearchResultItem
19
+ from alter_sdk_github._github_models_14 import Outputkey
20
+ from alter_sdk_github._github_models_14 import OutputkeySimple
21
+ from alter_sdk_github._github_models_14 import OutputlabelSearchResultItem
22
+ from alter_sdk_github._github_models_14 import OutputminimalRepository
23
+ from alter_sdk_github._github_models_14 import OutputorganizationInvitation
24
+ from alter_sdk_github._github_models_14 import OutputorganizationSecretScanningAlert
25
+ from alter_sdk_github._github_models_15 import OutputprivateUser
26
+ from alter_sdk_github._github_models_15 import OutputpublicUser
27
+ from alter_sdk_github._github_models_15 import OutputrepoSearchResultItem
28
+ from alter_sdk_github._github_models_15 import OutputrepositoryAdvisory
29
+ from alter_sdk_github._github_models_15 import OutputrepositoryAdvisoryComment
30
+ from alter_sdk_github._github_models_15 import OutputsecretScanningAlert
31
+ from alter_sdk_github._github_models_15 import OutputsecretScanningAlertWithMetadata
32
+ from alter_sdk_github._github_models_15 import OutputsecretScanningCustomPattern
33
+ from alter_sdk_github._github_models_15 import OutputsecretScanningLocation
34
+ from alter_sdk_github._github_models_15 import OutputsecretScanningPatternConfiguration
35
+ from alter_sdk_github._github_models_15 import OutputsecretScanningPushProtectionBypass
36
+ from alter_sdk_github._github_models_15 import OutputsecretScanningScanHistory
37
+ from alter_sdk_github._github_models_15 import OutputsimpleUser
38
+ from alter_sdk_github._github_models_15 import OutputsocialAccount
39
+ from alter_sdk_github._github_models_15 import OutputsshSigningKey
40
+ from alter_sdk_github._github_models_15 import Outputteam
41
+ from alter_sdk_github._github_models_15 import OutputteamFull
42
+ from alter_sdk_github._github_models_15 import OutputteamMember
43
+ from alter_sdk_github._github_models_15 import OutputteamMembership
44
+ from alter_sdk_github._github_models_15 import OutputteamRepository
45
+ from alter_sdk_github._github_models_15 import OutputtopicSearchResultItem
46
+ from alter_sdk_github._github_models_15 import OutputuserSearchResultItem
47
+ from alter_sdk_github._github_models_16 import PrivateVulnerabilityReportCreate
48
+ from alter_sdk_github._github_models_16 import RepositoryAdvisoryCreate
49
+ from alter_sdk_github._github_models_16 import RepositoryAdvisoryUpdate
50
+ from alter_sdk_github._github_models_16 import SecretScanningAlertAssignee
51
+ from alter_sdk_github._github_models_16 import SecretScanningAlertResolution
52
+ from alter_sdk_github._github_models_16 import SecretScanningAlertResolutionComment
53
+ from alter_sdk_github._github_models_16 import SecretScanningAlertState
54
+ from alter_sdk_github._github_models_16 import SecretScanningCustomPatternToCreate
55
+ from alter_sdk_github._github_models_16 import SecretScanningCustomPatternToDelete
56
+ from alter_sdk_github._github_models_16 import SecretScanningCustomPatternToUpdate
57
+ from alter_sdk_github._github_models_16 import SecretScanningPushProtectionBypassPlaceholderId
58
+ from alter_sdk_github._github_models_16 import SecretScanningPushProtectionBypassReason
59
+ from alter_sdk_github._github_models_16 import SecretScanningRowVersion
60
+ from alter_sdk_github._github_models_16 import SecurityAdvisoryCreditTypes
61
+ from alter_sdk_github._github_models_16 import SecurityAdvisoryEcosystems
62
+ from alter_sdk_github._github_models_16 import SecurityAdvisoryEpss
63
+ from alter_sdk_github._github_models_16 import SimpleUser
64
+ from alter_sdk_github._github_models_17 import Vulnerability
65
+
66
+ GithubSearchCommitsOutput = TypedDict(
67
+ "GithubSearchCommitsOutput",
68
+ {
69
+ "incomplete_results": Required["bool"],
70
+ "items": Required["list[OutputcommitSearchResultItem]"],
71
+ "total_count": Required["int | str"],
72
+ },
73
+ total=False,
74
+ )
75
+ GithubSearchIssuesAndPullRequestsInput = TypedDict(
76
+ "GithubSearchIssuesAndPullRequestsInput",
77
+ {"query": Required["GithubSearchIssuesAndPullRequestsInputQuery"]},
78
+ total=False,
79
+ )
80
+ GithubSearchIssuesAndPullRequestsInputQuery = TypedDict(
81
+ "GithubSearchIssuesAndPullRequestsInputQuery",
82
+ {
83
+ "q": Required["str"],
84
+ "sort": NotRequired[
85
+ "Literal['comments', 'reactions', 'reactions-+1', 'reactions--1', 'reactions-smile', 'reactions-thinking_face', 'reactions-heart', 'reactions-tada', 'interactions', 'created', 'updated']"
86
+ ],
87
+ "order": NotRequired["Literal['desc', 'asc']"],
88
+ "per_page": NotRequired["int"],
89
+ "page": NotRequired["int"],
90
+ "advanced_search": NotRequired["str"],
91
+ "search_type": NotRequired["Literal['semantic', 'hybrid']"],
92
+ },
93
+ total=False,
94
+ )
95
+ GithubSearchIssuesAndPullRequestsOutput = TypedDict(
96
+ "GithubSearchIssuesAndPullRequestsOutput",
97
+ {
98
+ "incomplete_results": Required["bool"],
99
+ "items": Required["list[OutputissueSearchResultItem]"],
100
+ "lexical_fallback_reason": NotRequired["list[str]"],
101
+ "search_type": Required["str"],
102
+ "total_count": Required["int | str"],
103
+ },
104
+ total=False,
105
+ )
106
+ GithubSearchLabelsInput = TypedDict(
107
+ "GithubSearchLabelsInput", {"query": Required["GithubSearchLabelsInputQuery"]}, total=False
108
+ )
109
+ GithubSearchLabelsInputQuery = TypedDict(
110
+ "GithubSearchLabelsInputQuery",
111
+ {
112
+ "repository_id": Required["int"],
113
+ "q": Required["str"],
114
+ "sort": NotRequired["Literal['created', 'updated']"],
115
+ "order": NotRequired["Literal['desc', 'asc']"],
116
+ "per_page": NotRequired["int"],
117
+ "page": NotRequired["int"],
118
+ },
119
+ total=False,
120
+ )
121
+ GithubSearchLabelsOutput = TypedDict(
122
+ "GithubSearchLabelsOutput",
123
+ {
124
+ "incomplete_results": Required["bool"],
125
+ "items": Required["list[OutputlabelSearchResultItem]"],
126
+ "total_count": Required["int | str"],
127
+ },
128
+ total=False,
129
+ )
130
+ GithubSearchReposInput = TypedDict(
131
+ "GithubSearchReposInput", {"query": Required["GithubSearchReposInputQuery"]}, total=False
132
+ )
133
+ GithubSearchReposInputQuery = TypedDict(
134
+ "GithubSearchReposInputQuery",
135
+ {
136
+ "q": Required["str"],
137
+ "sort": NotRequired["Literal['stars', 'forks', 'help-wanted-issues', 'updated']"],
138
+ "order": NotRequired["Literal['desc', 'asc']"],
139
+ "per_page": NotRequired["int"],
140
+ "page": NotRequired["int"],
141
+ },
142
+ total=False,
143
+ )
144
+ GithubSearchReposOutput = TypedDict(
145
+ "GithubSearchReposOutput",
146
+ {
147
+ "incomplete_results": Required["bool"],
148
+ "items": Required["list[OutputrepoSearchResultItem]"],
149
+ "total_count": Required["int | str"],
150
+ },
151
+ total=False,
152
+ )
153
+ GithubSearchTopicsInput = TypedDict(
154
+ "GithubSearchTopicsInput", {"query": Required["GithubSearchTopicsInputQuery"]}, total=False
155
+ )
156
+ GithubSearchTopicsInputQuery = TypedDict(
157
+ "GithubSearchTopicsInputQuery",
158
+ {"q": Required["str"], "per_page": NotRequired["int"], "page": NotRequired["int"]},
159
+ total=False,
160
+ )
161
+ GithubSearchTopicsOutput = TypedDict(
162
+ "GithubSearchTopicsOutput",
163
+ {
164
+ "incomplete_results": Required["bool"],
165
+ "items": Required["list[OutputtopicSearchResultItem]"],
166
+ "total_count": Required["int | str"],
167
+ },
168
+ total=False,
169
+ )
170
+ GithubSearchUsersInput = TypedDict(
171
+ "GithubSearchUsersInput", {"query": Required["GithubSearchUsersInputQuery"]}, total=False
172
+ )
173
+ GithubSearchUsersInputQuery = TypedDict(
174
+ "GithubSearchUsersInputQuery",
175
+ {
176
+ "q": Required["str"],
177
+ "sort": NotRequired["Literal['followers', 'repositories', 'joined']"],
178
+ "order": NotRequired["Literal['desc', 'asc']"],
179
+ "per_page": NotRequired["int"],
180
+ "page": NotRequired["int"],
181
+ },
182
+ total=False,
183
+ )
184
+ GithubSearchUsersOutput = TypedDict(
185
+ "GithubSearchUsersOutput",
186
+ {
187
+ "incomplete_results": Required["bool"],
188
+ "items": Required["list[OutputuserSearchResultItem]"],
189
+ "total_count": Required["int | str"],
190
+ },
191
+ total=False,
192
+ )
193
+ GithubSecretScanningBulkCreateOrgCustomPatternsInput = TypedDict(
194
+ "GithubSecretScanningBulkCreateOrgCustomPatternsInput",
195
+ {
196
+ "path": Required["GithubSecretScanningBulkCreateOrgCustomPatternsInputPath"],
197
+ "body": Required["GithubSecretScanningBulkCreateOrgCustomPatternsInputBody"],
198
+ },
199
+ total=False,
200
+ )
201
+ GithubSecretScanningBulkCreateOrgCustomPatternsInputBody = TypedDict(
202
+ "GithubSecretScanningBulkCreateOrgCustomPatternsInputBody",
203
+ {"patterns": Required["list[SecretScanningCustomPatternToCreate]"]},
204
+ total=False,
205
+ )
206
+ GithubSecretScanningBulkCreateOrgCustomPatternsInputPath = TypedDict(
207
+ "GithubSecretScanningBulkCreateOrgCustomPatternsInputPath",
208
+ {"org": Required["str"]},
209
+ total=False,
210
+ )
211
+ GithubSecretScanningBulkCreateOrgCustomPatternsOutput = TypedDict(
212
+ "GithubSecretScanningBulkCreateOrgCustomPatternsOutput",
213
+ {"created_patterns": NotRequired["list[OutputsecretScanningCustomPattern]"]},
214
+ total=False,
215
+ )
216
+ GithubSecretScanningBulkCreateRepoCustomPatternsInput = TypedDict(
217
+ "GithubSecretScanningBulkCreateRepoCustomPatternsInput",
218
+ {
219
+ "path": Required["GithubSecretScanningBulkCreateRepoCustomPatternsInputPath"],
220
+ "body": Required["GithubSecretScanningBulkCreateRepoCustomPatternsInputBody"],
221
+ },
222
+ total=False,
223
+ )
224
+ GithubSecretScanningBulkCreateRepoCustomPatternsInputBody = TypedDict(
225
+ "GithubSecretScanningBulkCreateRepoCustomPatternsInputBody",
226
+ {"patterns": Required["list[SecretScanningCustomPatternToCreate]"]},
227
+ total=False,
228
+ )
229
+ GithubSecretScanningBulkCreateRepoCustomPatternsInputPath = TypedDict(
230
+ "GithubSecretScanningBulkCreateRepoCustomPatternsInputPath",
231
+ {"owner": Required["str"], "repo": Required["str"]},
232
+ total=False,
233
+ )
234
+ GithubSecretScanningBulkCreateRepoCustomPatternsOutput = TypedDict(
235
+ "GithubSecretScanningBulkCreateRepoCustomPatternsOutput",
236
+ {"created_patterns": NotRequired["list[OutputsecretScanningCustomPattern]"]},
237
+ total=False,
238
+ )
239
+ GithubSecretScanningBulkDeleteOrgCustomPatternsInput = TypedDict(
240
+ "GithubSecretScanningBulkDeleteOrgCustomPatternsInput",
241
+ {
242
+ "path": Required["GithubSecretScanningBulkDeleteOrgCustomPatternsInputPath"],
243
+ "body": Required["GithubSecretScanningBulkDeleteOrgCustomPatternsInputBody"],
244
+ },
245
+ total=False,
246
+ )
247
+ GithubSecretScanningBulkDeleteOrgCustomPatternsInputBody = TypedDict(
248
+ "GithubSecretScanningBulkDeleteOrgCustomPatternsInputBody",
249
+ {
250
+ "patterns": Required["list[SecretScanningCustomPatternToDelete]"],
251
+ "post_delete_action": NotRequired["Literal['delete_alerts', 'resolve_alerts']"],
252
+ },
253
+ total=False,
254
+ )
255
+ GithubSecretScanningBulkDeleteOrgCustomPatternsInputPath = TypedDict(
256
+ "GithubSecretScanningBulkDeleteOrgCustomPatternsInputPath",
257
+ {"org": Required["str"]},
258
+ total=False,
259
+ )
260
+ GithubSecretScanningBulkDeleteOrgCustomPatternsOutput: TypeAlias = "None"
261
+ GithubSecretScanningBulkDeleteRepoCustomPatternsInput = TypedDict(
262
+ "GithubSecretScanningBulkDeleteRepoCustomPatternsInput",
263
+ {
264
+ "path": Required["GithubSecretScanningBulkDeleteRepoCustomPatternsInputPath"],
265
+ "body": Required["GithubSecretScanningBulkDeleteRepoCustomPatternsInputBody"],
266
+ },
267
+ total=False,
268
+ )
269
+ GithubSecretScanningBulkDeleteRepoCustomPatternsInputBody = TypedDict(
270
+ "GithubSecretScanningBulkDeleteRepoCustomPatternsInputBody",
271
+ {
272
+ "patterns": Required["list[SecretScanningCustomPatternToDelete]"],
273
+ "post_delete_action": NotRequired["Literal['delete_alerts', 'resolve_alerts']"],
274
+ },
275
+ total=False,
276
+ )
277
+ GithubSecretScanningBulkDeleteRepoCustomPatternsInputPath = TypedDict(
278
+ "GithubSecretScanningBulkDeleteRepoCustomPatternsInputPath",
279
+ {"owner": Required["str"], "repo": Required["str"]},
280
+ total=False,
281
+ )
282
+ GithubSecretScanningBulkDeleteRepoCustomPatternsOutput: TypeAlias = "None"
283
+ GithubSecretScanningCreatePushProtectionBypassInput = TypedDict(
284
+ "GithubSecretScanningCreatePushProtectionBypassInput",
285
+ {
286
+ "path": Required["GithubSecretScanningCreatePushProtectionBypassInputPath"],
287
+ "body": Required["GithubSecretScanningCreatePushProtectionBypassInputBody"],
288
+ },
289
+ total=False,
290
+ )
291
+ GithubSecretScanningCreatePushProtectionBypassInputBody = TypedDict(
292
+ "GithubSecretScanningCreatePushProtectionBypassInputBody",
293
+ {
294
+ "placeholder_id": Required["SecretScanningPushProtectionBypassPlaceholderId"],
295
+ "reason": Required["SecretScanningPushProtectionBypassReason"],
296
+ },
297
+ total=False,
298
+ )
299
+ GithubSecretScanningCreatePushProtectionBypassInputPath = TypedDict(
300
+ "GithubSecretScanningCreatePushProtectionBypassInputPath",
301
+ {"owner": Required["str"], "repo": Required["str"]},
302
+ total=False,
303
+ )
304
+ GithubSecretScanningCreatePushProtectionBypassOutput: TypeAlias = (
305
+ "OutputsecretScanningPushProtectionBypass"
306
+ )
307
+ GithubSecretScanningGetAlertInput = TypedDict(
308
+ "GithubSecretScanningGetAlertInput",
309
+ {
310
+ "path": Required["GithubSecretScanningGetAlertInputPath"],
311
+ "query": NotRequired["GithubSecretScanningGetAlertInputQuery"],
312
+ },
313
+ total=False,
314
+ )
315
+ GithubSecretScanningGetAlertInputPath = TypedDict(
316
+ "GithubSecretScanningGetAlertInputPath",
317
+ {"owner": Required["str"], "repo": Required["str"], "alert_number": Required["AlertNumber"]},
318
+ total=False,
319
+ )
320
+ GithubSecretScanningGetAlertInputQuery = TypedDict(
321
+ "GithubSecretScanningGetAlertInputQuery", {"hide_secret": NotRequired["bool"]}, total=False
322
+ )
323
+ GithubSecretScanningGetAlertOutput: TypeAlias = "OutputsecretScanningAlertWithMetadata"
324
+ GithubSecretScanningGetScanHistoryInput = TypedDict(
325
+ "GithubSecretScanningGetScanHistoryInput",
326
+ {"path": Required["GithubSecretScanningGetScanHistoryInputPath"]},
327
+ total=False,
328
+ )
329
+ GithubSecretScanningGetScanHistoryInputPath = TypedDict(
330
+ "GithubSecretScanningGetScanHistoryInputPath",
331
+ {"owner": Required["str"], "repo": Required["str"]},
332
+ total=False,
333
+ )
334
+ GithubSecretScanningGetScanHistoryOutput: TypeAlias = "OutputsecretScanningScanHistory"
335
+ GithubSecretScanningListAlertsForOrgInput = TypedDict(
336
+ "GithubSecretScanningListAlertsForOrgInput",
337
+ {
338
+ "path": Required["GithubSecretScanningListAlertsForOrgInputPath"],
339
+ "query": NotRequired["GithubSecretScanningListAlertsForOrgInputQuery"],
340
+ },
341
+ total=False,
342
+ )
343
+ GithubSecretScanningListAlertsForOrgInputPath = TypedDict(
344
+ "GithubSecretScanningListAlertsForOrgInputPath", {"org": Required["str"]}, total=False
345
+ )
346
+ GithubSecretScanningListAlertsForOrgInputQuery = TypedDict(
347
+ "GithubSecretScanningListAlertsForOrgInputQuery",
348
+ {
349
+ "state": NotRequired["Literal['open', 'resolved']"],
350
+ "secret_type": NotRequired["str"],
351
+ "exclude_secret_types": NotRequired["str"],
352
+ "exclude_providers": NotRequired["str"],
353
+ "providers": NotRequired["str"],
354
+ "resolution": NotRequired["str"],
355
+ "assignee": NotRequired["str"],
356
+ "sort": NotRequired["Literal['created', 'updated']"],
357
+ "direction": NotRequired["Literal['asc', 'desc']"],
358
+ "page": NotRequired["int"],
359
+ "per_page": NotRequired["int"],
360
+ "before": NotRequired["str"],
361
+ "after": NotRequired["str"],
362
+ "validity": NotRequired["str"],
363
+ "is_publicly_leaked": NotRequired["bool"],
364
+ "is_multi_repo": NotRequired["bool"],
365
+ "hide_secret": NotRequired["bool"],
366
+ "is_bypassed": NotRequired["bool"],
367
+ "included_metadata": NotRequired["str"],
368
+ "owner_email_hash": NotRequired["str"],
369
+ },
370
+ total=False,
371
+ )
372
+ GithubSecretScanningListAlertsForOrgOutput: TypeAlias = (
373
+ "list[OutputorganizationSecretScanningAlert]"
374
+ )
375
+ GithubSecretScanningListAlertsForRepoInput = TypedDict(
376
+ "GithubSecretScanningListAlertsForRepoInput",
377
+ {
378
+ "path": Required["GithubSecretScanningListAlertsForRepoInputPath"],
379
+ "query": NotRequired["GithubSecretScanningListAlertsForRepoInputQuery"],
380
+ },
381
+ total=False,
382
+ )
383
+ GithubSecretScanningListAlertsForRepoInputPath = TypedDict(
384
+ "GithubSecretScanningListAlertsForRepoInputPath",
385
+ {"owner": Required["str"], "repo": Required["str"]},
386
+ total=False,
387
+ )
388
+ GithubSecretScanningListAlertsForRepoInputQuery = TypedDict(
389
+ "GithubSecretScanningListAlertsForRepoInputQuery",
390
+ {
391
+ "state": NotRequired["Literal['open', 'resolved']"],
392
+ "secret_type": NotRequired["str"],
393
+ "exclude_secret_types": NotRequired["str"],
394
+ "exclude_providers": NotRequired["str"],
395
+ "providers": NotRequired["str"],
396
+ "resolution": NotRequired["str"],
397
+ "assignee": NotRequired["str"],
398
+ "sort": NotRequired["Literal['created', 'updated']"],
399
+ "direction": NotRequired["Literal['asc', 'desc']"],
400
+ "page": NotRequired["int"],
401
+ "per_page": NotRequired["int"],
402
+ "before": NotRequired["str"],
403
+ "after": NotRequired["str"],
404
+ "validity": NotRequired["str"],
405
+ "is_publicly_leaked": NotRequired["bool"],
406
+ "is_multi_repo": NotRequired["bool"],
407
+ "hide_secret": NotRequired["bool"],
408
+ "is_bypassed": NotRequired["bool"],
409
+ "included_metadata": NotRequired["str"],
410
+ "owner_email_hash": NotRequired["str"],
411
+ },
412
+ total=False,
413
+ )
414
+ GithubSecretScanningListAlertsForRepoOutput: TypeAlias = "list[OutputsecretScanningAlert]"
415
+ GithubSecretScanningListLocationsForAlertInput = TypedDict(
416
+ "GithubSecretScanningListLocationsForAlertInput",
417
+ {
418
+ "path": Required["GithubSecretScanningListLocationsForAlertInputPath"],
419
+ "query": NotRequired["GithubSecretScanningListLocationsForAlertInputQuery"],
420
+ },
421
+ total=False,
422
+ )
423
+ GithubSecretScanningListLocationsForAlertInputPath = TypedDict(
424
+ "GithubSecretScanningListLocationsForAlertInputPath",
425
+ {"owner": Required["str"], "repo": Required["str"], "alert_number": Required["AlertNumber"]},
426
+ total=False,
427
+ )
428
+ GithubSecretScanningListLocationsForAlertInputQuery = TypedDict(
429
+ "GithubSecretScanningListLocationsForAlertInputQuery",
430
+ {"page": NotRequired["int"], "per_page": NotRequired["int"]},
431
+ total=False,
432
+ )
433
+ GithubSecretScanningListLocationsForAlertOutput: TypeAlias = "list[OutputsecretScanningLocation]"
434
+ GithubSecretScanningListOrgCustomPatternsInput = TypedDict(
435
+ "GithubSecretScanningListOrgCustomPatternsInput",
436
+ {
437
+ "path": Required["GithubSecretScanningListOrgCustomPatternsInputPath"],
438
+ "query": NotRequired["GithubSecretScanningListOrgCustomPatternsInputQuery"],
439
+ },
440
+ total=False,
441
+ )
442
+ GithubSecretScanningListOrgCustomPatternsInputPath = TypedDict(
443
+ "GithubSecretScanningListOrgCustomPatternsInputPath", {"org": Required["str"]}, total=False
444
+ )
445
+ GithubSecretScanningListOrgCustomPatternsInputQuery = TypedDict(
446
+ "GithubSecretScanningListOrgCustomPatternsInputQuery",
447
+ {
448
+ "state": NotRequired["Literal['published', 'unpublished']"],
449
+ "push_protection": NotRequired["Literal['enabled', 'disabled']"],
450
+ "sort": NotRequired["Literal['created', 'updated', 'name']"],
451
+ "direction": NotRequired["Literal['asc', 'desc']"],
452
+ "before": NotRequired["str"],
453
+ "after": NotRequired["str"],
454
+ },
455
+ total=False,
456
+ )
457
+ GithubSecretScanningListOrgCustomPatternsOutput: TypeAlias = (
458
+ "list[OutputsecretScanningCustomPattern]"
459
+ )
460
+ GithubSecretScanningListOrgPatternConfigsInput = TypedDict(
461
+ "GithubSecretScanningListOrgPatternConfigsInput",
462
+ {"path": Required["GithubSecretScanningListOrgPatternConfigsInputPath"]},
463
+ total=False,
464
+ )
465
+ GithubSecretScanningListOrgPatternConfigsInputPath = TypedDict(
466
+ "GithubSecretScanningListOrgPatternConfigsInputPath", {"org": Required["str"]}, total=False
467
+ )
468
+ GithubSecretScanningListOrgPatternConfigsOutput: TypeAlias = (
469
+ "OutputsecretScanningPatternConfiguration"
470
+ )
471
+ GithubSecretScanningListRepoCustomPatternsInput = TypedDict(
472
+ "GithubSecretScanningListRepoCustomPatternsInput",
473
+ {
474
+ "path": Required["GithubSecretScanningListRepoCustomPatternsInputPath"],
475
+ "query": NotRequired["GithubSecretScanningListRepoCustomPatternsInputQuery"],
476
+ },
477
+ total=False,
478
+ )
479
+ GithubSecretScanningListRepoCustomPatternsInputPath = TypedDict(
480
+ "GithubSecretScanningListRepoCustomPatternsInputPath",
481
+ {"owner": Required["str"], "repo": Required["str"]},
482
+ total=False,
483
+ )
484
+ GithubSecretScanningListRepoCustomPatternsInputQuery = TypedDict(
485
+ "GithubSecretScanningListRepoCustomPatternsInputQuery",
486
+ {
487
+ "state": NotRequired["Literal['published', 'unpublished']"],
488
+ "push_protection": NotRequired["Literal['enabled', 'disabled']"],
489
+ "sort": NotRequired["Literal['created', 'updated', 'name']"],
490
+ "direction": NotRequired["Literal['asc', 'desc']"],
491
+ "before": NotRequired["str"],
492
+ "after": NotRequired["str"],
493
+ },
494
+ total=False,
495
+ )
496
+ GithubSecretScanningListRepoCustomPatternsOutput: TypeAlias = (
497
+ "list[OutputsecretScanningCustomPattern]"
498
+ )
499
+ GithubSecretScanningUpdateAlertInput = TypedDict(
500
+ "GithubSecretScanningUpdateAlertInput",
501
+ {
502
+ "path": Required["GithubSecretScanningUpdateAlertInputPath"],
503
+ "body": Required[
504
+ "GithubSecretScanningUpdateAlertInputBodyVariant0 | GithubSecretScanningUpdateAlertInputBodyVariant1 | GithubSecretScanningUpdateAlertInputBodyVariant2"
505
+ ],
506
+ },
507
+ total=False,
508
+ )
509
+ GithubSecretScanningUpdateAlertInputBodyVariant0 = TypedDict(
510
+ "GithubSecretScanningUpdateAlertInputBodyVariant0",
511
+ {
512
+ "assignee": NotRequired["SecretScanningAlertAssignee"],
513
+ "resolution": NotRequired["SecretScanningAlertResolution"],
514
+ "resolution_comment": NotRequired["SecretScanningAlertResolutionComment"],
515
+ "state": Required["SecretScanningAlertState"],
516
+ "validity": NotRequired["Literal['active', 'inactive'] | None"],
517
+ },
518
+ total=False,
519
+ )
520
+ GithubSecretScanningUpdateAlertInputBodyVariant1 = TypedDict(
521
+ "GithubSecretScanningUpdateAlertInputBodyVariant1",
522
+ {
523
+ "assignee": Required["SecretScanningAlertAssignee"],
524
+ "resolution": NotRequired["SecretScanningAlertResolution"],
525
+ "resolution_comment": NotRequired["SecretScanningAlertResolutionComment"],
526
+ "state": NotRequired["SecretScanningAlertState"],
527
+ "validity": NotRequired["Literal['active', 'inactive'] | None"],
528
+ },
529
+ total=False,
530
+ )
531
+ GithubSecretScanningUpdateAlertInputBodyVariant2 = TypedDict(
532
+ "GithubSecretScanningUpdateAlertInputBodyVariant2",
533
+ {
534
+ "assignee": NotRequired["SecretScanningAlertAssignee"],
535
+ "resolution": NotRequired["SecretScanningAlertResolution"],
536
+ "resolution_comment": NotRequired["SecretScanningAlertResolutionComment"],
537
+ "state": NotRequired["SecretScanningAlertState"],
538
+ "validity": Required["Literal['active', 'inactive'] | None"],
539
+ },
540
+ total=False,
541
+ )
542
+ GithubSecretScanningUpdateAlertInputPath = TypedDict(
543
+ "GithubSecretScanningUpdateAlertInputPath",
544
+ {"owner": Required["str"], "repo": Required["str"], "alert_number": Required["AlertNumber"]},
545
+ total=False,
546
+ )
547
+ GithubSecretScanningUpdateAlertOutput: TypeAlias = "OutputsecretScanningAlertWithMetadata"
548
+ GithubSecretScanningUpdateOrgCustomPatternInput = TypedDict(
549
+ "GithubSecretScanningUpdateOrgCustomPatternInput",
550
+ {
551
+ "path": Required["GithubSecretScanningUpdateOrgCustomPatternInputPath"],
552
+ "body": Required["SecretScanningCustomPatternToUpdate"],
553
+ },
554
+ total=False,
555
+ )
556
+ GithubSecretScanningUpdateOrgCustomPatternInputPath = TypedDict(
557
+ "GithubSecretScanningUpdateOrgCustomPatternInputPath",
558
+ {"org": Required["str"], "pattern_id": Required["int"]},
559
+ total=False,
560
+ )
561
+ GithubSecretScanningUpdateOrgCustomPatternOutput: TypeAlias = "OutputsecretScanningCustomPattern"
562
+ GithubSecretScanningUpdateOrgPatternConfigsInput = TypedDict(
563
+ "GithubSecretScanningUpdateOrgPatternConfigsInput",
564
+ {
565
+ "path": Required["GithubSecretScanningUpdateOrgPatternConfigsInputPath"],
566
+ "body": Required["GithubSecretScanningUpdateOrgPatternConfigsInputBody"],
567
+ },
568
+ total=False,
569
+ )
570
+ GithubSecretScanningUpdateOrgPatternConfigsInputBody = TypedDict(
571
+ "GithubSecretScanningUpdateOrgPatternConfigsInputBody",
572
+ {
573
+ "custom_pattern_settings": NotRequired[
574
+ "list[GithubSecretScanningUpdateOrgPatternConfigsInputBodyCustomPatternSettingsItem]"
575
+ ],
576
+ "pattern_config_version": NotRequired["SecretScanningRowVersion"],
577
+ "provider_pattern_settings": NotRequired[
578
+ "list[GithubSecretScanningUpdateOrgPatternConfigsInputBodyProviderPatternSettingsItem]"
579
+ ],
580
+ },
581
+ total=False,
582
+ )
583
+ GithubSecretScanningUpdateOrgPatternConfigsInputBodyCustomPatternSettingsItem = TypedDict(
584
+ "GithubSecretScanningUpdateOrgPatternConfigsInputBodyCustomPatternSettingsItem",
585
+ {
586
+ "custom_pattern_version": NotRequired["SecretScanningRowVersion"],
587
+ "push_protection_setting": NotRequired["Literal['disabled', 'enabled']"],
588
+ "token_type": NotRequired["str"],
589
+ },
590
+ total=False,
591
+ )
592
+ GithubSecretScanningUpdateOrgPatternConfigsInputBodyProviderPatternSettingsItem = TypedDict(
593
+ "GithubSecretScanningUpdateOrgPatternConfigsInputBodyProviderPatternSettingsItem",
594
+ {
595
+ "push_protection_setting": NotRequired["Literal['not-set', 'disabled', 'enabled']"],
596
+ "token_type": NotRequired["str"],
597
+ },
598
+ total=False,
599
+ )
600
+ GithubSecretScanningUpdateOrgPatternConfigsInputPath = TypedDict(
601
+ "GithubSecretScanningUpdateOrgPatternConfigsInputPath", {"org": Required["str"]}, total=False
602
+ )
603
+ GithubSecretScanningUpdateOrgPatternConfigsOutput = TypedDict(
604
+ "GithubSecretScanningUpdateOrgPatternConfigsOutput",
605
+ {"pattern_config_version": NotRequired["str"]},
606
+ total=False,
607
+ )
608
+ GithubSecretScanningUpdateRepoCustomPatternInput = TypedDict(
609
+ "GithubSecretScanningUpdateRepoCustomPatternInput",
610
+ {
611
+ "path": Required["GithubSecretScanningUpdateRepoCustomPatternInputPath"],
612
+ "body": Required["SecretScanningCustomPatternToUpdate"],
613
+ },
614
+ total=False,
615
+ )
616
+ GithubSecretScanningUpdateRepoCustomPatternInputPath = TypedDict(
617
+ "GithubSecretScanningUpdateRepoCustomPatternInputPath",
618
+ {"owner": Required["str"], "repo": Required["str"], "pattern_id": Required["int"]},
619
+ total=False,
620
+ )
621
+ GithubSecretScanningUpdateRepoCustomPatternOutput: TypeAlias = "OutputsecretScanningCustomPattern"
622
+ GithubSecurityAdvisoriesCreateForkInput = TypedDict(
623
+ "GithubSecurityAdvisoriesCreateForkInput",
624
+ {"path": Required["GithubSecurityAdvisoriesCreateForkInputPath"]},
625
+ total=False,
626
+ )
627
+ GithubSecurityAdvisoriesCreateForkInputPath = TypedDict(
628
+ "GithubSecurityAdvisoriesCreateForkInputPath",
629
+ {"owner": Required["str"], "repo": Required["str"], "ghsa_id": Required["str"]},
630
+ total=False,
631
+ )
632
+ GithubSecurityAdvisoriesCreateForkOutput: TypeAlias = "OutputfullRepository"
633
+ GithubSecurityAdvisoriesCreatePrivateVulnerabilityReportInput = TypedDict(
634
+ "GithubSecurityAdvisoriesCreatePrivateVulnerabilityReportInput",
635
+ {
636
+ "path": Required["GithubSecurityAdvisoriesCreatePrivateVulnerabilityReportInputPath"],
637
+ "body": Required["PrivateVulnerabilityReportCreate"],
638
+ },
639
+ total=False,
640
+ )
641
+ GithubSecurityAdvisoriesCreatePrivateVulnerabilityReportInputPath = TypedDict(
642
+ "GithubSecurityAdvisoriesCreatePrivateVulnerabilityReportInputPath",
643
+ {"owner": Required["str"], "repo": Required["str"]},
644
+ total=False,
645
+ )
646
+ GithubSecurityAdvisoriesCreatePrivateVulnerabilityReportOutput: TypeAlias = (
647
+ "OutputrepositoryAdvisory"
648
+ )
649
+ GithubSecurityAdvisoriesCreateRepositoryAdvisoryCommentInput = TypedDict(
650
+ "GithubSecurityAdvisoriesCreateRepositoryAdvisoryCommentInput",
651
+ {
652
+ "path": Required["GithubSecurityAdvisoriesCreateRepositoryAdvisoryCommentInputPath"],
653
+ "body": Required["GithubSecurityAdvisoriesCreateRepositoryAdvisoryCommentInputBody"],
654
+ },
655
+ total=False,
656
+ )
657
+ GithubSecurityAdvisoriesCreateRepositoryAdvisoryCommentInputBody = TypedDict(
658
+ "GithubSecurityAdvisoriesCreateRepositoryAdvisoryCommentInputBody",
659
+ {"body": Required["str"]},
660
+ total=False,
661
+ )
662
+ GithubSecurityAdvisoriesCreateRepositoryAdvisoryCommentInputPath = TypedDict(
663
+ "GithubSecurityAdvisoriesCreateRepositoryAdvisoryCommentInputPath",
664
+ {"owner": Required["str"], "repo": Required["str"], "ghsa_id": Required["str"]},
665
+ total=False,
666
+ )
667
+ GithubSecurityAdvisoriesCreateRepositoryAdvisoryCommentOutput: TypeAlias = (
668
+ "OutputrepositoryAdvisoryComment"
669
+ )
670
+ GithubSecurityAdvisoriesCreateRepositoryAdvisoryCveRequestInput = TypedDict(
671
+ "GithubSecurityAdvisoriesCreateRepositoryAdvisoryCveRequestInput",
672
+ {"path": Required["GithubSecurityAdvisoriesCreateRepositoryAdvisoryCveRequestInputPath"]},
673
+ total=False,
674
+ )
675
+ GithubSecurityAdvisoriesCreateRepositoryAdvisoryCveRequestInputPath = TypedDict(
676
+ "GithubSecurityAdvisoriesCreateRepositoryAdvisoryCveRequestInputPath",
677
+ {"owner": Required["str"], "repo": Required["str"], "ghsa_id": Required["str"]},
678
+ total=False,
679
+ )
680
+ GithubSecurityAdvisoriesCreateRepositoryAdvisoryCveRequestOutput: TypeAlias = "dict[str, object]"
681
+ GithubSecurityAdvisoriesCreateRepositoryAdvisoryInput = TypedDict(
682
+ "GithubSecurityAdvisoriesCreateRepositoryAdvisoryInput",
683
+ {
684
+ "path": Required["GithubSecurityAdvisoriesCreateRepositoryAdvisoryInputPath"],
685
+ "body": Required["RepositoryAdvisoryCreate"],
686
+ },
687
+ total=False,
688
+ )
689
+ GithubSecurityAdvisoriesCreateRepositoryAdvisoryInputPath = TypedDict(
690
+ "GithubSecurityAdvisoriesCreateRepositoryAdvisoryInputPath",
691
+ {"owner": Required["str"], "repo": Required["str"]},
692
+ total=False,
693
+ )
694
+ GithubSecurityAdvisoriesCreateRepositoryAdvisoryOutput: TypeAlias = "OutputrepositoryAdvisory"
695
+ GithubSecurityAdvisoriesGetGlobalAdvisoryInput = TypedDict(
696
+ "GithubSecurityAdvisoriesGetGlobalAdvisoryInput",
697
+ {"path": Required["GithubSecurityAdvisoriesGetGlobalAdvisoryInputPath"]},
698
+ total=False,
699
+ )
700
+ GithubSecurityAdvisoriesGetGlobalAdvisoryInputPath = TypedDict(
701
+ "GithubSecurityAdvisoriesGetGlobalAdvisoryInputPath", {"ghsa_id": Required["str"]}, total=False
702
+ )
703
+ GithubSecurityAdvisoriesGetGlobalAdvisoryOutput: TypeAlias = "OutputglobalAdvisory"
704
+ GithubSecurityAdvisoriesGetRepositoryAdvisoryCommentInput = TypedDict(
705
+ "GithubSecurityAdvisoriesGetRepositoryAdvisoryCommentInput",
706
+ {"path": Required["GithubSecurityAdvisoriesGetRepositoryAdvisoryCommentInputPath"]},
707
+ total=False,
708
+ )
709
+ GithubSecurityAdvisoriesGetRepositoryAdvisoryCommentInputPath = TypedDict(
710
+ "GithubSecurityAdvisoriesGetRepositoryAdvisoryCommentInputPath",
711
+ {
712
+ "owner": Required["str"],
713
+ "repo": Required["str"],
714
+ "ghsa_id": Required["str"],
715
+ "comment_id": Required["int"],
716
+ },
717
+ total=False,
718
+ )
719
+ GithubSecurityAdvisoriesGetRepositoryAdvisoryCommentOutput: TypeAlias = (
720
+ "OutputrepositoryAdvisoryComment"
721
+ )
722
+ GithubSecurityAdvisoriesGetRepositoryAdvisoryInput = TypedDict(
723
+ "GithubSecurityAdvisoriesGetRepositoryAdvisoryInput",
724
+ {"path": Required["GithubSecurityAdvisoriesGetRepositoryAdvisoryInputPath"]},
725
+ total=False,
726
+ )
727
+ GithubSecurityAdvisoriesGetRepositoryAdvisoryInputPath = TypedDict(
728
+ "GithubSecurityAdvisoriesGetRepositoryAdvisoryInputPath",
729
+ {"owner": Required["str"], "repo": Required["str"], "ghsa_id": Required["str"]},
730
+ total=False,
731
+ )
732
+ GithubSecurityAdvisoriesGetRepositoryAdvisoryOutput: TypeAlias = "OutputrepositoryAdvisory"
733
+ GithubSecurityAdvisoriesListGlobalAdvisoriesInput = TypedDict(
734
+ "GithubSecurityAdvisoriesListGlobalAdvisoriesInput",
735
+ {"query": NotRequired["GithubSecurityAdvisoriesListGlobalAdvisoriesInputQuery"]},
736
+ total=False,
737
+ )
738
+ GithubSecurityAdvisoriesListGlobalAdvisoriesInputQuery = TypedDict(
739
+ "GithubSecurityAdvisoriesListGlobalAdvisoriesInputQuery",
740
+ {
741
+ "ghsa_id": NotRequired["str"],
742
+ "type": NotRequired["Literal['reviewed', 'malware', 'unreviewed']"],
743
+ "cve_id": NotRequired["str"],
744
+ "ecosystem": NotRequired["SecurityAdvisoryEcosystems"],
745
+ "severity": NotRequired["Literal['unknown', 'low', 'medium', 'high', 'critical']"],
746
+ "cwes": NotRequired["str | list[str]"],
747
+ "is_withdrawn": NotRequired["bool"],
748
+ "affects": NotRequired["str | list[str]"],
749
+ "published": NotRequired["str"],
750
+ "updated": NotRequired["str"],
751
+ "modified": NotRequired["str"],
752
+ "epss_percentage": NotRequired["str"],
753
+ "epss_percentile": NotRequired["str"],
754
+ "before": NotRequired["str"],
755
+ "after": NotRequired["str"],
756
+ "direction": NotRequired["Literal['asc', 'desc']"],
757
+ "per_page": NotRequired["int"],
758
+ "sort": NotRequired[
759
+ "Literal['updated', 'published', 'epss_percentage', 'epss_percentile']"
760
+ ],
761
+ },
762
+ total=False,
763
+ )
764
+ GithubSecurityAdvisoriesListGlobalAdvisoriesOutput: TypeAlias = "list[OutputglobalAdvisory]"
765
+ GithubSecurityAdvisoriesListOrgRepositoryAdvisoriesInput = TypedDict(
766
+ "GithubSecurityAdvisoriesListOrgRepositoryAdvisoriesInput",
767
+ {
768
+ "path": Required["GithubSecurityAdvisoriesListOrgRepositoryAdvisoriesInputPath"],
769
+ "query": NotRequired["GithubSecurityAdvisoriesListOrgRepositoryAdvisoriesInputQuery"],
770
+ },
771
+ total=False,
772
+ )
773
+ GithubSecurityAdvisoriesListOrgRepositoryAdvisoriesInputPath = TypedDict(
774
+ "GithubSecurityAdvisoriesListOrgRepositoryAdvisoriesInputPath",
775
+ {"org": Required["str"]},
776
+ total=False,
777
+ )
778
+ GithubSecurityAdvisoriesListOrgRepositoryAdvisoriesInputQuery = TypedDict(
779
+ "GithubSecurityAdvisoriesListOrgRepositoryAdvisoriesInputQuery",
780
+ {
781
+ "direction": NotRequired["Literal['asc', 'desc']"],
782
+ "sort": NotRequired["Literal['created', 'updated', 'published']"],
783
+ "before": NotRequired["str"],
784
+ "after": NotRequired["str"],
785
+ "per_page": NotRequired["int"],
786
+ "state": NotRequired["Literal['triage', 'draft', 'published', 'closed']"],
787
+ },
788
+ total=False,
789
+ )
790
+ GithubSecurityAdvisoriesListOrgRepositoryAdvisoriesOutput: TypeAlias = (
791
+ "list[OutputrepositoryAdvisory]"
792
+ )
793
+ GithubSecurityAdvisoriesListRepositoryAdvisoriesInput = TypedDict(
794
+ "GithubSecurityAdvisoriesListRepositoryAdvisoriesInput",
795
+ {
796
+ "path": Required["GithubSecurityAdvisoriesListRepositoryAdvisoriesInputPath"],
797
+ "query": NotRequired["GithubSecurityAdvisoriesListRepositoryAdvisoriesInputQuery"],
798
+ },
799
+ total=False,
800
+ )
801
+ GithubSecurityAdvisoriesListRepositoryAdvisoriesInputPath = TypedDict(
802
+ "GithubSecurityAdvisoriesListRepositoryAdvisoriesInputPath",
803
+ {"owner": Required["str"], "repo": Required["str"]},
804
+ total=False,
805
+ )
806
+ GithubSecurityAdvisoriesListRepositoryAdvisoriesInputQuery = TypedDict(
807
+ "GithubSecurityAdvisoriesListRepositoryAdvisoriesInputQuery",
808
+ {
809
+ "direction": NotRequired["Literal['asc', 'desc']"],
810
+ "sort": NotRequired["Literal['created', 'updated', 'published']"],
811
+ "before": NotRequired["str"],
812
+ "after": NotRequired["str"],
813
+ "per_page": NotRequired["int"],
814
+ "state": NotRequired["Literal['triage', 'draft', 'published', 'closed']"],
815
+ },
816
+ total=False,
817
+ )
818
+ GithubSecurityAdvisoriesListRepositoryAdvisoriesOutput: TypeAlias = "list[OutputrepositoryAdvisory]"
819
+ GithubSecurityAdvisoriesListRepositoryAdvisoryCommentsInput = TypedDict(
820
+ "GithubSecurityAdvisoriesListRepositoryAdvisoryCommentsInput",
821
+ {
822
+ "path": Required["GithubSecurityAdvisoriesListRepositoryAdvisoryCommentsInputPath"],
823
+ "query": NotRequired["GithubSecurityAdvisoriesListRepositoryAdvisoryCommentsInputQuery"],
824
+ },
825
+ total=False,
826
+ )
827
+ GithubSecurityAdvisoriesListRepositoryAdvisoryCommentsInputPath = TypedDict(
828
+ "GithubSecurityAdvisoriesListRepositoryAdvisoryCommentsInputPath",
829
+ {"owner": Required["str"], "repo": Required["str"], "ghsa_id": Required["str"]},
830
+ total=False,
831
+ )
832
+ GithubSecurityAdvisoriesListRepositoryAdvisoryCommentsInputQuery = TypedDict(
833
+ "GithubSecurityAdvisoriesListRepositoryAdvisoryCommentsInputQuery",
834
+ {"since": NotRequired["str"], "per_page": NotRequired["int"], "page": NotRequired["int"]},
835
+ total=False,
836
+ )
837
+ GithubSecurityAdvisoriesListRepositoryAdvisoryCommentsOutput: TypeAlias = (
838
+ "list[OutputrepositoryAdvisoryComment]"
839
+ )
840
+ GithubSecurityAdvisoriesUpdateRepositoryAdvisoryCommentInput = TypedDict(
841
+ "GithubSecurityAdvisoriesUpdateRepositoryAdvisoryCommentInput",
842
+ {
843
+ "path": Required["GithubSecurityAdvisoriesUpdateRepositoryAdvisoryCommentInputPath"],
844
+ "body": Required["GithubSecurityAdvisoriesUpdateRepositoryAdvisoryCommentInputBody"],
845
+ },
846
+ total=False,
847
+ )
848
+ GithubSecurityAdvisoriesUpdateRepositoryAdvisoryCommentInputBody = TypedDict(
849
+ "GithubSecurityAdvisoriesUpdateRepositoryAdvisoryCommentInputBody",
850
+ {"body": Required["str"]},
851
+ total=False,
852
+ )
853
+ GithubSecurityAdvisoriesUpdateRepositoryAdvisoryCommentInputPath = TypedDict(
854
+ "GithubSecurityAdvisoriesUpdateRepositoryAdvisoryCommentInputPath",
855
+ {
856
+ "owner": Required["str"],
857
+ "repo": Required["str"],
858
+ "ghsa_id": Required["str"],
859
+ "comment_id": Required["int"],
860
+ },
861
+ total=False,
862
+ )
863
+ GithubSecurityAdvisoriesUpdateRepositoryAdvisoryCommentOutput: TypeAlias = (
864
+ "OutputrepositoryAdvisoryComment"
865
+ )
866
+ GithubSecurityAdvisoriesUpdateRepositoryAdvisoryInput = TypedDict(
867
+ "GithubSecurityAdvisoriesUpdateRepositoryAdvisoryInput",
868
+ {
869
+ "path": Required["GithubSecurityAdvisoriesUpdateRepositoryAdvisoryInputPath"],
870
+ "body": Required["RepositoryAdvisoryUpdate"],
871
+ },
872
+ total=False,
873
+ )
874
+ GithubSecurityAdvisoriesUpdateRepositoryAdvisoryInputPath = TypedDict(
875
+ "GithubSecurityAdvisoriesUpdateRepositoryAdvisoryInputPath",
876
+ {"owner": Required["str"], "repo": Required["str"], "ghsa_id": Required["str"]},
877
+ total=False,
878
+ )
879
+ GithubSecurityAdvisoriesUpdateRepositoryAdvisoryOutput: TypeAlias = "OutputrepositoryAdvisory"
880
+ GithubTeamsAddMemberLegacyInput = TypedDict(
881
+ "GithubTeamsAddMemberLegacyInput",
882
+ {"path": Required["GithubTeamsAddMemberLegacyInputPath"]},
883
+ total=False,
884
+ )
885
+ GithubTeamsAddMemberLegacyInputPath = TypedDict(
886
+ "GithubTeamsAddMemberLegacyInputPath",
887
+ {"team_id": Required["int"], "username": Required["str"]},
888
+ total=False,
889
+ )
890
+ GithubTeamsAddMemberLegacyOutput: TypeAlias = "None"
891
+ GithubTeamsAddOrUpdateMembershipForUserInOrgInput = TypedDict(
892
+ "GithubTeamsAddOrUpdateMembershipForUserInOrgInput",
893
+ {
894
+ "path": Required["GithubTeamsAddOrUpdateMembershipForUserInOrgInputPath"],
895
+ "body": NotRequired["GithubTeamsAddOrUpdateMembershipForUserInOrgInputBody"],
896
+ },
897
+ total=False,
898
+ )
899
+ GithubTeamsAddOrUpdateMembershipForUserInOrgInputBody = TypedDict(
900
+ "GithubTeamsAddOrUpdateMembershipForUserInOrgInputBody",
901
+ {"role": NotRequired["Literal['member', 'maintainer']"]},
902
+ total=False,
903
+ )
904
+ GithubTeamsAddOrUpdateMembershipForUserInOrgInputPath = TypedDict(
905
+ "GithubTeamsAddOrUpdateMembershipForUserInOrgInputPath",
906
+ {"org": Required["str"], "team_slug": Required["str"], "username": Required["str"]},
907
+ total=False,
908
+ )
909
+ GithubTeamsAddOrUpdateMembershipForUserInOrgOutput: TypeAlias = "OutputteamMembership"
910
+ GithubTeamsAddOrUpdateMembershipForUserLegacyInput = TypedDict(
911
+ "GithubTeamsAddOrUpdateMembershipForUserLegacyInput",
912
+ {
913
+ "path": Required["GithubTeamsAddOrUpdateMembershipForUserLegacyInputPath"],
914
+ "body": NotRequired["GithubTeamsAddOrUpdateMembershipForUserLegacyInputBody"],
915
+ },
916
+ total=False,
917
+ )
918
+ GithubTeamsAddOrUpdateMembershipForUserLegacyInputBody = TypedDict(
919
+ "GithubTeamsAddOrUpdateMembershipForUserLegacyInputBody",
920
+ {"role": NotRequired["Literal['member', 'maintainer']"]},
921
+ total=False,
922
+ )
923
+ GithubTeamsAddOrUpdateMembershipForUserLegacyInputPath = TypedDict(
924
+ "GithubTeamsAddOrUpdateMembershipForUserLegacyInputPath",
925
+ {"team_id": Required["int"], "username": Required["str"]},
926
+ total=False,
927
+ )
928
+ GithubTeamsAddOrUpdateMembershipForUserLegacyOutput: TypeAlias = "OutputteamMembership"
929
+ GithubTeamsAddOrUpdateRepoPermissionsInOrgInput = TypedDict(
930
+ "GithubTeamsAddOrUpdateRepoPermissionsInOrgInput",
931
+ {
932
+ "path": Required["GithubTeamsAddOrUpdateRepoPermissionsInOrgInputPath"],
933
+ "body": NotRequired["GithubTeamsAddOrUpdateRepoPermissionsInOrgInputBody"],
934
+ },
935
+ total=False,
936
+ )
937
+ GithubTeamsAddOrUpdateRepoPermissionsInOrgInputBody = TypedDict(
938
+ "GithubTeamsAddOrUpdateRepoPermissionsInOrgInputBody",
939
+ {"permission": NotRequired["str"]},
940
+ total=False,
941
+ )
942
+ GithubTeamsAddOrUpdateRepoPermissionsInOrgInputPath = TypedDict(
943
+ "GithubTeamsAddOrUpdateRepoPermissionsInOrgInputPath",
944
+ {
945
+ "org": Required["str"],
946
+ "team_slug": Required["str"],
947
+ "owner": Required["str"],
948
+ "repo": Required["str"],
949
+ },
950
+ total=False,
951
+ )
952
+ GithubTeamsAddOrUpdateRepoPermissionsInOrgOutput: TypeAlias = "None"
953
+ GithubTeamsAddOrUpdateRepoPermissionsLegacyInput = TypedDict(
954
+ "GithubTeamsAddOrUpdateRepoPermissionsLegacyInput",
955
+ {
956
+ "path": Required["GithubTeamsAddOrUpdateRepoPermissionsLegacyInputPath"],
957
+ "body": NotRequired["GithubTeamsAddOrUpdateRepoPermissionsLegacyInputBody"],
958
+ },
959
+ total=False,
960
+ )
961
+ GithubTeamsAddOrUpdateRepoPermissionsLegacyInputBody = TypedDict(
962
+ "GithubTeamsAddOrUpdateRepoPermissionsLegacyInputBody",
963
+ {"permission": NotRequired["Literal['pull', 'push', 'admin']"]},
964
+ total=False,
965
+ )
966
+ GithubTeamsAddOrUpdateRepoPermissionsLegacyInputPath = TypedDict(
967
+ "GithubTeamsAddOrUpdateRepoPermissionsLegacyInputPath",
968
+ {"team_id": Required["int"], "owner": Required["str"], "repo": Required["str"]},
969
+ total=False,
970
+ )
971
+ GithubTeamsAddOrUpdateRepoPermissionsLegacyOutput: TypeAlias = "None"
972
+ GithubTeamsCheckPermissionsForRepoInOrgInput = TypedDict(
973
+ "GithubTeamsCheckPermissionsForRepoInOrgInput",
974
+ {"path": Required["GithubTeamsCheckPermissionsForRepoInOrgInputPath"]},
975
+ total=False,
976
+ )
977
+ GithubTeamsCheckPermissionsForRepoInOrgInputPath = TypedDict(
978
+ "GithubTeamsCheckPermissionsForRepoInOrgInputPath",
979
+ {
980
+ "org": Required["str"],
981
+ "team_slug": Required["str"],
982
+ "owner": Required["str"],
983
+ "repo": Required["str"],
984
+ },
985
+ total=False,
986
+ )
987
+ GithubTeamsCheckPermissionsForRepoInOrgOutput: TypeAlias = "OutputteamRepository | None"
988
+ GithubTeamsCheckPermissionsForRepoLegacyInput = TypedDict(
989
+ "GithubTeamsCheckPermissionsForRepoLegacyInput",
990
+ {"path": Required["GithubTeamsCheckPermissionsForRepoLegacyInputPath"]},
991
+ total=False,
992
+ )
993
+ GithubTeamsCheckPermissionsForRepoLegacyInputPath = TypedDict(
994
+ "GithubTeamsCheckPermissionsForRepoLegacyInputPath",
995
+ {"team_id": Required["int"], "owner": Required["str"], "repo": Required["str"]},
996
+ total=False,
997
+ )
998
+ GithubTeamsCheckPermissionsForRepoLegacyOutput: TypeAlias = "OutputteamRepository | None"
999
+ GithubTeamsCreateInput = TypedDict(
1000
+ "GithubTeamsCreateInput",
1001
+ {
1002
+ "path": Required["GithubTeamsCreateInputPath"],
1003
+ "body": Required["GithubTeamsCreateInputBody"],
1004
+ },
1005
+ total=False,
1006
+ )
1007
+ GithubTeamsCreateInputBody = TypedDict(
1008
+ "GithubTeamsCreateInputBody",
1009
+ {
1010
+ "description": NotRequired["str"],
1011
+ "maintainers": NotRequired["list[str]"],
1012
+ "name": Required["str"],
1013
+ "notification_setting": NotRequired[
1014
+ "Literal['notifications_enabled', 'notifications_disabled']"
1015
+ ],
1016
+ "parent_team_id": NotRequired["int"],
1017
+ "parent_team_slug": NotRequired["str"],
1018
+ "privacy": NotRequired["Literal['secret', 'closed']"],
1019
+ "repo_names": NotRequired["list[str]"],
1020
+ },
1021
+ total=False,
1022
+ )
1023
+ GithubTeamsCreateInputPath = TypedDict(
1024
+ "GithubTeamsCreateInputPath", {"org": Required["str"]}, total=False
1025
+ )
1026
+ GithubTeamsCreateOutput: TypeAlias = "OutputteamFull"
1027
+ GithubTeamsDeleteInOrgInput = TypedDict(
1028
+ "GithubTeamsDeleteInOrgInput",
1029
+ {"path": Required["GithubTeamsDeleteInOrgInputPath"]},
1030
+ total=False,
1031
+ )
1032
+ GithubTeamsDeleteInOrgInputPath = TypedDict(
1033
+ "GithubTeamsDeleteInOrgInputPath",
1034
+ {"org": Required["str"], "team_slug": Required["str"]},
1035
+ total=False,
1036
+ )
1037
+ GithubTeamsDeleteInOrgOutput: TypeAlias = "None"
1038
+ GithubTeamsDeleteLegacyInput = TypedDict(
1039
+ "GithubTeamsDeleteLegacyInput",
1040
+ {"path": Required["GithubTeamsDeleteLegacyInputPath"]},
1041
+ total=False,
1042
+ )
1043
+ GithubTeamsDeleteLegacyInputPath = TypedDict(
1044
+ "GithubTeamsDeleteLegacyInputPath", {"team_id": Required["int"]}, total=False
1045
+ )
1046
+ GithubTeamsDeleteLegacyOutput: TypeAlias = "None"
1047
+ GithubTeamsGetByNameInput = TypedDict(
1048
+ "GithubTeamsGetByNameInput", {"path": Required["GithubTeamsGetByNameInputPath"]}, total=False
1049
+ )
1050
+ GithubTeamsGetByNameInputPath = TypedDict(
1051
+ "GithubTeamsGetByNameInputPath",
1052
+ {"org": Required["str"], "team_slug": Required["str"]},
1053
+ total=False,
1054
+ )
1055
+ GithubTeamsGetByNameOutput: TypeAlias = "OutputteamFull"
1056
+ GithubTeamsGetLegacyInput = TypedDict(
1057
+ "GithubTeamsGetLegacyInput", {"path": Required["GithubTeamsGetLegacyInputPath"]}, total=False
1058
+ )
1059
+ GithubTeamsGetLegacyInputPath = TypedDict(
1060
+ "GithubTeamsGetLegacyInputPath", {"team_id": Required["int"]}, total=False
1061
+ )
1062
+ GithubTeamsGetLegacyOutput: TypeAlias = "OutputteamFull"
1063
+ GithubTeamsGetMemberLegacyInput = TypedDict(
1064
+ "GithubTeamsGetMemberLegacyInput",
1065
+ {"path": Required["GithubTeamsGetMemberLegacyInputPath"]},
1066
+ total=False,
1067
+ )
1068
+ GithubTeamsGetMemberLegacyInputPath = TypedDict(
1069
+ "GithubTeamsGetMemberLegacyInputPath",
1070
+ {"team_id": Required["int"], "username": Required["str"]},
1071
+ total=False,
1072
+ )
1073
+ GithubTeamsGetMemberLegacyOutput: TypeAlias = "None"
1074
+ GithubTeamsGetMembershipForUserInOrgInput = TypedDict(
1075
+ "GithubTeamsGetMembershipForUserInOrgInput",
1076
+ {"path": Required["GithubTeamsGetMembershipForUserInOrgInputPath"]},
1077
+ total=False,
1078
+ )
1079
+ GithubTeamsGetMembershipForUserInOrgInputPath = TypedDict(
1080
+ "GithubTeamsGetMembershipForUserInOrgInputPath",
1081
+ {"org": Required["str"], "team_slug": Required["str"], "username": Required["str"]},
1082
+ total=False,
1083
+ )
1084
+ GithubTeamsGetMembershipForUserInOrgOutput: TypeAlias = "OutputteamMembership"
1085
+ GithubTeamsGetMembershipForUserLegacyInput = TypedDict(
1086
+ "GithubTeamsGetMembershipForUserLegacyInput",
1087
+ {"path": Required["GithubTeamsGetMembershipForUserLegacyInputPath"]},
1088
+ total=False,
1089
+ )
1090
+ GithubTeamsGetMembershipForUserLegacyInputPath = TypedDict(
1091
+ "GithubTeamsGetMembershipForUserLegacyInputPath",
1092
+ {"team_id": Required["int"], "username": Required["str"]},
1093
+ total=False,
1094
+ )
1095
+ GithubTeamsGetMembershipForUserLegacyOutput: TypeAlias = "OutputteamMembership"
1096
+ GithubTeamsListChildInOrgInput = TypedDict(
1097
+ "GithubTeamsListChildInOrgInput",
1098
+ {
1099
+ "path": Required["GithubTeamsListChildInOrgInputPath"],
1100
+ "query": NotRequired["GithubTeamsListChildInOrgInputQuery"],
1101
+ },
1102
+ total=False,
1103
+ )
1104
+ GithubTeamsListChildInOrgInputPath = TypedDict(
1105
+ "GithubTeamsListChildInOrgInputPath",
1106
+ {"org": Required["str"], "team_slug": Required["str"]},
1107
+ total=False,
1108
+ )
1109
+ GithubTeamsListChildInOrgInputQuery = TypedDict(
1110
+ "GithubTeamsListChildInOrgInputQuery",
1111
+ {"per_page": NotRequired["int"], "page": NotRequired["int"]},
1112
+ total=False,
1113
+ )
1114
+ GithubTeamsListChildInOrgOutput: TypeAlias = "list[Outputteam]"
1115
+ GithubTeamsListChildLegacyInput = TypedDict(
1116
+ "GithubTeamsListChildLegacyInput",
1117
+ {
1118
+ "path": Required["GithubTeamsListChildLegacyInputPath"],
1119
+ "query": NotRequired["GithubTeamsListChildLegacyInputQuery"],
1120
+ },
1121
+ total=False,
1122
+ )
1123
+ GithubTeamsListChildLegacyInputPath = TypedDict(
1124
+ "GithubTeamsListChildLegacyInputPath", {"team_id": Required["int"]}, total=False
1125
+ )
1126
+ GithubTeamsListChildLegacyInputQuery = TypedDict(
1127
+ "GithubTeamsListChildLegacyInputQuery",
1128
+ {"per_page": NotRequired["int"], "page": NotRequired["int"]},
1129
+ total=False,
1130
+ )
1131
+ GithubTeamsListChildLegacyOutput: TypeAlias = "list[Outputteam]"
1132
+ GithubTeamsListForAuthenticatedUserInput = TypedDict(
1133
+ "GithubTeamsListForAuthenticatedUserInput",
1134
+ {"query": NotRequired["GithubTeamsListForAuthenticatedUserInputQuery"]},
1135
+ total=False,
1136
+ )
1137
+ GithubTeamsListForAuthenticatedUserInputQuery = TypedDict(
1138
+ "GithubTeamsListForAuthenticatedUserInputQuery",
1139
+ {"per_page": NotRequired["int"], "page": NotRequired["int"]},
1140
+ total=False,
1141
+ )
1142
+ GithubTeamsListForAuthenticatedUserOutput: TypeAlias = "list[OutputteamFull]"
1143
+ GithubTeamsListInput = TypedDict(
1144
+ "GithubTeamsListInput",
1145
+ {
1146
+ "path": Required["GithubTeamsListInputPath"],
1147
+ "query": NotRequired["GithubTeamsListInputQuery"],
1148
+ },
1149
+ total=False,
1150
+ )
1151
+ GithubTeamsListInputPath = TypedDict(
1152
+ "GithubTeamsListInputPath", {"org": Required["str"]}, total=False
1153
+ )
1154
+ GithubTeamsListInputQuery = TypedDict(
1155
+ "GithubTeamsListInputQuery",
1156
+ {
1157
+ "per_page": NotRequired["int"],
1158
+ "page": NotRequired["int"],
1159
+ "team_type": NotRequired["Literal['all', 'enterprise', 'organization']"],
1160
+ },
1161
+ total=False,
1162
+ )
1163
+ GithubTeamsListMembersInOrgInput = TypedDict(
1164
+ "GithubTeamsListMembersInOrgInput",
1165
+ {
1166
+ "path": Required["GithubTeamsListMembersInOrgInputPath"],
1167
+ "query": NotRequired["GithubTeamsListMembersInOrgInputQuery"],
1168
+ },
1169
+ total=False,
1170
+ )
1171
+ GithubTeamsListMembersInOrgInputPath = TypedDict(
1172
+ "GithubTeamsListMembersInOrgInputPath",
1173
+ {"org": Required["str"], "team_slug": Required["str"]},
1174
+ total=False,
1175
+ )
1176
+ GithubTeamsListMembersInOrgInputQuery = TypedDict(
1177
+ "GithubTeamsListMembersInOrgInputQuery",
1178
+ {
1179
+ "role": NotRequired["Literal['member', 'maintainer', 'all']"],
1180
+ "per_page": NotRequired["int"],
1181
+ "page": NotRequired["int"],
1182
+ },
1183
+ total=False,
1184
+ )
1185
+ GithubTeamsListMembersInOrgOutput: TypeAlias = "list[OutputteamMember]"
1186
+ GithubTeamsListMembersLegacyInput = TypedDict(
1187
+ "GithubTeamsListMembersLegacyInput",
1188
+ {
1189
+ "path": Required["GithubTeamsListMembersLegacyInputPath"],
1190
+ "query": NotRequired["GithubTeamsListMembersLegacyInputQuery"],
1191
+ },
1192
+ total=False,
1193
+ )
1194
+ GithubTeamsListMembersLegacyInputPath = TypedDict(
1195
+ "GithubTeamsListMembersLegacyInputPath", {"team_id": Required["int"]}, total=False
1196
+ )
1197
+ GithubTeamsListMembersLegacyInputQuery = TypedDict(
1198
+ "GithubTeamsListMembersLegacyInputQuery",
1199
+ {
1200
+ "role": NotRequired["Literal['member', 'maintainer', 'all']"],
1201
+ "per_page": NotRequired["int"],
1202
+ "page": NotRequired["int"],
1203
+ },
1204
+ total=False,
1205
+ )
1206
+ GithubTeamsListMembersLegacyOutput: TypeAlias = "list[OutputteamMember]"
1207
+ GithubTeamsListOutput: TypeAlias = "list[Outputteam]"
1208
+ GithubTeamsListPendingInvitationsInOrgInput = TypedDict(
1209
+ "GithubTeamsListPendingInvitationsInOrgInput",
1210
+ {
1211
+ "path": Required["GithubTeamsListPendingInvitationsInOrgInputPath"],
1212
+ "query": NotRequired["GithubTeamsListPendingInvitationsInOrgInputQuery"],
1213
+ },
1214
+ total=False,
1215
+ )
1216
+ GithubTeamsListPendingInvitationsInOrgInputPath = TypedDict(
1217
+ "GithubTeamsListPendingInvitationsInOrgInputPath",
1218
+ {"org": Required["str"], "team_slug": Required["str"]},
1219
+ total=False,
1220
+ )
1221
+ GithubTeamsListPendingInvitationsInOrgInputQuery = TypedDict(
1222
+ "GithubTeamsListPendingInvitationsInOrgInputQuery",
1223
+ {"per_page": NotRequired["int"], "page": NotRequired["int"]},
1224
+ total=False,
1225
+ )
1226
+ GithubTeamsListPendingInvitationsInOrgOutput: TypeAlias = "list[OutputorganizationInvitation]"
1227
+ GithubTeamsListPendingInvitationsLegacyInput = TypedDict(
1228
+ "GithubTeamsListPendingInvitationsLegacyInput",
1229
+ {
1230
+ "path": Required["GithubTeamsListPendingInvitationsLegacyInputPath"],
1231
+ "query": NotRequired["GithubTeamsListPendingInvitationsLegacyInputQuery"],
1232
+ },
1233
+ total=False,
1234
+ )
1235
+ GithubTeamsListPendingInvitationsLegacyInputPath = TypedDict(
1236
+ "GithubTeamsListPendingInvitationsLegacyInputPath", {"team_id": Required["int"]}, total=False
1237
+ )
1238
+ GithubTeamsListPendingInvitationsLegacyInputQuery = TypedDict(
1239
+ "GithubTeamsListPendingInvitationsLegacyInputQuery",
1240
+ {"per_page": NotRequired["int"], "page": NotRequired["int"]},
1241
+ total=False,
1242
+ )
1243
+ GithubTeamsListPendingInvitationsLegacyOutput: TypeAlias = "list[OutputorganizationInvitation]"
1244
+ GithubTeamsListReposInOrgInput = TypedDict(
1245
+ "GithubTeamsListReposInOrgInput",
1246
+ {
1247
+ "path": Required["GithubTeamsListReposInOrgInputPath"],
1248
+ "query": NotRequired["GithubTeamsListReposInOrgInputQuery"],
1249
+ },
1250
+ total=False,
1251
+ )
1252
+ GithubTeamsListReposInOrgInputPath = TypedDict(
1253
+ "GithubTeamsListReposInOrgInputPath",
1254
+ {"org": Required["str"], "team_slug": Required["str"]},
1255
+ total=False,
1256
+ )
1257
+ GithubTeamsListReposInOrgInputQuery = TypedDict(
1258
+ "GithubTeamsListReposInOrgInputQuery",
1259
+ {"per_page": NotRequired["int"], "page": NotRequired["int"]},
1260
+ total=False,
1261
+ )
1262
+ GithubTeamsListReposInOrgOutput: TypeAlias = "list[OutputminimalRepository]"
1263
+ GithubTeamsListReposLegacyInput = TypedDict(
1264
+ "GithubTeamsListReposLegacyInput",
1265
+ {
1266
+ "path": Required["GithubTeamsListReposLegacyInputPath"],
1267
+ "query": NotRequired["GithubTeamsListReposLegacyInputQuery"],
1268
+ },
1269
+ total=False,
1270
+ )
1271
+ GithubTeamsListReposLegacyInputPath = TypedDict(
1272
+ "GithubTeamsListReposLegacyInputPath", {"team_id": Required["int"]}, total=False
1273
+ )
1274
+ GithubTeamsListReposLegacyInputQuery = TypedDict(
1275
+ "GithubTeamsListReposLegacyInputQuery",
1276
+ {"per_page": NotRequired["int"], "page": NotRequired["int"]},
1277
+ total=False,
1278
+ )
1279
+ GithubTeamsListReposLegacyOutput: TypeAlias = "list[OutputminimalRepository]"
1280
+ GithubTeamsRemoveMemberLegacyInput = TypedDict(
1281
+ "GithubTeamsRemoveMemberLegacyInput",
1282
+ {"path": Required["GithubTeamsRemoveMemberLegacyInputPath"]},
1283
+ total=False,
1284
+ )
1285
+ GithubTeamsRemoveMemberLegacyInputPath = TypedDict(
1286
+ "GithubTeamsRemoveMemberLegacyInputPath",
1287
+ {"team_id": Required["int"], "username": Required["str"]},
1288
+ total=False,
1289
+ )
1290
+ GithubTeamsRemoveMemberLegacyOutput: TypeAlias = "None"
1291
+ GithubTeamsRemoveMembershipForUserInOrgInput = TypedDict(
1292
+ "GithubTeamsRemoveMembershipForUserInOrgInput",
1293
+ {"path": Required["GithubTeamsRemoveMembershipForUserInOrgInputPath"]},
1294
+ total=False,
1295
+ )
1296
+ GithubTeamsRemoveMembershipForUserInOrgInputPath = TypedDict(
1297
+ "GithubTeamsRemoveMembershipForUserInOrgInputPath",
1298
+ {"org": Required["str"], "team_slug": Required["str"], "username": Required["str"]},
1299
+ total=False,
1300
+ )
1301
+ GithubTeamsRemoveMembershipForUserInOrgOutput: TypeAlias = "None"
1302
+ GithubTeamsRemoveMembershipForUserLegacyInput = TypedDict(
1303
+ "GithubTeamsRemoveMembershipForUserLegacyInput",
1304
+ {"path": Required["GithubTeamsRemoveMembershipForUserLegacyInputPath"]},
1305
+ total=False,
1306
+ )
1307
+ GithubTeamsRemoveMembershipForUserLegacyInputPath = TypedDict(
1308
+ "GithubTeamsRemoveMembershipForUserLegacyInputPath",
1309
+ {"team_id": Required["int"], "username": Required["str"]},
1310
+ total=False,
1311
+ )
1312
+ GithubTeamsRemoveMembershipForUserLegacyOutput: TypeAlias = "None"
1313
+ GithubTeamsRemoveRepoInOrgInput = TypedDict(
1314
+ "GithubTeamsRemoveRepoInOrgInput",
1315
+ {"path": Required["GithubTeamsRemoveRepoInOrgInputPath"]},
1316
+ total=False,
1317
+ )
1318
+ GithubTeamsRemoveRepoInOrgInputPath = TypedDict(
1319
+ "GithubTeamsRemoveRepoInOrgInputPath",
1320
+ {
1321
+ "org": Required["str"],
1322
+ "team_slug": Required["str"],
1323
+ "owner": Required["str"],
1324
+ "repo": Required["str"],
1325
+ },
1326
+ total=False,
1327
+ )
1328
+ GithubTeamsRemoveRepoInOrgOutput: TypeAlias = "None"
1329
+ GithubTeamsRemoveRepoLegacyInput = TypedDict(
1330
+ "GithubTeamsRemoveRepoLegacyInput",
1331
+ {"path": Required["GithubTeamsRemoveRepoLegacyInputPath"]},
1332
+ total=False,
1333
+ )
1334
+ GithubTeamsRemoveRepoLegacyInputPath = TypedDict(
1335
+ "GithubTeamsRemoveRepoLegacyInputPath",
1336
+ {"team_id": Required["int"], "owner": Required["str"], "repo": Required["str"]},
1337
+ total=False,
1338
+ )
1339
+ GithubTeamsRemoveRepoLegacyOutput: TypeAlias = "None"
1340
+ GithubTeamsUpdateInOrgInput = TypedDict(
1341
+ "GithubTeamsUpdateInOrgInput",
1342
+ {
1343
+ "path": Required["GithubTeamsUpdateInOrgInputPath"],
1344
+ "body": NotRequired["GithubTeamsUpdateInOrgInputBody"],
1345
+ },
1346
+ total=False,
1347
+ )
1348
+ GithubTeamsUpdateInOrgInputBody = TypedDict(
1349
+ "GithubTeamsUpdateInOrgInputBody",
1350
+ {
1351
+ "description": NotRequired["str"],
1352
+ "name": NotRequired["str"],
1353
+ "notification_setting": NotRequired[
1354
+ "Literal['notifications_enabled', 'notifications_disabled']"
1355
+ ],
1356
+ "parent_team_id": NotRequired["int | None"],
1357
+ "parent_team_slug": NotRequired["str | None"],
1358
+ "permission": NotRequired["Literal['pull', 'push', 'admin']"],
1359
+ "privacy": NotRequired["Literal['secret', 'closed']"],
1360
+ },
1361
+ total=False,
1362
+ )
1363
+ GithubTeamsUpdateInOrgInputPath = TypedDict(
1364
+ "GithubTeamsUpdateInOrgInputPath",
1365
+ {"org": Required["str"], "team_slug": Required["str"]},
1366
+ total=False,
1367
+ )
1368
+ GithubTeamsUpdateInOrgOutput: TypeAlias = "OutputteamFull"
1369
+ GithubTeamsUpdateLegacyInput = TypedDict(
1370
+ "GithubTeamsUpdateLegacyInput",
1371
+ {
1372
+ "path": Required["GithubTeamsUpdateLegacyInputPath"],
1373
+ "body": Required["GithubTeamsUpdateLegacyInputBody"],
1374
+ },
1375
+ total=False,
1376
+ )
1377
+ GithubTeamsUpdateLegacyInputBody = TypedDict(
1378
+ "GithubTeamsUpdateLegacyInputBody",
1379
+ {
1380
+ "description": NotRequired["str"],
1381
+ "name": Required["str"],
1382
+ "notification_setting": NotRequired[
1383
+ "Literal['notifications_enabled', 'notifications_disabled']"
1384
+ ],
1385
+ "parent_team_id": NotRequired["int | None"],
1386
+ "parent_team_slug": NotRequired["str | None"],
1387
+ "permission": NotRequired["Literal['pull', 'push', 'admin']"],
1388
+ "privacy": NotRequired["Literal['secret', 'closed']"],
1389
+ },
1390
+ total=False,
1391
+ )
1392
+ GithubTeamsUpdateLegacyInputPath = TypedDict(
1393
+ "GithubTeamsUpdateLegacyInputPath", {"team_id": Required["int"]}, total=False
1394
+ )
1395
+ GithubTeamsUpdateLegacyOutput: TypeAlias = "OutputteamFull"
1396
+ GithubUsersAddEmailForAuthenticatedUserInput = TypedDict(
1397
+ "GithubUsersAddEmailForAuthenticatedUserInput",
1398
+ {
1399
+ "body": NotRequired[
1400
+ "GithubUsersAddEmailForAuthenticatedUserInputBodyVariant0 | list[str] | str"
1401
+ ]
1402
+ },
1403
+ total=False,
1404
+ )
1405
+ GithubUsersAddEmailForAuthenticatedUserInputBodyVariant0 = TypedDict(
1406
+ "GithubUsersAddEmailForAuthenticatedUserInputBodyVariant0",
1407
+ {"emails": Required["list[str]"]},
1408
+ total=False,
1409
+ )
1410
+ GithubUsersAddEmailForAuthenticatedUserOutput: TypeAlias = "list[Outputemail]"
1411
+ GithubUsersAddSocialAccountForAuthenticatedUserInput = TypedDict(
1412
+ "GithubUsersAddSocialAccountForAuthenticatedUserInput",
1413
+ {"body": Required["GithubUsersAddSocialAccountForAuthenticatedUserInputBody"]},
1414
+ total=False,
1415
+ )
1416
+ GithubUsersAddSocialAccountForAuthenticatedUserInputBody = TypedDict(
1417
+ "GithubUsersAddSocialAccountForAuthenticatedUserInputBody",
1418
+ {"account_urls": Required["list[str]"]},
1419
+ total=False,
1420
+ )
1421
+ GithubUsersAddSocialAccountForAuthenticatedUserOutput: TypeAlias = "list[OutputsocialAccount]"
1422
+ GithubUsersBlockInput = TypedDict(
1423
+ "GithubUsersBlockInput", {"path": Required["GithubUsersBlockInputPath"]}, total=False
1424
+ )
1425
+ GithubUsersBlockInputPath = TypedDict(
1426
+ "GithubUsersBlockInputPath", {"username": Required["str"]}, total=False
1427
+ )
1428
+ GithubUsersBlockOutput: TypeAlias = "None"
1429
+ GithubUsersCheckBlockedInput = TypedDict(
1430
+ "GithubUsersCheckBlockedInput",
1431
+ {"path": Required["GithubUsersCheckBlockedInputPath"]},
1432
+ total=False,
1433
+ )
1434
+ GithubUsersCheckBlockedInputPath = TypedDict(
1435
+ "GithubUsersCheckBlockedInputPath", {"username": Required["str"]}, total=False
1436
+ )
1437
+ GithubUsersCheckBlockedOutput: TypeAlias = "None"
1438
+ GithubUsersCheckFollowingForUserInput = TypedDict(
1439
+ "GithubUsersCheckFollowingForUserInput",
1440
+ {"path": Required["GithubUsersCheckFollowingForUserInputPath"]},
1441
+ total=False,
1442
+ )
1443
+ GithubUsersCheckFollowingForUserInputPath = TypedDict(
1444
+ "GithubUsersCheckFollowingForUserInputPath",
1445
+ {"username": Required["str"], "target_user": Required["str"]},
1446
+ total=False,
1447
+ )
1448
+ GithubUsersCheckFollowingForUserOutput: TypeAlias = "None"
1449
+ GithubUsersCheckPersonIsFollowedByAuthenticatedInput = TypedDict(
1450
+ "GithubUsersCheckPersonIsFollowedByAuthenticatedInput",
1451
+ {"path": Required["GithubUsersCheckPersonIsFollowedByAuthenticatedInputPath"]},
1452
+ total=False,
1453
+ )
1454
+ GithubUsersCheckPersonIsFollowedByAuthenticatedInputPath = TypedDict(
1455
+ "GithubUsersCheckPersonIsFollowedByAuthenticatedInputPath",
1456
+ {"username": Required["str"]},
1457
+ total=False,
1458
+ )
1459
+ GithubUsersCheckPersonIsFollowedByAuthenticatedOutput: TypeAlias = "None"
1460
+ GithubUsersCreateGpgKeyForAuthenticatedUserInput = TypedDict(
1461
+ "GithubUsersCreateGpgKeyForAuthenticatedUserInput",
1462
+ {"body": Required["GithubUsersCreateGpgKeyForAuthenticatedUserInputBody"]},
1463
+ total=False,
1464
+ )
1465
+ GithubUsersCreateGpgKeyForAuthenticatedUserInputBody = TypedDict(
1466
+ "GithubUsersCreateGpgKeyForAuthenticatedUserInputBody",
1467
+ {"armored_public_key": Required["str"], "name": NotRequired["str"]},
1468
+ total=False,
1469
+ )
1470
+ GithubUsersCreateGpgKeyForAuthenticatedUserOutput: TypeAlias = "OutputgpgKey"
1471
+ GithubUsersCreateSshSigningKeyForAuthenticatedUserInput = TypedDict(
1472
+ "GithubUsersCreateSshSigningKeyForAuthenticatedUserInput",
1473
+ {"body": Required["GithubUsersCreateSshSigningKeyForAuthenticatedUserInputBody"]},
1474
+ total=False,
1475
+ )
1476
+ GithubUsersCreateSshSigningKeyForAuthenticatedUserInputBody = TypedDict(
1477
+ "GithubUsersCreateSshSigningKeyForAuthenticatedUserInputBody",
1478
+ {"key": Required["str"], "title": NotRequired["str"]},
1479
+ total=False,
1480
+ )
1481
+ GithubUsersCreateSshSigningKeyForAuthenticatedUserOutput: TypeAlias = "OutputsshSigningKey"
1482
+ GithubUsersDeleteAttestationsBulkInput = TypedDict(
1483
+ "GithubUsersDeleteAttestationsBulkInput",
1484
+ {"path": Required["GithubUsersDeleteAttestationsBulkInputPath"], "body": Required["Any"]},
1485
+ total=False,
1486
+ )
1487
+ GithubUsersDeleteAttestationsBulkInputPath = TypedDict(
1488
+ "GithubUsersDeleteAttestationsBulkInputPath", {"username": Required["str"]}, total=False
1489
+ )
1490
+ GithubUsersDeleteAttestationsBulkOutput: TypeAlias = "Any"
1491
+ GithubUsersDeleteAttestationsByIdInput = TypedDict(
1492
+ "GithubUsersDeleteAttestationsByIdInput",
1493
+ {"path": Required["GithubUsersDeleteAttestationsByIdInputPath"]},
1494
+ total=False,
1495
+ )
1496
+ GithubUsersDeleteAttestationsByIdInputPath = TypedDict(
1497
+ "GithubUsersDeleteAttestationsByIdInputPath",
1498
+ {"username": Required["str"], "attestation_id": Required["int"]},
1499
+ total=False,
1500
+ )
1501
+ GithubUsersDeleteAttestationsByIdOutput: TypeAlias = "None"
1502
+ GithubUsersDeleteAttestationsBySubjectDigestInput = TypedDict(
1503
+ "GithubUsersDeleteAttestationsBySubjectDigestInput",
1504
+ {"path": Required["GithubUsersDeleteAttestationsBySubjectDigestInputPath"]},
1505
+ total=False,
1506
+ )
1507
+ GithubUsersDeleteAttestationsBySubjectDigestInputPath = TypedDict(
1508
+ "GithubUsersDeleteAttestationsBySubjectDigestInputPath",
1509
+ {"username": Required["str"], "subject_digest": Required["str"]},
1510
+ total=False,
1511
+ )
1512
+ GithubUsersDeleteAttestationsBySubjectDigestOutput: TypeAlias = "None"
1513
+ GithubUsersDeleteEmailForAuthenticatedUserInput = TypedDict(
1514
+ "GithubUsersDeleteEmailForAuthenticatedUserInput",
1515
+ {
1516
+ "body": NotRequired[
1517
+ "GithubUsersDeleteEmailForAuthenticatedUserInputBodyVariant0 | list[str] | str"
1518
+ ]
1519
+ },
1520
+ total=False,
1521
+ )
1522
+ GithubUsersDeleteEmailForAuthenticatedUserInputBodyVariant0 = TypedDict(
1523
+ "GithubUsersDeleteEmailForAuthenticatedUserInputBodyVariant0",
1524
+ {"emails": Required["list[str]"]},
1525
+ total=False,
1526
+ )
1527
+ GithubUsersDeleteEmailForAuthenticatedUserOutput: TypeAlias = "None"
1528
+ GithubUsersDeleteGpgKeyForAuthenticatedUserInput = TypedDict(
1529
+ "GithubUsersDeleteGpgKeyForAuthenticatedUserInput",
1530
+ {"path": Required["GithubUsersDeleteGpgKeyForAuthenticatedUserInputPath"]},
1531
+ total=False,
1532
+ )
1533
+ GithubUsersDeleteGpgKeyForAuthenticatedUserInputPath = TypedDict(
1534
+ "GithubUsersDeleteGpgKeyForAuthenticatedUserInputPath",
1535
+ {"gpg_key_id": Required["int"]},
1536
+ total=False,
1537
+ )
1538
+ GithubUsersDeleteGpgKeyForAuthenticatedUserOutput: TypeAlias = "None"
1539
+ GithubUsersDeletePublicSshKeyForAuthenticatedUserInput = TypedDict(
1540
+ "GithubUsersDeletePublicSshKeyForAuthenticatedUserInput",
1541
+ {"path": Required["GithubUsersDeletePublicSshKeyForAuthenticatedUserInputPath"]},
1542
+ total=False,
1543
+ )
1544
+ GithubUsersDeletePublicSshKeyForAuthenticatedUserInputPath = TypedDict(
1545
+ "GithubUsersDeletePublicSshKeyForAuthenticatedUserInputPath",
1546
+ {"key_id": Required["int"]},
1547
+ total=False,
1548
+ )
1549
+ GithubUsersDeletePublicSshKeyForAuthenticatedUserOutput: TypeAlias = "None"
1550
+ GithubUsersDeleteSocialAccountForAuthenticatedUserInput = TypedDict(
1551
+ "GithubUsersDeleteSocialAccountForAuthenticatedUserInput",
1552
+ {"body": Required["GithubUsersDeleteSocialAccountForAuthenticatedUserInputBody"]},
1553
+ total=False,
1554
+ )
1555
+ GithubUsersDeleteSocialAccountForAuthenticatedUserInputBody = TypedDict(
1556
+ "GithubUsersDeleteSocialAccountForAuthenticatedUserInputBody",
1557
+ {"account_urls": Required["list[str]"]},
1558
+ total=False,
1559
+ )
1560
+ GithubUsersDeleteSocialAccountForAuthenticatedUserOutput: TypeAlias = "None"
1561
+ GithubUsersDeleteSshSigningKeyForAuthenticatedUserInput = TypedDict(
1562
+ "GithubUsersDeleteSshSigningKeyForAuthenticatedUserInput",
1563
+ {"path": Required["GithubUsersDeleteSshSigningKeyForAuthenticatedUserInputPath"]},
1564
+ total=False,
1565
+ )
1566
+ GithubUsersDeleteSshSigningKeyForAuthenticatedUserInputPath = TypedDict(
1567
+ "GithubUsersDeleteSshSigningKeyForAuthenticatedUserInputPath",
1568
+ {"ssh_signing_key_id": Required["int"]},
1569
+ total=False,
1570
+ )
1571
+ GithubUsersDeleteSshSigningKeyForAuthenticatedUserOutput: TypeAlias = "None"
1572
+ GithubUsersFollowInput = TypedDict(
1573
+ "GithubUsersFollowInput", {"path": Required["GithubUsersFollowInputPath"]}, total=False
1574
+ )
1575
+ GithubUsersFollowInputPath = TypedDict(
1576
+ "GithubUsersFollowInputPath", {"username": Required["str"]}, total=False
1577
+ )
1578
+ GithubUsersFollowOutput: TypeAlias = "None"
1579
+ GithubUsersGetAuthenticatedInput = TypedDict("GithubUsersGetAuthenticatedInput", {}, total=False)
1580
+ GithubUsersGetAuthenticatedOutput: TypeAlias = "OutputprivateUser | OutputpublicUser"
1581
+ GithubUsersGetByIdInput = TypedDict(
1582
+ "GithubUsersGetByIdInput", {"path": Required["GithubUsersGetByIdInputPath"]}, total=False
1583
+ )
1584
+ GithubUsersGetByIdInputPath = TypedDict(
1585
+ "GithubUsersGetByIdInputPath", {"account_id": Required["int"]}, total=False
1586
+ )
1587
+ GithubUsersGetByIdOutput: TypeAlias = "OutputprivateUser | OutputpublicUser"
1588
+ GithubUsersGetByUsernameInput = TypedDict(
1589
+ "GithubUsersGetByUsernameInput",
1590
+ {"path": Required["GithubUsersGetByUsernameInputPath"]},
1591
+ total=False,
1592
+ )
1593
+ GithubUsersGetByUsernameInputPath = TypedDict(
1594
+ "GithubUsersGetByUsernameInputPath", {"username": Required["str"]}, total=False
1595
+ )
1596
+ GithubUsersGetByUsernameOutput: TypeAlias = "OutputprivateUser | OutputpublicUser"
1597
+ GithubUsersGetContextForUserInput = TypedDict(
1598
+ "GithubUsersGetContextForUserInput",
1599
+ {
1600
+ "path": Required["GithubUsersGetContextForUserInputPath"],
1601
+ "query": NotRequired["GithubUsersGetContextForUserInputQuery"],
1602
+ },
1603
+ total=False,
1604
+ )
1605
+ GithubUsersGetContextForUserInputPath = TypedDict(
1606
+ "GithubUsersGetContextForUserInputPath", {"username": Required["str"]}, total=False
1607
+ )
1608
+ GithubUsersGetContextForUserInputQuery = TypedDict(
1609
+ "GithubUsersGetContextForUserInputQuery",
1610
+ {
1611
+ "subject_type": NotRequired[
1612
+ "Literal['organization', 'repository', 'issue', 'pull_request']"
1613
+ ],
1614
+ "subject_id": NotRequired["str"],
1615
+ },
1616
+ total=False,
1617
+ )
1618
+ GithubUsersGetContextForUserOutput: TypeAlias = "Outputhovercard"
1619
+ GithubUsersGetGpgKeyForAuthenticatedUserInput = TypedDict(
1620
+ "GithubUsersGetGpgKeyForAuthenticatedUserInput",
1621
+ {"path": Required["GithubUsersGetGpgKeyForAuthenticatedUserInputPath"]},
1622
+ total=False,
1623
+ )
1624
+ GithubUsersGetGpgKeyForAuthenticatedUserInputPath = TypedDict(
1625
+ "GithubUsersGetGpgKeyForAuthenticatedUserInputPath",
1626
+ {"gpg_key_id": Required["int"]},
1627
+ total=False,
1628
+ )
1629
+ GithubUsersGetGpgKeyForAuthenticatedUserOutput: TypeAlias = "OutputgpgKey"
1630
+ GithubUsersGetPublicSshKeyForAuthenticatedUserInput = TypedDict(
1631
+ "GithubUsersGetPublicSshKeyForAuthenticatedUserInput",
1632
+ {"path": Required["GithubUsersGetPublicSshKeyForAuthenticatedUserInputPath"]},
1633
+ total=False,
1634
+ )
1635
+ GithubUsersGetPublicSshKeyForAuthenticatedUserInputPath = TypedDict(
1636
+ "GithubUsersGetPublicSshKeyForAuthenticatedUserInputPath",
1637
+ {"key_id": Required["int"]},
1638
+ total=False,
1639
+ )
1640
+ GithubUsersGetPublicSshKeyForAuthenticatedUserOutput: TypeAlias = "Outputkey"
1641
+ GithubUsersGetSshSigningKeyForAuthenticatedUserInput = TypedDict(
1642
+ "GithubUsersGetSshSigningKeyForAuthenticatedUserInput",
1643
+ {"path": Required["GithubUsersGetSshSigningKeyForAuthenticatedUserInputPath"]},
1644
+ total=False,
1645
+ )
1646
+ GithubUsersGetSshSigningKeyForAuthenticatedUserInputPath = TypedDict(
1647
+ "GithubUsersGetSshSigningKeyForAuthenticatedUserInputPath",
1648
+ {"ssh_signing_key_id": Required["int"]},
1649
+ total=False,
1650
+ )
1651
+ GithubUsersGetSshSigningKeyForAuthenticatedUserOutput: TypeAlias = "OutputsshSigningKey"
1652
+ GithubUsersListAttestationsBulkInput = TypedDict(
1653
+ "GithubUsersListAttestationsBulkInput",
1654
+ {
1655
+ "path": Required["GithubUsersListAttestationsBulkInputPath"],
1656
+ "query": NotRequired["GithubUsersListAttestationsBulkInputQuery"],
1657
+ "body": Required["GithubUsersListAttestationsBulkInputBody"],
1658
+ },
1659
+ total=False,
1660
+ )
1661
+ GithubUsersListAttestationsBulkInputBody = TypedDict(
1662
+ "GithubUsersListAttestationsBulkInputBody",
1663
+ {"predicate_type": NotRequired["str"], "subject_digests": Required["list[str]"]},
1664
+ total=False,
1665
+ )
1666
+ GithubUsersListAttestationsBulkInputPath = TypedDict(
1667
+ "GithubUsersListAttestationsBulkInputPath", {"username": Required["str"]}, total=False
1668
+ )
1669
+ GithubUsersListAttestationsBulkInputQuery = TypedDict(
1670
+ "GithubUsersListAttestationsBulkInputQuery",
1671
+ {"per_page": NotRequired["int"], "before": NotRequired["str"], "after": NotRequired["str"]},
1672
+ total=False,
1673
+ )
1674
+ GithubUsersListAttestationsBulkOutput = TypedDict(
1675
+ "GithubUsersListAttestationsBulkOutput",
1676
+ {
1677
+ "attestations_subject_digests": NotRequired[
1678
+ "dict[str, list[GithubUsersListAttestationsBulkOutputAttestationsSubjectDigestsValueVariant0Item] | None]"
1679
+ ],
1680
+ "page_info": NotRequired["GithubUsersListAttestationsBulkOutputPageInfo"],
1681
+ },
1682
+ total=False,
1683
+ )
1684
+ GithubUsersListAttestationsBulkOutputAttestationsSubjectDigestsValueVariant0Item = TypedDict(
1685
+ "GithubUsersListAttestationsBulkOutputAttestationsSubjectDigestsValueVariant0Item",
1686
+ {"bundle_url": NotRequired["str"], "repository_id": NotRequired["int | str"]},
1687
+ total=False,
1688
+ )
1689
+ GithubUsersListAttestationsBulkOutputPageInfo = TypedDict(
1690
+ "GithubUsersListAttestationsBulkOutputPageInfo",
1691
+ {
1692
+ "has_next": NotRequired["bool"],
1693
+ "has_previous": NotRequired["bool"],
1694
+ "next": NotRequired["str"],
1695
+ "previous": NotRequired["str"],
1696
+ },
1697
+ total=False,
1698
+ )
1699
+ GithubUsersListAttestationsInput = TypedDict(
1700
+ "GithubUsersListAttestationsInput",
1701
+ {
1702
+ "path": Required["GithubUsersListAttestationsInputPath"],
1703
+ "query": NotRequired["GithubUsersListAttestationsInputQuery"],
1704
+ },
1705
+ total=False,
1706
+ )
1707
+ GithubUsersListAttestationsInputPath = TypedDict(
1708
+ "GithubUsersListAttestationsInputPath",
1709
+ {"username": Required["str"], "subject_digest": Required["str"]},
1710
+ total=False,
1711
+ )
1712
+ GithubUsersListAttestationsInputQuery = TypedDict(
1713
+ "GithubUsersListAttestationsInputQuery",
1714
+ {
1715
+ "per_page": NotRequired["int"],
1716
+ "before": NotRequired["str"],
1717
+ "after": NotRequired["str"],
1718
+ "predicate_type": NotRequired["str"],
1719
+ },
1720
+ total=False,
1721
+ )
1722
+ GithubUsersListAttestationsOutput: TypeAlias = (
1723
+ "Union[Union[GithubUsersListAttestationsOutputVariant0Variant0, OutputemptyObject], None]"
1724
+ )
1725
+ GithubUsersListAttestationsOutputVariant0Variant0 = TypedDict(
1726
+ "GithubUsersListAttestationsOutputVariant0Variant0",
1727
+ {
1728
+ "attestations": NotRequired[
1729
+ "list[GithubUsersListAttestationsOutputVariant0Variant0AttestationsItem]"
1730
+ ]
1731
+ },
1732
+ total=False,
1733
+ )
1734
+ GithubUsersListAttestationsOutputVariant0Variant0AttestationsItem = TypedDict(
1735
+ "GithubUsersListAttestationsOutputVariant0Variant0AttestationsItem",
1736
+ {
1737
+ "bundle_url": NotRequired["str"],
1738
+ "initiator": NotRequired["str"],
1739
+ "repository_id": NotRequired["int | str"],
1740
+ },
1741
+ total=False,
1742
+ )
1743
+ GithubUsersListBlockedByAuthenticatedUserInput = TypedDict(
1744
+ "GithubUsersListBlockedByAuthenticatedUserInput",
1745
+ {"query": NotRequired["GithubUsersListBlockedByAuthenticatedUserInputQuery"]},
1746
+ total=False,
1747
+ )
1748
+ GithubUsersListBlockedByAuthenticatedUserInputQuery = TypedDict(
1749
+ "GithubUsersListBlockedByAuthenticatedUserInputQuery",
1750
+ {"per_page": NotRequired["int"], "page": NotRequired["int"]},
1751
+ total=False,
1752
+ )
1753
+ GithubUsersListBlockedByAuthenticatedUserOutput: TypeAlias = "list[OutputsimpleUser]"
1754
+ GithubUsersListEmailsForAuthenticatedUserInput = TypedDict(
1755
+ "GithubUsersListEmailsForAuthenticatedUserInput",
1756
+ {"query": NotRequired["GithubUsersListEmailsForAuthenticatedUserInputQuery"]},
1757
+ total=False,
1758
+ )
1759
+ GithubUsersListEmailsForAuthenticatedUserInputQuery = TypedDict(
1760
+ "GithubUsersListEmailsForAuthenticatedUserInputQuery",
1761
+ {"per_page": NotRequired["int"], "page": NotRequired["int"]},
1762
+ total=False,
1763
+ )
1764
+ GithubUsersListEmailsForAuthenticatedUserOutput: TypeAlias = "list[Outputemail]"
1765
+ GithubUsersListFollowedByAuthenticatedUserInput = TypedDict(
1766
+ "GithubUsersListFollowedByAuthenticatedUserInput",
1767
+ {"query": NotRequired["GithubUsersListFollowedByAuthenticatedUserInputQuery"]},
1768
+ total=False,
1769
+ )
1770
+ GithubUsersListFollowedByAuthenticatedUserInputQuery = TypedDict(
1771
+ "GithubUsersListFollowedByAuthenticatedUserInputQuery",
1772
+ {"per_page": NotRequired["int"], "page": NotRequired["int"]},
1773
+ total=False,
1774
+ )
1775
+ GithubUsersListFollowedByAuthenticatedUserOutput: TypeAlias = "list[OutputsimpleUser]"
1776
+ GithubUsersListFollowersForAuthenticatedUserInput = TypedDict(
1777
+ "GithubUsersListFollowersForAuthenticatedUserInput",
1778
+ {"query": NotRequired["GithubUsersListFollowersForAuthenticatedUserInputQuery"]},
1779
+ total=False,
1780
+ )
1781
+ GithubUsersListFollowersForAuthenticatedUserInputQuery = TypedDict(
1782
+ "GithubUsersListFollowersForAuthenticatedUserInputQuery",
1783
+ {"per_page": NotRequired["int"], "page": NotRequired["int"]},
1784
+ total=False,
1785
+ )
1786
+ GithubUsersListFollowersForAuthenticatedUserOutput: TypeAlias = "list[OutputsimpleUser]"
1787
+ GithubUsersListFollowersForUserInput = TypedDict(
1788
+ "GithubUsersListFollowersForUserInput",
1789
+ {
1790
+ "path": Required["GithubUsersListFollowersForUserInputPath"],
1791
+ "query": NotRequired["GithubUsersListFollowersForUserInputQuery"],
1792
+ },
1793
+ total=False,
1794
+ )
1795
+ GithubUsersListFollowersForUserInputPath = TypedDict(
1796
+ "GithubUsersListFollowersForUserInputPath", {"username": Required["str"]}, total=False
1797
+ )
1798
+ GithubUsersListFollowersForUserInputQuery = TypedDict(
1799
+ "GithubUsersListFollowersForUserInputQuery",
1800
+ {"per_page": NotRequired["int"], "page": NotRequired["int"]},
1801
+ total=False,
1802
+ )
1803
+ GithubUsersListFollowersForUserOutput: TypeAlias = "list[OutputsimpleUser]"
1804
+ GithubUsersListFollowingForUserInput = TypedDict(
1805
+ "GithubUsersListFollowingForUserInput",
1806
+ {
1807
+ "path": Required["GithubUsersListFollowingForUserInputPath"],
1808
+ "query": NotRequired["GithubUsersListFollowingForUserInputQuery"],
1809
+ },
1810
+ total=False,
1811
+ )
1812
+ GithubUsersListFollowingForUserInputPath = TypedDict(
1813
+ "GithubUsersListFollowingForUserInputPath", {"username": Required["str"]}, total=False
1814
+ )
1815
+ GithubUsersListFollowingForUserInputQuery = TypedDict(
1816
+ "GithubUsersListFollowingForUserInputQuery",
1817
+ {"per_page": NotRequired["int"], "page": NotRequired["int"]},
1818
+ total=False,
1819
+ )
1820
+ GithubUsersListFollowingForUserOutput: TypeAlias = "list[OutputsimpleUser]"
1821
+ GithubUsersListGpgKeysForAuthenticatedUserInput = TypedDict(
1822
+ "GithubUsersListGpgKeysForAuthenticatedUserInput",
1823
+ {"query": NotRequired["GithubUsersListGpgKeysForAuthenticatedUserInputQuery"]},
1824
+ total=False,
1825
+ )
1826
+ GithubUsersListGpgKeysForAuthenticatedUserInputQuery = TypedDict(
1827
+ "GithubUsersListGpgKeysForAuthenticatedUserInputQuery",
1828
+ {"per_page": NotRequired["int"], "page": NotRequired["int"]},
1829
+ total=False,
1830
+ )
1831
+ GithubUsersListGpgKeysForAuthenticatedUserOutput: TypeAlias = "list[OutputgpgKey]"
1832
+ GithubUsersListGpgKeysForUserInput = TypedDict(
1833
+ "GithubUsersListGpgKeysForUserInput",
1834
+ {
1835
+ "path": Required["GithubUsersListGpgKeysForUserInputPath"],
1836
+ "query": NotRequired["GithubUsersListGpgKeysForUserInputQuery"],
1837
+ },
1838
+ total=False,
1839
+ )
1840
+ GithubUsersListGpgKeysForUserInputPath = TypedDict(
1841
+ "GithubUsersListGpgKeysForUserInputPath", {"username": Required["str"]}, total=False
1842
+ )
1843
+ GithubUsersListGpgKeysForUserInputQuery = TypedDict(
1844
+ "GithubUsersListGpgKeysForUserInputQuery",
1845
+ {"per_page": NotRequired["int"], "page": NotRequired["int"]},
1846
+ total=False,
1847
+ )
1848
+ GithubUsersListGpgKeysForUserOutput: TypeAlias = "list[OutputgpgKey]"
1849
+ GithubUsersListInput = TypedDict(
1850
+ "GithubUsersListInput", {"query": NotRequired["GithubUsersListInputQuery"]}, total=False
1851
+ )
1852
+ GithubUsersListInputQuery = TypedDict(
1853
+ "GithubUsersListInputQuery",
1854
+ {"since": NotRequired["int"], "per_page": NotRequired["int"]},
1855
+ total=False,
1856
+ )
1857
+ GithubUsersListOutput: TypeAlias = "list[OutputsimpleUser]"
1858
+ GithubUsersListPublicEmailsForAuthenticatedUserInput = TypedDict(
1859
+ "GithubUsersListPublicEmailsForAuthenticatedUserInput",
1860
+ {"query": NotRequired["GithubUsersListPublicEmailsForAuthenticatedUserInputQuery"]},
1861
+ total=False,
1862
+ )
1863
+ GithubUsersListPublicEmailsForAuthenticatedUserInputQuery = TypedDict(
1864
+ "GithubUsersListPublicEmailsForAuthenticatedUserInputQuery",
1865
+ {"per_page": NotRequired["int"], "page": NotRequired["int"]},
1866
+ total=False,
1867
+ )
1868
+ GithubUsersListPublicEmailsForAuthenticatedUserOutput: TypeAlias = "list[Outputemail]"
1869
+ GithubUsersListPublicKeysForUserInput = TypedDict(
1870
+ "GithubUsersListPublicKeysForUserInput",
1871
+ {
1872
+ "path": Required["GithubUsersListPublicKeysForUserInputPath"],
1873
+ "query": NotRequired["GithubUsersListPublicKeysForUserInputQuery"],
1874
+ },
1875
+ total=False,
1876
+ )
1877
+ GithubUsersListPublicKeysForUserInputPath = TypedDict(
1878
+ "GithubUsersListPublicKeysForUserInputPath", {"username": Required["str"]}, total=False
1879
+ )
1880
+ GithubUsersListPublicKeysForUserInputQuery = TypedDict(
1881
+ "GithubUsersListPublicKeysForUserInputQuery",
1882
+ {"per_page": NotRequired["int"], "page": NotRequired["int"]},
1883
+ total=False,
1884
+ )
1885
+ GithubUsersListPublicKeysForUserOutput: TypeAlias = "list[OutputkeySimple]"
1886
+ GithubUsersListPublicSshKeysForAuthenticatedUserInput = TypedDict(
1887
+ "GithubUsersListPublicSshKeysForAuthenticatedUserInput",
1888
+ {"query": NotRequired["GithubUsersListPublicSshKeysForAuthenticatedUserInputQuery"]},
1889
+ total=False,
1890
+ )
1891
+ GithubUsersListPublicSshKeysForAuthenticatedUserInputQuery = TypedDict(
1892
+ "GithubUsersListPublicSshKeysForAuthenticatedUserInputQuery",
1893
+ {"per_page": NotRequired["int"], "page": NotRequired["int"]},
1894
+ total=False,
1895
+ )
1896
+ GithubUsersListPublicSshKeysForAuthenticatedUserOutput: TypeAlias = "list[Outputkey]"
1897
+ GithubUsersListSocialAccountsForAuthenticatedUserInput = TypedDict(
1898
+ "GithubUsersListSocialAccountsForAuthenticatedUserInput",
1899
+ {"query": NotRequired["GithubUsersListSocialAccountsForAuthenticatedUserInputQuery"]},
1900
+ total=False,
1901
+ )
1902
+ GithubUsersListSocialAccountsForAuthenticatedUserInputQuery = TypedDict(
1903
+ "GithubUsersListSocialAccountsForAuthenticatedUserInputQuery",
1904
+ {"per_page": NotRequired["int"], "page": NotRequired["int"]},
1905
+ total=False,
1906
+ )
1907
+ GithubUsersListSocialAccountsForAuthenticatedUserOutput: TypeAlias = "list[OutputsocialAccount]"
1908
+ GithubUsersListSocialAccountsForUserInput = TypedDict(
1909
+ "GithubUsersListSocialAccountsForUserInput",
1910
+ {
1911
+ "path": Required["GithubUsersListSocialAccountsForUserInputPath"],
1912
+ "query": NotRequired["GithubUsersListSocialAccountsForUserInputQuery"],
1913
+ },
1914
+ total=False,
1915
+ )
1916
+ GithubUsersListSocialAccountsForUserInputPath = TypedDict(
1917
+ "GithubUsersListSocialAccountsForUserInputPath", {"username": Required["str"]}, total=False
1918
+ )
1919
+ GithubUsersListSocialAccountsForUserInputQuery = TypedDict(
1920
+ "GithubUsersListSocialAccountsForUserInputQuery",
1921
+ {"per_page": NotRequired["int"], "page": NotRequired["int"]},
1922
+ total=False,
1923
+ )
1924
+ GithubUsersListSocialAccountsForUserOutput: TypeAlias = "list[OutputsocialAccount]"
1925
+ GithubUsersListSshSigningKeysForAuthenticatedUserInput = TypedDict(
1926
+ "GithubUsersListSshSigningKeysForAuthenticatedUserInput",
1927
+ {"query": NotRequired["GithubUsersListSshSigningKeysForAuthenticatedUserInputQuery"]},
1928
+ total=False,
1929
+ )
1930
+ GithubUsersListSshSigningKeysForAuthenticatedUserInputQuery = TypedDict(
1931
+ "GithubUsersListSshSigningKeysForAuthenticatedUserInputQuery",
1932
+ {"per_page": NotRequired["int"], "page": NotRequired["int"]},
1933
+ total=False,
1934
+ )
1935
+ GithubUsersListSshSigningKeysForAuthenticatedUserOutput: TypeAlias = "list[OutputsshSigningKey]"
1936
+ GithubUsersListSshSigningKeysForUserInput = TypedDict(
1937
+ "GithubUsersListSshSigningKeysForUserInput",
1938
+ {
1939
+ "path": Required["GithubUsersListSshSigningKeysForUserInputPath"],
1940
+ "query": NotRequired["GithubUsersListSshSigningKeysForUserInputQuery"],
1941
+ },
1942
+ total=False,
1943
+ )
1944
+ GithubUsersListSshSigningKeysForUserInputPath = TypedDict(
1945
+ "GithubUsersListSshSigningKeysForUserInputPath", {"username": Required["str"]}, total=False
1946
+ )
1947
+ GithubUsersListSshSigningKeysForUserInputQuery = TypedDict(
1948
+ "GithubUsersListSshSigningKeysForUserInputQuery",
1949
+ {"per_page": NotRequired["int"], "page": NotRequired["int"]},
1950
+ total=False,
1951
+ )
1952
+ GithubUsersListSshSigningKeysForUserOutput: TypeAlias = "list[OutputsshSigningKey]"
1953
+ GithubUsersSetPrimaryEmailVisibilityForAuthenticatedUserInput = TypedDict(
1954
+ "GithubUsersSetPrimaryEmailVisibilityForAuthenticatedUserInput",
1955
+ {"body": Required["GithubUsersSetPrimaryEmailVisibilityForAuthenticatedUserInputBody"]},
1956
+ total=False,
1957
+ )
1958
+ GithubUsersSetPrimaryEmailVisibilityForAuthenticatedUserInputBody = TypedDict(
1959
+ "GithubUsersSetPrimaryEmailVisibilityForAuthenticatedUserInputBody",
1960
+ {"visibility": Required["Literal['public', 'private']"]},
1961
+ total=False,
1962
+ )
1963
+ GithubUsersSetPrimaryEmailVisibilityForAuthenticatedUserOutput: TypeAlias = "list[Outputemail]"
1964
+ GithubUsersUnblockInput = TypedDict(
1965
+ "GithubUsersUnblockInput", {"path": Required["GithubUsersUnblockInputPath"]}, total=False
1966
+ )
1967
+ GithubUsersUnblockInputPath = TypedDict(
1968
+ "GithubUsersUnblockInputPath", {"username": Required["str"]}, total=False
1969
+ )
1970
+ GithubUsersUnblockOutput: TypeAlias = "None"
1971
+ GithubUsersUnfollowInput = TypedDict(
1972
+ "GithubUsersUnfollowInput", {"path": Required["GithubUsersUnfollowInputPath"]}, total=False
1973
+ )
1974
+ GithubUsersUnfollowInputPath = TypedDict(
1975
+ "GithubUsersUnfollowInputPath", {"username": Required["str"]}, total=False
1976
+ )
1977
+ GithubUsersUnfollowOutput: TypeAlias = "None"
1978
+ GithubUsersUpdateAuthenticatedInput = TypedDict(
1979
+ "GithubUsersUpdateAuthenticatedInput",
1980
+ {"body": NotRequired["GithubUsersUpdateAuthenticatedInputBody"]},
1981
+ total=False,
1982
+ )
1983
+ GithubUsersUpdateAuthenticatedInputBody = TypedDict(
1984
+ "GithubUsersUpdateAuthenticatedInputBody",
1985
+ {
1986
+ "bio": NotRequired["str"],
1987
+ "blog": NotRequired["str"],
1988
+ "company": NotRequired["str"],
1989
+ "email": NotRequired["str"],
1990
+ "hireable": NotRequired["bool"],
1991
+ "location": NotRequired["str"],
1992
+ "name": NotRequired["str"],
1993
+ "twitter_username": NotRequired["str | None"],
1994
+ },
1995
+ total=False,
1996
+ )
1997
+ GithubUsersUpdateAuthenticatedOutput: TypeAlias = "OutputprivateUser"
1998
+ GitignoreTemplate = TypedDict(
1999
+ "GitignoreTemplate", {"name": Required["str"], "source": Required["str"]}, total=False
2000
+ )
2001
+ GlobalAdvisory = TypedDict(
2002
+ "GlobalAdvisory",
2003
+ {
2004
+ "credits": Required["list[GlobalAdvisoryCreditsVariant0Item] | None"],
2005
+ "cve_id": Required["str | None"],
2006
+ "cvss_severities": NotRequired["CvssSeverities"],
2007
+ "cwes": Required["list[GlobalAdvisoryCwesVariant0Item] | None"],
2008
+ "description": Required["str | None"],
2009
+ "epss": NotRequired["SecurityAdvisoryEpss"],
2010
+ "ghsa_id": Required["str"],
2011
+ "github_reviewed_at": Required["str | None"],
2012
+ "html_url": Required["str"],
2013
+ "identifiers": Required["list[GlobalAdvisoryIdentifiersVariant0Item] | None"],
2014
+ "nvd_published_at": Required["str | None"],
2015
+ "published_at": Required["str"],
2016
+ "references": Required["list[str] | None"],
2017
+ "repository_advisory_url": Required["str | None"],
2018
+ "severity": Required["Literal['critical', 'high', 'medium', 'low', 'unknown']"],
2019
+ "source_code_location": Required["str | None"],
2020
+ "summary": Required["str"],
2021
+ "type": Required["Literal['reviewed', 'unreviewed', 'malware']"],
2022
+ "updated_at": Required["str"],
2023
+ "url": Required["str"],
2024
+ "vulnerabilities": Required["list[Vulnerability] | None"],
2025
+ "withdrawn_at": Required["str | None"],
2026
+ },
2027
+ total=False,
2028
+ )
2029
+ GlobalAdvisoryCreditsVariant0Item = TypedDict(
2030
+ "GlobalAdvisoryCreditsVariant0Item",
2031
+ {"type": Required["SecurityAdvisoryCreditTypes"], "user": Required["SimpleUser"]},
2032
+ total=False,
2033
+ )
2034
+ GlobalAdvisoryCwesVariant0Item = TypedDict(
2035
+ "GlobalAdvisoryCwesVariant0Item",
2036
+ {"cwe_id": Required["str"], "name": Required["str"]},
2037
+ total=False,
2038
+ )
2039
+ GlobalAdvisoryIdentifiersVariant0Item = TypedDict(
2040
+ "GlobalAdvisoryIdentifiersVariant0Item",
2041
+ {"type": Required["Literal['CVE', 'GHSA']"], "value": Required["str"]},
2042
+ total=False,
2043
+ )
2044
+ GollumEvent = TypedDict(
2045
+ "GollumEvent", {"pages": Required["list[GollumEventPagesItem]"]}, total=False
2046
+ )