alter-sdk-github 0.2.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- alter_sdk_github/__init__.py +6 -0
- alter_sdk_github/_github_models_00.py +3911 -0
- alter_sdk_github/_github_models_01.py +2377 -0
- alter_sdk_github/_github_models_02.py +2154 -0
- alter_sdk_github/_github_models_03.py +4097 -0
- alter_sdk_github/_github_models_04.py +2584 -0
- alter_sdk_github/_github_models_05.py +2307 -0
- alter_sdk_github/_github_models_06.py +2041 -0
- alter_sdk_github/_github_models_07.py +2140 -0
- alter_sdk_github/_github_models_08.py +2048 -0
- alter_sdk_github/_github_models_09.py +2342 -0
- alter_sdk_github/_github_models_10.py +2023 -0
- alter_sdk_github/_github_models_11.py +2183 -0
- alter_sdk_github/_github_models_12.py +2046 -0
- alter_sdk_github/_github_models_13.py +4726 -0
- alter_sdk_github/_github_models_14.py +5046 -0
- alter_sdk_github/_github_models_15.py +4540 -0
- alter_sdk_github/_github_models_16.py +4488 -0
- alter_sdk_github/_github_models_17.py +6756 -0
- alter_sdk_github/_github_models_18.py +7814 -0
- alter_sdk_github/_github_models_19.py +8694 -0
- alter_sdk_github/_github_models_20.py +9050 -0
- alter_sdk_github/_github_models_21.py +7384 -0
- alter_sdk_github/_github_models_22.py +1846 -0
- alter_sdk_github/client.py +45543 -0
- alter_sdk_github/contracts.py +23 -0
- alter_sdk_github/py.typed +0 -0
- alter_sdk_github/runtime.py +135 -0
- alter_sdk_github-0.2.1.dist-info/METADATA +64 -0
- alter_sdk_github-0.2.1.dist-info/RECORD +32 -0
- alter_sdk_github-0.2.1.dist-info/WHEEL +4 -0
- alter_sdk_github-0.2.1.dist-info/licenses/LICENSE +21 -0
|
@@ -0,0 +1,3911 @@
|
|
|
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, Literal, NotRequired, Required, TypedDict, TypeAlias, Union
|
|
6
|
+
|
|
7
|
+
if TYPE_CHECKING:
|
|
8
|
+
from alter_sdk_github._github_models_01 import EnabledRepositories
|
|
9
|
+
from alter_sdk_github._github_models_01 import EnterpriseTeam
|
|
10
|
+
from alter_sdk_github._github_models_01 import FullRepository
|
|
11
|
+
from alter_sdk_github._github_models_13 import Integration
|
|
12
|
+
from alter_sdk_github._github_models_13 import IssueType
|
|
13
|
+
from alter_sdk_github._github_models_13 import Label
|
|
14
|
+
from alter_sdk_github._github_models_13 import Metadata
|
|
15
|
+
from alter_sdk_github._github_models_13 import MinimalRepository
|
|
16
|
+
from alter_sdk_github._github_models_13 import NullableActionsHostedRunnerPoolImage
|
|
17
|
+
from alter_sdk_github._github_models_13 import NullableCodeOfConductSimple
|
|
18
|
+
from alter_sdk_github._github_models_13 import NullableCodespaceMachine
|
|
19
|
+
from alter_sdk_github._github_models_13 import NullableCommunityHealthFile
|
|
20
|
+
from alter_sdk_github._github_models_13 import NullableGitUser
|
|
21
|
+
from alter_sdk_github._github_models_13 import NullableIntegration
|
|
22
|
+
from alter_sdk_github._github_models_13 import NullableIssueEventIntent
|
|
23
|
+
from alter_sdk_github._github_models_13 import NullableIssueReference
|
|
24
|
+
from alter_sdk_github._github_models_13 import NullableLicenseSimple
|
|
25
|
+
from alter_sdk_github._github_models_13 import NullableOrganizationSimple
|
|
26
|
+
from alter_sdk_github._github_models_13 import NullableScopedInstallation
|
|
27
|
+
from alter_sdk_github._github_models_13 import NullableSimpleRepository
|
|
28
|
+
from alter_sdk_github._github_models_13 import NullableSimpleUser
|
|
29
|
+
from alter_sdk_github._github_models_13 import OrganizationSimple
|
|
30
|
+
from alter_sdk_github._github_models_16 import ProtectedBranchAdminEnforced
|
|
31
|
+
from alter_sdk_github._github_models_16 import ProtectedBranchPullRequestReview
|
|
32
|
+
from alter_sdk_github._github_models_16 import ProtectedBranchRequiredStatusCheck
|
|
33
|
+
from alter_sdk_github._github_models_16 import PublicIp
|
|
34
|
+
from alter_sdk_github._github_models_16 import PullRequestMinimal
|
|
35
|
+
from alter_sdk_github._github_models_16 import PullRequestSimple
|
|
36
|
+
from alter_sdk_github._github_models_16 import ReactionRollup
|
|
37
|
+
from alter_sdk_github._github_models_16 import Repository
|
|
38
|
+
from alter_sdk_github._github_models_16 import RepositoryRuleEnforcement
|
|
39
|
+
from alter_sdk_github._github_models_16 import RepositoryRulesetConditionsRepositoryPropertySpec
|
|
40
|
+
from alter_sdk_github._github_models_16 import SearchResultTextMatches
|
|
41
|
+
from alter_sdk_github._github_models_16 import SecurityAdvisoryEpss
|
|
42
|
+
from alter_sdk_github._github_models_16 import SelectedActionsUrl
|
|
43
|
+
from alter_sdk_github._github_models_16 import ShaPinningRequired
|
|
44
|
+
from alter_sdk_github._github_models_16 import SimpleCheckSuite
|
|
45
|
+
from alter_sdk_github._github_models_16 import SimpleCommit
|
|
46
|
+
from alter_sdk_github._github_models_16 import SimpleCommitStatus
|
|
47
|
+
from alter_sdk_github._github_models_16 import SimpleRepository
|
|
48
|
+
from alter_sdk_github._github_models_16 import SimpleUser
|
|
49
|
+
from alter_sdk_github._github_models_17 import Team
|
|
50
|
+
from alter_sdk_github._github_models_17 import Traffic
|
|
51
|
+
from alter_sdk_github._github_models_17 import Verification
|
|
52
|
+
|
|
53
|
+
ActionsArtifactAndLogRetention = TypedDict(
|
|
54
|
+
"ActionsArtifactAndLogRetention", {"days": Required["int"]}, total=False
|
|
55
|
+
)
|
|
56
|
+
ActionsArtifactAndLogRetentionResponse = TypedDict(
|
|
57
|
+
"ActionsArtifactAndLogRetentionResponse",
|
|
58
|
+
{"days": Required["int"], "maximum_allowed_days": Required["int"]},
|
|
59
|
+
total=False,
|
|
60
|
+
)
|
|
61
|
+
ActionsCacheList = TypedDict(
|
|
62
|
+
"ActionsCacheList",
|
|
63
|
+
{
|
|
64
|
+
"actions_caches": Required["list[ActionsCacheListActionsCachesItem]"],
|
|
65
|
+
"total_count": Required["int"],
|
|
66
|
+
},
|
|
67
|
+
total=False,
|
|
68
|
+
)
|
|
69
|
+
ActionsCacheListActionsCachesItem = TypedDict(
|
|
70
|
+
"ActionsCacheListActionsCachesItem",
|
|
71
|
+
{
|
|
72
|
+
"created_at": NotRequired["str"],
|
|
73
|
+
"id": NotRequired["int"],
|
|
74
|
+
"key": NotRequired["str"],
|
|
75
|
+
"last_accessed_at": NotRequired["str"],
|
|
76
|
+
"ref": NotRequired["str"],
|
|
77
|
+
"size_in_bytes": NotRequired["int"],
|
|
78
|
+
"version": NotRequired["str"],
|
|
79
|
+
},
|
|
80
|
+
total=False,
|
|
81
|
+
)
|
|
82
|
+
ActionsCacheRetentionLimitForEnterprise = TypedDict(
|
|
83
|
+
"ActionsCacheRetentionLimitForEnterprise",
|
|
84
|
+
{"max_cache_retention_days": NotRequired["int"]},
|
|
85
|
+
total=False,
|
|
86
|
+
)
|
|
87
|
+
ActionsCacheRetentionLimitForOrganization = TypedDict(
|
|
88
|
+
"ActionsCacheRetentionLimitForOrganization",
|
|
89
|
+
{"max_cache_retention_days": NotRequired["int"]},
|
|
90
|
+
total=False,
|
|
91
|
+
)
|
|
92
|
+
ActionsCacheRetentionLimitForRepository = TypedDict(
|
|
93
|
+
"ActionsCacheRetentionLimitForRepository",
|
|
94
|
+
{"max_cache_retention_days": NotRequired["int"]},
|
|
95
|
+
total=False,
|
|
96
|
+
)
|
|
97
|
+
ActionsCacheStorageLimitForEnterprise = TypedDict(
|
|
98
|
+
"ActionsCacheStorageLimitForEnterprise", {"max_cache_size_gb": NotRequired["int"]}, total=False
|
|
99
|
+
)
|
|
100
|
+
ActionsCacheStorageLimitForOrganization = TypedDict(
|
|
101
|
+
"ActionsCacheStorageLimitForOrganization",
|
|
102
|
+
{"max_cache_size_gb": NotRequired["int"]},
|
|
103
|
+
total=False,
|
|
104
|
+
)
|
|
105
|
+
ActionsCacheStorageLimitForRepository = TypedDict(
|
|
106
|
+
"ActionsCacheStorageLimitForRepository", {"max_cache_size_gb": NotRequired["int"]}, total=False
|
|
107
|
+
)
|
|
108
|
+
ActionsCacheUsageByRepository = TypedDict(
|
|
109
|
+
"ActionsCacheUsageByRepository",
|
|
110
|
+
{
|
|
111
|
+
"active_caches_count": Required["int"],
|
|
112
|
+
"active_caches_size_in_bytes": Required["int"],
|
|
113
|
+
"full_name": Required["str"],
|
|
114
|
+
},
|
|
115
|
+
total=False,
|
|
116
|
+
)
|
|
117
|
+
ActionsCacheUsageOrgEnterprise = TypedDict(
|
|
118
|
+
"ActionsCacheUsageOrgEnterprise",
|
|
119
|
+
{
|
|
120
|
+
"total_active_caches_count": Required["int"],
|
|
121
|
+
"total_active_caches_size_in_bytes": Required["int"],
|
|
122
|
+
},
|
|
123
|
+
total=False,
|
|
124
|
+
)
|
|
125
|
+
ActionsCanApprovePullRequestReviews: TypeAlias = "bool"
|
|
126
|
+
ActionsDefaultWorkflowPermissions: TypeAlias = "Literal['read', 'write']"
|
|
127
|
+
ActionsEnabled: TypeAlias = "bool"
|
|
128
|
+
ActionsForkPrContributorApproval = TypedDict(
|
|
129
|
+
"ActionsForkPrContributorApproval",
|
|
130
|
+
{
|
|
131
|
+
"approval_policy": Required[
|
|
132
|
+
"Literal['first_time_contributors_new_to_github', 'first_time_contributors', 'all_external_contributors']"
|
|
133
|
+
]
|
|
134
|
+
},
|
|
135
|
+
total=False,
|
|
136
|
+
)
|
|
137
|
+
ActionsForkPrWorkflowsPrivateRepos = TypedDict(
|
|
138
|
+
"ActionsForkPrWorkflowsPrivateRepos",
|
|
139
|
+
{
|
|
140
|
+
"require_approval_for_fork_pr_workflows": Required["bool"],
|
|
141
|
+
"run_workflows_from_fork_pull_requests": Required["bool"],
|
|
142
|
+
"send_secrets_and_variables": Required["bool"],
|
|
143
|
+
"send_write_tokens_to_workflows": Required["bool"],
|
|
144
|
+
},
|
|
145
|
+
total=False,
|
|
146
|
+
)
|
|
147
|
+
ActionsForkPrWorkflowsPrivateReposRequest = TypedDict(
|
|
148
|
+
"ActionsForkPrWorkflowsPrivateReposRequest",
|
|
149
|
+
{
|
|
150
|
+
"require_approval_for_fork_pr_workflows": NotRequired["bool"],
|
|
151
|
+
"run_workflows_from_fork_pull_requests": Required["bool"],
|
|
152
|
+
"send_secrets_and_variables": NotRequired["bool"],
|
|
153
|
+
"send_write_tokens_to_workflows": NotRequired["bool"],
|
|
154
|
+
},
|
|
155
|
+
total=False,
|
|
156
|
+
)
|
|
157
|
+
ActionsGetDefaultWorkflowPermissions = TypedDict(
|
|
158
|
+
"ActionsGetDefaultWorkflowPermissions",
|
|
159
|
+
{
|
|
160
|
+
"can_approve_pull_request_reviews": Required["ActionsCanApprovePullRequestReviews"],
|
|
161
|
+
"default_workflow_permissions": Required["ActionsDefaultWorkflowPermissions"],
|
|
162
|
+
},
|
|
163
|
+
total=False,
|
|
164
|
+
)
|
|
165
|
+
ActionsHostedRunner = TypedDict(
|
|
166
|
+
"ActionsHostedRunner",
|
|
167
|
+
{
|
|
168
|
+
"id": Required["int"],
|
|
169
|
+
"image_details": Required["NullableActionsHostedRunnerPoolImage"],
|
|
170
|
+
"image_gen": NotRequired["bool"],
|
|
171
|
+
"last_active_on": NotRequired["str | None"],
|
|
172
|
+
"machine_size_details": Required["ActionsHostedRunnerMachineSpec"],
|
|
173
|
+
"maximum_runners": NotRequired["int"],
|
|
174
|
+
"name": Required["str"],
|
|
175
|
+
"platform": Required["str"],
|
|
176
|
+
"public_ip_enabled": Required["bool"],
|
|
177
|
+
"public_ips": NotRequired["list[PublicIp]"],
|
|
178
|
+
"runner_group_id": NotRequired["int"],
|
|
179
|
+
"status": Required["Literal['Ready', 'Provisioning', 'Shutdown', 'Deleting', 'Stuck']"],
|
|
180
|
+
},
|
|
181
|
+
total=False,
|
|
182
|
+
)
|
|
183
|
+
ActionsHostedRunnerCuratedImage = TypedDict(
|
|
184
|
+
"ActionsHostedRunnerCuratedImage",
|
|
185
|
+
{
|
|
186
|
+
"display_name": Required["str"],
|
|
187
|
+
"id": Required["str"],
|
|
188
|
+
"platform": Required["str"],
|
|
189
|
+
"size_gb": Required["int"],
|
|
190
|
+
"source": Required["Literal['github', 'partner', 'custom']"],
|
|
191
|
+
},
|
|
192
|
+
total=False,
|
|
193
|
+
)
|
|
194
|
+
ActionsHostedRunnerCustomImage = TypedDict(
|
|
195
|
+
"ActionsHostedRunnerCustomImage",
|
|
196
|
+
{
|
|
197
|
+
"id": Required["int"],
|
|
198
|
+
"latest_version": Required["str"],
|
|
199
|
+
"name": Required["str"],
|
|
200
|
+
"platform": Required["str"],
|
|
201
|
+
"source": Required["str"],
|
|
202
|
+
"state": Required["str"],
|
|
203
|
+
"total_versions_size": Required["int"],
|
|
204
|
+
"versions_count": Required["int"],
|
|
205
|
+
},
|
|
206
|
+
total=False,
|
|
207
|
+
)
|
|
208
|
+
ActionsHostedRunnerCustomImageVersion = TypedDict(
|
|
209
|
+
"ActionsHostedRunnerCustomImageVersion",
|
|
210
|
+
{
|
|
211
|
+
"created_on": Required["str"],
|
|
212
|
+
"size_gb": Required["int"],
|
|
213
|
+
"state": Required["str"],
|
|
214
|
+
"state_details": Required["str"],
|
|
215
|
+
"version": Required["str"],
|
|
216
|
+
},
|
|
217
|
+
total=False,
|
|
218
|
+
)
|
|
219
|
+
ActionsHostedRunnerLimits = TypedDict(
|
|
220
|
+
"ActionsHostedRunnerLimits",
|
|
221
|
+
{"public_ips": Required["ActionsHostedRunnerLimitsPublicIps"]},
|
|
222
|
+
total=False,
|
|
223
|
+
)
|
|
224
|
+
ActionsHostedRunnerLimitsPublicIps = TypedDict(
|
|
225
|
+
"ActionsHostedRunnerLimitsPublicIps",
|
|
226
|
+
{"current_usage": Required["int"], "maximum": Required["int"]},
|
|
227
|
+
total=False,
|
|
228
|
+
)
|
|
229
|
+
ActionsHostedRunnerMachineSpec = TypedDict(
|
|
230
|
+
"ActionsHostedRunnerMachineSpec",
|
|
231
|
+
{
|
|
232
|
+
"cpu_cores": Required["int"],
|
|
233
|
+
"id": Required["str"],
|
|
234
|
+
"memory_gb": Required["int"],
|
|
235
|
+
"storage_gb": Required["int"],
|
|
236
|
+
},
|
|
237
|
+
total=False,
|
|
238
|
+
)
|
|
239
|
+
ActionsOrganizationPermissions = TypedDict(
|
|
240
|
+
"ActionsOrganizationPermissions",
|
|
241
|
+
{
|
|
242
|
+
"allowed_actions": NotRequired["AllowedActions"],
|
|
243
|
+
"enabled_repositories": Required["EnabledRepositories"],
|
|
244
|
+
"selected_actions_url": NotRequired["SelectedActionsUrl"],
|
|
245
|
+
"selected_repositories_url": NotRequired["str"],
|
|
246
|
+
"sha_pinning_required": NotRequired["ShaPinningRequired"],
|
|
247
|
+
},
|
|
248
|
+
total=False,
|
|
249
|
+
)
|
|
250
|
+
ActionsPolicy = TypedDict(
|
|
251
|
+
"ActionsPolicy",
|
|
252
|
+
{
|
|
253
|
+
"_links": NotRequired["ActionsPolicyLinks"],
|
|
254
|
+
"conditions": NotRequired[
|
|
255
|
+
"Union[Union[ActionsPolicyRepoConditions, ActionsPolicyOrgConditions, ActionsPolicyEnterpriseConditions], None]"
|
|
256
|
+
],
|
|
257
|
+
"created_at": NotRequired["str"],
|
|
258
|
+
"enforcement": Required["RepositoryRuleEnforcement"],
|
|
259
|
+
"id": Required["int"],
|
|
260
|
+
"name": Required["str"],
|
|
261
|
+
"node_id": NotRequired["str"],
|
|
262
|
+
"rules": NotRequired["list[ActionsRule]"],
|
|
263
|
+
"source": Required["str"],
|
|
264
|
+
"source_type": Required["Literal['Repository', 'Organization', 'Enterprise']"],
|
|
265
|
+
"target": Required["Literal['actions']"],
|
|
266
|
+
"updated_at": NotRequired["str"],
|
|
267
|
+
},
|
|
268
|
+
total=False,
|
|
269
|
+
)
|
|
270
|
+
ActionsPolicyEnterpriseConditions: TypeAlias = "dict[str, object]"
|
|
271
|
+
ActionsPolicyLinks = TypedDict(
|
|
272
|
+
"ActionsPolicyLinks",
|
|
273
|
+
{"html": NotRequired["ActionsPolicyLinksHtml"], "self": NotRequired["ActionsPolicyLinksSelf"]},
|
|
274
|
+
total=False,
|
|
275
|
+
)
|
|
276
|
+
ActionsPolicyLinksHtml = TypedDict(
|
|
277
|
+
"ActionsPolicyLinksHtml", {"href": NotRequired["str"]}, total=False
|
|
278
|
+
)
|
|
279
|
+
ActionsPolicyLinksSelf = TypedDict(
|
|
280
|
+
"ActionsPolicyLinksSelf", {"href": NotRequired["str"]}, total=False
|
|
281
|
+
)
|
|
282
|
+
ActionsPolicyOrgConditions: TypeAlias = "ActionsPolicyOrgConditionsVariant0 | ActionsPolicyOrgConditionsVariant1 | ActionsPolicyOrgConditionsVariant2"
|
|
283
|
+
ActionsPolicyOrgConditionsVariant0 = TypedDict(
|
|
284
|
+
"ActionsPolicyOrgConditionsVariant0",
|
|
285
|
+
{
|
|
286
|
+
"repository_name": Required["ActionsPolicyOrgConditionsVariant0RepositoryName"],
|
|
287
|
+
"workflow_path": NotRequired["ActionsPolicyOrgConditionsVariant0WorkflowPath"],
|
|
288
|
+
},
|
|
289
|
+
total=False,
|
|
290
|
+
)
|
|
291
|
+
ActionsPolicyOrgConditionsVariant0RepositoryName = TypedDict(
|
|
292
|
+
"ActionsPolicyOrgConditionsVariant0RepositoryName",
|
|
293
|
+
{
|
|
294
|
+
"exclude": NotRequired["list[str]"],
|
|
295
|
+
"include": NotRequired["list[str]"],
|
|
296
|
+
"protected": NotRequired["bool"],
|
|
297
|
+
},
|
|
298
|
+
total=False,
|
|
299
|
+
)
|
|
300
|
+
ActionsPolicyOrgConditionsVariant0WorkflowPath = TypedDict(
|
|
301
|
+
"ActionsPolicyOrgConditionsVariant0WorkflowPath",
|
|
302
|
+
{"exclude": Required["list[str]"], "include": Required["list[str]"]},
|
|
303
|
+
total=False,
|
|
304
|
+
)
|
|
305
|
+
ActionsPolicyOrgConditionsVariant1 = TypedDict(
|
|
306
|
+
"ActionsPolicyOrgConditionsVariant1",
|
|
307
|
+
{
|
|
308
|
+
"repository_id": Required["ActionsPolicyOrgConditionsVariant1RepositoryId"],
|
|
309
|
+
"workflow_path": NotRequired["ActionsPolicyOrgConditionsVariant1WorkflowPath"],
|
|
310
|
+
},
|
|
311
|
+
total=False,
|
|
312
|
+
)
|
|
313
|
+
ActionsPolicyOrgConditionsVariant1RepositoryId = TypedDict(
|
|
314
|
+
"ActionsPolicyOrgConditionsVariant1RepositoryId",
|
|
315
|
+
{"repository_ids": NotRequired["list[int]"]},
|
|
316
|
+
total=False,
|
|
317
|
+
)
|
|
318
|
+
ActionsPolicyOrgConditionsVariant1WorkflowPath = TypedDict(
|
|
319
|
+
"ActionsPolicyOrgConditionsVariant1WorkflowPath",
|
|
320
|
+
{"exclude": Required["list[str]"], "include": Required["list[str]"]},
|
|
321
|
+
total=False,
|
|
322
|
+
)
|
|
323
|
+
ActionsPolicyOrgConditionsVariant2 = TypedDict(
|
|
324
|
+
"ActionsPolicyOrgConditionsVariant2",
|
|
325
|
+
{
|
|
326
|
+
"repository_property": Required["ActionsPolicyOrgConditionsVariant2RepositoryProperty"],
|
|
327
|
+
"workflow_path": NotRequired["ActionsPolicyOrgConditionsVariant2WorkflowPath"],
|
|
328
|
+
},
|
|
329
|
+
total=False,
|
|
330
|
+
)
|
|
331
|
+
ActionsPolicyOrgConditionsVariant2RepositoryProperty = TypedDict(
|
|
332
|
+
"ActionsPolicyOrgConditionsVariant2RepositoryProperty",
|
|
333
|
+
{
|
|
334
|
+
"exclude": NotRequired["list[RepositoryRulesetConditionsRepositoryPropertySpec]"],
|
|
335
|
+
"include": NotRequired["list[RepositoryRulesetConditionsRepositoryPropertySpec]"],
|
|
336
|
+
},
|
|
337
|
+
total=False,
|
|
338
|
+
)
|
|
339
|
+
ActionsPolicyOrgConditionsVariant2WorkflowPath = TypedDict(
|
|
340
|
+
"ActionsPolicyOrgConditionsVariant2WorkflowPath",
|
|
341
|
+
{"exclude": Required["list[str]"], "include": Required["list[str]"]},
|
|
342
|
+
total=False,
|
|
343
|
+
)
|
|
344
|
+
ActionsPolicyRepoConditions: TypeAlias = "dict[str, object] | ActionsPolicyRepoConditionsVariant1"
|
|
345
|
+
ActionsPolicyRepoConditionsVariant1 = TypedDict(
|
|
346
|
+
"ActionsPolicyRepoConditionsVariant1",
|
|
347
|
+
{"workflow_path": NotRequired["ActionsPolicyRepoConditionsVariant1WorkflowPath"]},
|
|
348
|
+
total=False,
|
|
349
|
+
)
|
|
350
|
+
ActionsPolicyRepoConditionsVariant1WorkflowPath = TypedDict(
|
|
351
|
+
"ActionsPolicyRepoConditionsVariant1WorkflowPath",
|
|
352
|
+
{"exclude": Required["list[str]"], "include": Required["list[str]"]},
|
|
353
|
+
total=False,
|
|
354
|
+
)
|
|
355
|
+
ActionsPolicyWorkflowPathCondition = TypedDict(
|
|
356
|
+
"ActionsPolicyWorkflowPathCondition",
|
|
357
|
+
{"workflow_path": NotRequired["ActionsPolicyWorkflowPathConditionWorkflowPath"]},
|
|
358
|
+
total=False,
|
|
359
|
+
)
|
|
360
|
+
ActionsPolicyWorkflowPathConditionWorkflowPath = TypedDict(
|
|
361
|
+
"ActionsPolicyWorkflowPathConditionWorkflowPath",
|
|
362
|
+
{"exclude": Required["list[str]"], "include": Required["list[str]"]},
|
|
363
|
+
total=False,
|
|
364
|
+
)
|
|
365
|
+
ActionsPublicKey = TypedDict(
|
|
366
|
+
"ActionsPublicKey",
|
|
367
|
+
{
|
|
368
|
+
"created_at": NotRequired["str"],
|
|
369
|
+
"id": NotRequired["int"],
|
|
370
|
+
"key": Required["str"],
|
|
371
|
+
"key_id": Required["str"],
|
|
372
|
+
"title": NotRequired["str"],
|
|
373
|
+
"url": NotRequired["str"],
|
|
374
|
+
},
|
|
375
|
+
total=False,
|
|
376
|
+
)
|
|
377
|
+
ActionsRepositoryPermissions = TypedDict(
|
|
378
|
+
"ActionsRepositoryPermissions",
|
|
379
|
+
{
|
|
380
|
+
"allowed_actions": NotRequired["AllowedActions"],
|
|
381
|
+
"enabled": Required["ActionsEnabled"],
|
|
382
|
+
"selected_actions_url": NotRequired["SelectedActionsUrl"],
|
|
383
|
+
"sha_pinning_required": NotRequired["ShaPinningRequired"],
|
|
384
|
+
},
|
|
385
|
+
total=False,
|
|
386
|
+
)
|
|
387
|
+
ActionsRule: TypeAlias = "ActionsRuleRestrictActionsActors | ActionsRuleRestrictActionEvents"
|
|
388
|
+
ActionsRuleParamsActor = TypedDict(
|
|
389
|
+
"ActionsRuleParamsActor",
|
|
390
|
+
{
|
|
391
|
+
"id": Required["int"],
|
|
392
|
+
"type": Required[
|
|
393
|
+
"Literal['User', 'Bot', 'Team', 'BusinessTeam', 'EnterpriseTeam', 'IntegrationInstallation', 'App', 'RepositoryRole']"
|
|
394
|
+
],
|
|
395
|
+
},
|
|
396
|
+
total=False,
|
|
397
|
+
)
|
|
398
|
+
ActionsRuleRestrictActionEvents = TypedDict(
|
|
399
|
+
"ActionsRuleRestrictActionEvents",
|
|
400
|
+
{
|
|
401
|
+
"parameters": NotRequired["ActionsRuleRestrictActionEventsParameters"],
|
|
402
|
+
"type": Required["Literal['restrict_action_events']"],
|
|
403
|
+
},
|
|
404
|
+
total=False,
|
|
405
|
+
)
|
|
406
|
+
ActionsRuleRestrictActionEventsParameters = TypedDict(
|
|
407
|
+
"ActionsRuleRestrictActionEventsParameters",
|
|
408
|
+
{
|
|
409
|
+
"allowed_events": Required[
|
|
410
|
+
"list[Literal['branch_protection_rule', 'check_run', 'check_suite', 'create', 'delete', 'deployment', 'deployment_status', 'discussion', 'discussion_comment', 'fork', 'gollum', 'image_version', 'issue_comment', 'issues', 'label', 'merge_group', 'milestone', 'page_build', 'project', 'project_card', 'project_column', 'public', 'pull_request', 'pull_request_review', 'pull_request_review_comment', 'pull_request_target', 'push', 'registry_package', 'release', 'repository_dispatch', 'schedule', 'status', 'watch', 'workflow_call', 'workflow_dispatch', 'workflow_run']]"
|
|
411
|
+
]
|
|
412
|
+
},
|
|
413
|
+
total=False,
|
|
414
|
+
)
|
|
415
|
+
ActionsRuleRestrictActionsActors = TypedDict(
|
|
416
|
+
"ActionsRuleRestrictActionsActors",
|
|
417
|
+
{
|
|
418
|
+
"parameters": NotRequired["ActionsRuleRestrictActionsActorsParameters"],
|
|
419
|
+
"type": Required["Literal['restrict_actions_actors']"],
|
|
420
|
+
},
|
|
421
|
+
total=False,
|
|
422
|
+
)
|
|
423
|
+
ActionsRuleRestrictActionsActorsParameters = TypedDict(
|
|
424
|
+
"ActionsRuleRestrictActionsActorsParameters",
|
|
425
|
+
{"allowed_actors": Required["list[ActionsRuleParamsActor]"]},
|
|
426
|
+
total=False,
|
|
427
|
+
)
|
|
428
|
+
ActionsSecret = TypedDict(
|
|
429
|
+
"ActionsSecret",
|
|
430
|
+
{"created_at": Required["str"], "name": Required["str"], "updated_at": Required["str"]},
|
|
431
|
+
total=False,
|
|
432
|
+
)
|
|
433
|
+
ActionsSetDefaultWorkflowPermissions = TypedDict(
|
|
434
|
+
"ActionsSetDefaultWorkflowPermissions",
|
|
435
|
+
{
|
|
436
|
+
"can_approve_pull_request_reviews": NotRequired["ActionsCanApprovePullRequestReviews"],
|
|
437
|
+
"default_workflow_permissions": NotRequired["ActionsDefaultWorkflowPermissions"],
|
|
438
|
+
},
|
|
439
|
+
total=False,
|
|
440
|
+
)
|
|
441
|
+
ActionsVariable = TypedDict(
|
|
442
|
+
"ActionsVariable",
|
|
443
|
+
{
|
|
444
|
+
"created_at": Required["str"],
|
|
445
|
+
"name": Required["str"],
|
|
446
|
+
"updated_at": Required["str"],
|
|
447
|
+
"value": Required["str"],
|
|
448
|
+
},
|
|
449
|
+
total=False,
|
|
450
|
+
)
|
|
451
|
+
ActionsWorkflowAccessToRepository = TypedDict(
|
|
452
|
+
"ActionsWorkflowAccessToRepository",
|
|
453
|
+
{"access_level": Required["Literal['none', 'user', 'organization']"]},
|
|
454
|
+
total=False,
|
|
455
|
+
)
|
|
456
|
+
Activity = TypedDict(
|
|
457
|
+
"Activity",
|
|
458
|
+
{
|
|
459
|
+
"activity_type": Required[
|
|
460
|
+
"Literal['push', 'force_push', 'branch_deletion', 'branch_creation', 'pr_merge', 'merge_queue_merge']"
|
|
461
|
+
],
|
|
462
|
+
"actor": Required["NullableSimpleUser"],
|
|
463
|
+
"after": Required["str"],
|
|
464
|
+
"before": Required["str"],
|
|
465
|
+
"id": Required["int"],
|
|
466
|
+
"node_id": Required["str"],
|
|
467
|
+
"ref": Required["str"],
|
|
468
|
+
"timestamp": Required["str"],
|
|
469
|
+
},
|
|
470
|
+
total=False,
|
|
471
|
+
)
|
|
472
|
+
Actor = TypedDict(
|
|
473
|
+
"Actor",
|
|
474
|
+
{
|
|
475
|
+
"avatar_url": Required["str"],
|
|
476
|
+
"display_login": NotRequired["str"],
|
|
477
|
+
"gravatar_id": Required["str | None"],
|
|
478
|
+
"id": Required["int"],
|
|
479
|
+
"login": Required["str"],
|
|
480
|
+
"url": Required["str"],
|
|
481
|
+
},
|
|
482
|
+
total=False,
|
|
483
|
+
)
|
|
484
|
+
AddedToProjectIssueEvent = TypedDict(
|
|
485
|
+
"AddedToProjectIssueEvent",
|
|
486
|
+
{
|
|
487
|
+
"actor": Required["SimpleUser"],
|
|
488
|
+
"commit_id": Required["str | None"],
|
|
489
|
+
"commit_url": Required["str | None"],
|
|
490
|
+
"created_at": Required["str"],
|
|
491
|
+
"event": Required["str"],
|
|
492
|
+
"id": Required["int"],
|
|
493
|
+
"node_id": Required["str"],
|
|
494
|
+
"performed_via_github_app": Required["NullableIntegration"],
|
|
495
|
+
"project_card": NotRequired["AddedToProjectIssueEventProjectCard"],
|
|
496
|
+
"url": Required["str"],
|
|
497
|
+
},
|
|
498
|
+
total=False,
|
|
499
|
+
)
|
|
500
|
+
AddedToProjectIssueEventProjectCard = TypedDict(
|
|
501
|
+
"AddedToProjectIssueEventProjectCard",
|
|
502
|
+
{
|
|
503
|
+
"column_name": Required["str"],
|
|
504
|
+
"id": Required["int"],
|
|
505
|
+
"previous_column_name": NotRequired["str"],
|
|
506
|
+
"project_id": Required["int"],
|
|
507
|
+
"project_url": Required["str"],
|
|
508
|
+
"url": Required["str"],
|
|
509
|
+
},
|
|
510
|
+
total=False,
|
|
511
|
+
)
|
|
512
|
+
AlertAutoDismissedAt: TypeAlias = "str | None"
|
|
513
|
+
AlertCreatedAt: TypeAlias = "str"
|
|
514
|
+
AlertDismissedAt: TypeAlias = "str | None"
|
|
515
|
+
AlertFixedAt: TypeAlias = "str | None"
|
|
516
|
+
AlertHtmlUrl: TypeAlias = "str"
|
|
517
|
+
AlertInstancesUrl: TypeAlias = "str"
|
|
518
|
+
AlertNumber: TypeAlias = "int"
|
|
519
|
+
AlertUpdatedAt: TypeAlias = "str"
|
|
520
|
+
AlertUrl: TypeAlias = "str"
|
|
521
|
+
AllowedActions: TypeAlias = "Literal['all', 'local_only', 'selected']"
|
|
522
|
+
ApiInsightsRouteStats: TypeAlias = "list[ApiInsightsRouteStatsItem]"
|
|
523
|
+
ApiInsightsRouteStatsItem = TypedDict(
|
|
524
|
+
"ApiInsightsRouteStatsItem",
|
|
525
|
+
{
|
|
526
|
+
"api_route": NotRequired["str"],
|
|
527
|
+
"http_method": NotRequired["str"],
|
|
528
|
+
"last_rate_limited_timestamp": NotRequired["str | None"],
|
|
529
|
+
"last_request_timestamp": NotRequired["str"],
|
|
530
|
+
"rate_limited_request_count": NotRequired["int"],
|
|
531
|
+
"total_request_count": NotRequired["int"],
|
|
532
|
+
},
|
|
533
|
+
total=False,
|
|
534
|
+
)
|
|
535
|
+
ApiInsightsSubjectStats: TypeAlias = "list[ApiInsightsSubjectStatsItem]"
|
|
536
|
+
ApiInsightsSubjectStatsItem = TypedDict(
|
|
537
|
+
"ApiInsightsSubjectStatsItem",
|
|
538
|
+
{
|
|
539
|
+
"last_rate_limited_timestamp": NotRequired["str | None"],
|
|
540
|
+
"last_request_timestamp": NotRequired["str"],
|
|
541
|
+
"rate_limited_request_count": NotRequired["int"],
|
|
542
|
+
"subject_id": NotRequired["int"],
|
|
543
|
+
"subject_name": NotRequired["str"],
|
|
544
|
+
"subject_type": NotRequired["str"],
|
|
545
|
+
"total_request_count": NotRequired["int"],
|
|
546
|
+
},
|
|
547
|
+
total=False,
|
|
548
|
+
)
|
|
549
|
+
ApiInsightsSummaryStats = TypedDict(
|
|
550
|
+
"ApiInsightsSummaryStats",
|
|
551
|
+
{"rate_limited_request_count": NotRequired["int"], "total_request_count": NotRequired["int"]},
|
|
552
|
+
total=False,
|
|
553
|
+
)
|
|
554
|
+
ApiInsightsTimeStats: TypeAlias = "list[ApiInsightsTimeStatsItem]"
|
|
555
|
+
ApiInsightsTimeStatsItem = TypedDict(
|
|
556
|
+
"ApiInsightsTimeStatsItem",
|
|
557
|
+
{
|
|
558
|
+
"rate_limited_request_count": NotRequired["int"],
|
|
559
|
+
"timestamp": NotRequired["str"],
|
|
560
|
+
"total_request_count": NotRequired["int"],
|
|
561
|
+
},
|
|
562
|
+
total=False,
|
|
563
|
+
)
|
|
564
|
+
ApiInsightsUserStats: TypeAlias = "list[ApiInsightsUserStatsItem]"
|
|
565
|
+
ApiInsightsUserStatsItem = TypedDict(
|
|
566
|
+
"ApiInsightsUserStatsItem",
|
|
567
|
+
{
|
|
568
|
+
"actor_id": NotRequired["int"],
|
|
569
|
+
"actor_name": NotRequired["str"],
|
|
570
|
+
"actor_type": NotRequired["str"],
|
|
571
|
+
"integration_id": NotRequired["int | None"],
|
|
572
|
+
"last_rate_limited_timestamp": NotRequired["str | None"],
|
|
573
|
+
"last_request_timestamp": NotRequired["str"],
|
|
574
|
+
"oauth_application_id": NotRequired["int | None"],
|
|
575
|
+
"rate_limited_request_count": NotRequired["int"],
|
|
576
|
+
"total_request_count": NotRequired["int"],
|
|
577
|
+
},
|
|
578
|
+
total=False,
|
|
579
|
+
)
|
|
580
|
+
ApiOverview = TypedDict(
|
|
581
|
+
"ApiOverview",
|
|
582
|
+
{
|
|
583
|
+
"actions": NotRequired["list[str]"],
|
|
584
|
+
"actions_macos": NotRequired["list[str]"],
|
|
585
|
+
"api": NotRequired["list[str]"],
|
|
586
|
+
"codespaces": NotRequired["list[str]"],
|
|
587
|
+
"commit_signing_keys": NotRequired["list[str]"],
|
|
588
|
+
"copilot": NotRequired["list[str]"],
|
|
589
|
+
"dependabot": NotRequired["list[str]"],
|
|
590
|
+
"domains": NotRequired["ApiOverviewDomains"],
|
|
591
|
+
"git": NotRequired["list[str]"],
|
|
592
|
+
"github_enterprise_importer": NotRequired["list[str]"],
|
|
593
|
+
"hooks": NotRequired["list[str]"],
|
|
594
|
+
"importer": NotRequired["list[str]"],
|
|
595
|
+
"packages": NotRequired["list[str]"],
|
|
596
|
+
"pages": NotRequired["list[str]"],
|
|
597
|
+
"shared_ingress": NotRequired["list[str]"],
|
|
598
|
+
"ssh_key_fingerprints": NotRequired["ApiOverviewSshKeyFingerprints"],
|
|
599
|
+
"ssh_keys": NotRequired["list[str]"],
|
|
600
|
+
"verifiable_password_authentication": Required["bool"],
|
|
601
|
+
"web": NotRequired["list[str]"],
|
|
602
|
+
},
|
|
603
|
+
total=False,
|
|
604
|
+
)
|
|
605
|
+
ApiOverviewDomains = TypedDict(
|
|
606
|
+
"ApiOverviewDomains",
|
|
607
|
+
{
|
|
608
|
+
"actions": NotRequired["list[str]"],
|
|
609
|
+
"actions_inbound": NotRequired["ApiOverviewDomainsActionsInbound"],
|
|
610
|
+
"artifact_attestations": NotRequired["ApiOverviewDomainsArtifactAttestations"],
|
|
611
|
+
"codespaces": NotRequired["list[str]"],
|
|
612
|
+
"copilot": NotRequired["list[str]"],
|
|
613
|
+
"packages": NotRequired["list[str]"],
|
|
614
|
+
"storage": NotRequired["list[str]"],
|
|
615
|
+
"website": NotRequired["list[str]"],
|
|
616
|
+
},
|
|
617
|
+
total=False,
|
|
618
|
+
)
|
|
619
|
+
ApiOverviewDomainsActionsInbound = TypedDict(
|
|
620
|
+
"ApiOverviewDomainsActionsInbound",
|
|
621
|
+
{"full_domains": NotRequired["list[str]"], "wildcard_domains": NotRequired["list[str]"]},
|
|
622
|
+
total=False,
|
|
623
|
+
)
|
|
624
|
+
ApiOverviewDomainsArtifactAttestations = TypedDict(
|
|
625
|
+
"ApiOverviewDomainsArtifactAttestations",
|
|
626
|
+
{"services": NotRequired["list[str]"], "trust_domain": NotRequired["str"]},
|
|
627
|
+
total=False,
|
|
628
|
+
)
|
|
629
|
+
ApiOverviewSshKeyFingerprints = TypedDict(
|
|
630
|
+
"ApiOverviewSshKeyFingerprints",
|
|
631
|
+
{
|
|
632
|
+
"SHA256_DSA": NotRequired["str"],
|
|
633
|
+
"SHA256_ECDSA": NotRequired["str"],
|
|
634
|
+
"SHA256_ED25519": NotRequired["str"],
|
|
635
|
+
"SHA256_RSA": NotRequired["str"],
|
|
636
|
+
},
|
|
637
|
+
total=False,
|
|
638
|
+
)
|
|
639
|
+
AppPermissions = TypedDict(
|
|
640
|
+
"AppPermissions",
|
|
641
|
+
{
|
|
642
|
+
"actions": NotRequired["Literal['read', 'write']"],
|
|
643
|
+
"administration": NotRequired["Literal['read', 'write']"],
|
|
644
|
+
"artifact_metadata": NotRequired["Literal['read', 'write']"],
|
|
645
|
+
"attestations": NotRequired["Literal['read', 'write']"],
|
|
646
|
+
"checks": NotRequired["Literal['read', 'write']"],
|
|
647
|
+
"code_quality": NotRequired["Literal['read', 'write']"],
|
|
648
|
+
"codespaces": NotRequired["Literal['read', 'write']"],
|
|
649
|
+
"contents": NotRequired["Literal['read', 'write']"],
|
|
650
|
+
"custom_properties_for_organizations": NotRequired["Literal['read', 'write']"],
|
|
651
|
+
"dependabot_secrets": NotRequired["Literal['read', 'write']"],
|
|
652
|
+
"deployments": NotRequired["Literal['read', 'write']"],
|
|
653
|
+
"discussions": NotRequired["Literal['read', 'write']"],
|
|
654
|
+
"email_addresses": NotRequired["Literal['read', 'write']"],
|
|
655
|
+
"enterprise_custom_properties_for_organizations": NotRequired[
|
|
656
|
+
"Literal['read', 'write', 'admin']"
|
|
657
|
+
],
|
|
658
|
+
"environments": NotRequired["Literal['read', 'write']"],
|
|
659
|
+
"followers": NotRequired["Literal['read', 'write']"],
|
|
660
|
+
"git_ssh_keys": NotRequired["Literal['read', 'write']"],
|
|
661
|
+
"gpg_keys": NotRequired["Literal['read', 'write']"],
|
|
662
|
+
"interaction_limits": NotRequired["Literal['read', 'write']"],
|
|
663
|
+
"issues": NotRequired["Literal['read', 'write']"],
|
|
664
|
+
"members": NotRequired["Literal['read', 'write']"],
|
|
665
|
+
"merge_queues": NotRequired["Literal['read', 'write']"],
|
|
666
|
+
"metadata": NotRequired["Literal['read', 'write']"],
|
|
667
|
+
"organization_administration": NotRequired["Literal['read', 'write']"],
|
|
668
|
+
"organization_announcement_banners": NotRequired["Literal['read', 'write']"],
|
|
669
|
+
"organization_copilot_agent_settings": NotRequired["Literal['read', 'write']"],
|
|
670
|
+
"organization_copilot_requests": NotRequired["Literal['read']"],
|
|
671
|
+
"organization_copilot_seat_management": NotRequired["Literal['read', 'write']"],
|
|
672
|
+
"organization_custom_org_roles": NotRequired["Literal['read', 'write']"],
|
|
673
|
+
"organization_custom_properties": NotRequired["Literal['read', 'write', 'admin']"],
|
|
674
|
+
"organization_custom_roles": NotRequired["Literal['read', 'write']"],
|
|
675
|
+
"organization_events": NotRequired["Literal['read']"],
|
|
676
|
+
"organization_external_properties_for_repos": NotRequired[
|
|
677
|
+
"Literal['read', 'write', 'admin']"
|
|
678
|
+
],
|
|
679
|
+
"organization_hooks": NotRequired["Literal['read', 'write']"],
|
|
680
|
+
"organization_packages": NotRequired["Literal['read', 'write']"],
|
|
681
|
+
"organization_personal_access_token_requests": NotRequired["Literal['read', 'write']"],
|
|
682
|
+
"organization_personal_access_tokens": NotRequired["Literal['read', 'write']"],
|
|
683
|
+
"organization_plan": NotRequired["Literal['read']"],
|
|
684
|
+
"organization_projects": NotRequired["Literal['read', 'write', 'admin']"],
|
|
685
|
+
"organization_secrets": NotRequired["Literal['read', 'write']"],
|
|
686
|
+
"organization_self_hosted_runners": NotRequired["Literal['read', 'write']"],
|
|
687
|
+
"organization_user_blocking": NotRequired["Literal['read', 'write']"],
|
|
688
|
+
"packages": NotRequired["Literal['read', 'write']"],
|
|
689
|
+
"pages": NotRequired["Literal['read', 'write']"],
|
|
690
|
+
"profile": NotRequired["Literal['write']"],
|
|
691
|
+
"pull_requests": NotRequired["Literal['read', 'write']"],
|
|
692
|
+
"repository_custom_properties": NotRequired["Literal['read', 'write']"],
|
|
693
|
+
"repository_hooks": NotRequired["Literal['read', 'write']"],
|
|
694
|
+
"repository_projects": NotRequired["Literal['read', 'write', 'admin']"],
|
|
695
|
+
"secret_scanning_alerts": NotRequired["Literal['read', 'write']"],
|
|
696
|
+
"secrets": NotRequired["Literal['read', 'write']"],
|
|
697
|
+
"security_events": NotRequired["Literal['read', 'write']"],
|
|
698
|
+
"single_file": NotRequired["Literal['read', 'write']"],
|
|
699
|
+
"starring": NotRequired["Literal['read', 'write']"],
|
|
700
|
+
"statuses": NotRequired["Literal['read', 'write']"],
|
|
701
|
+
"vulnerability_alerts": NotRequired["Literal['read', 'write']"],
|
|
702
|
+
"workflows": NotRequired["Literal['write']"],
|
|
703
|
+
},
|
|
704
|
+
total=False,
|
|
705
|
+
)
|
|
706
|
+
Artifact = TypedDict(
|
|
707
|
+
"Artifact",
|
|
708
|
+
{
|
|
709
|
+
"archive_download_url": Required["str"],
|
|
710
|
+
"created_at": Required["str | None"],
|
|
711
|
+
"digest": NotRequired["str | None"],
|
|
712
|
+
"expired": Required["bool"],
|
|
713
|
+
"expires_at": Required["str | None"],
|
|
714
|
+
"id": Required["int"],
|
|
715
|
+
"name": Required["str"],
|
|
716
|
+
"node_id": Required["str"],
|
|
717
|
+
"size_in_bytes": Required["int"],
|
|
718
|
+
"updated_at": Required["str | None"],
|
|
719
|
+
"url": Required["str"],
|
|
720
|
+
"workflow_run": NotRequired["ArtifactWorkflowRunVariant0 | None"],
|
|
721
|
+
},
|
|
722
|
+
total=False,
|
|
723
|
+
)
|
|
724
|
+
ArtifactDeploymentRecord = TypedDict(
|
|
725
|
+
"ArtifactDeploymentRecord",
|
|
726
|
+
{
|
|
727
|
+
"attestation_id": NotRequired["int | None"],
|
|
728
|
+
"cluster": NotRequired["str"],
|
|
729
|
+
"created_at": NotRequired["str"],
|
|
730
|
+
"deployment_name": NotRequired["str"],
|
|
731
|
+
"digest": NotRequired["str"],
|
|
732
|
+
"id": NotRequired["int"],
|
|
733
|
+
"logical_environment": NotRequired["str"],
|
|
734
|
+
"physical_environment": NotRequired["str"],
|
|
735
|
+
"runtime_risks": NotRequired[
|
|
736
|
+
"list[Literal['critical-resource', 'internet-exposed', 'lateral-movement', 'sensitive-data']]"
|
|
737
|
+
],
|
|
738
|
+
"tags": NotRequired["dict[str, str]"],
|
|
739
|
+
"updated_at": NotRequired["str"],
|
|
740
|
+
},
|
|
741
|
+
total=False,
|
|
742
|
+
)
|
|
743
|
+
ArtifactWorkflowRunVariant0 = TypedDict(
|
|
744
|
+
"ArtifactWorkflowRunVariant0",
|
|
745
|
+
{
|
|
746
|
+
"head_branch": NotRequired["str"],
|
|
747
|
+
"head_repository_id": NotRequired["int"],
|
|
748
|
+
"head_sha": NotRequired["str"],
|
|
749
|
+
"id": NotRequired["int"],
|
|
750
|
+
"repository_id": NotRequired["int"],
|
|
751
|
+
},
|
|
752
|
+
total=False,
|
|
753
|
+
)
|
|
754
|
+
AssignedIssueEvent = TypedDict(
|
|
755
|
+
"AssignedIssueEvent",
|
|
756
|
+
{
|
|
757
|
+
"actor": Required["SimpleUser"],
|
|
758
|
+
"assignee": Required["SimpleUser"],
|
|
759
|
+
"assigner": Required["SimpleUser"],
|
|
760
|
+
"commit_id": Required["str | None"],
|
|
761
|
+
"commit_url": Required["str | None"],
|
|
762
|
+
"created_at": Required["str"],
|
|
763
|
+
"event": Required["str"],
|
|
764
|
+
"id": Required["int"],
|
|
765
|
+
"intent": NotRequired["NullableIssueEventIntent"],
|
|
766
|
+
"node_id": Required["str"],
|
|
767
|
+
"performed_via_github_app": Required["Integration"],
|
|
768
|
+
"url": Required["str"],
|
|
769
|
+
},
|
|
770
|
+
total=False,
|
|
771
|
+
)
|
|
772
|
+
AuthenticationToken = TypedDict(
|
|
773
|
+
"AuthenticationToken",
|
|
774
|
+
{
|
|
775
|
+
"expires_at": Required["str"],
|
|
776
|
+
"permissions": NotRequired["dict[str, object]"],
|
|
777
|
+
"repositories": NotRequired["list[Repository]"],
|
|
778
|
+
"repository_selection": NotRequired["Literal['all', 'selected']"],
|
|
779
|
+
"single_file": NotRequired["str | None"],
|
|
780
|
+
"token": Required["str"],
|
|
781
|
+
},
|
|
782
|
+
total=False,
|
|
783
|
+
)
|
|
784
|
+
AuthorAssociation: TypeAlias = "Literal['COLLABORATOR', 'CONTRIBUTOR', 'FIRST_TIMER', 'FIRST_TIME_CONTRIBUTOR', 'MANNEQUIN', 'MEMBER', 'NONE', 'OWNER']"
|
|
785
|
+
Authorization = TypedDict(
|
|
786
|
+
"Authorization",
|
|
787
|
+
{
|
|
788
|
+
"app": Required["AuthorizationApp"],
|
|
789
|
+
"created_at": Required["str"],
|
|
790
|
+
"expires_at": Required["str | None"],
|
|
791
|
+
"fingerprint": Required["str | None"],
|
|
792
|
+
"hashed_token": Required["str | None"],
|
|
793
|
+
"id": Required["int"],
|
|
794
|
+
"installation": NotRequired["NullableScopedInstallation"],
|
|
795
|
+
"note": Required["str | None"],
|
|
796
|
+
"note_url": Required["str | None"],
|
|
797
|
+
"scopes": Required["list[str] | None"],
|
|
798
|
+
"token": Required["str"],
|
|
799
|
+
"token_last_eight": Required["str | None"],
|
|
800
|
+
"updated_at": Required["str"],
|
|
801
|
+
"url": Required["str"],
|
|
802
|
+
"user": NotRequired["NullableSimpleUser"],
|
|
803
|
+
},
|
|
804
|
+
total=False,
|
|
805
|
+
)
|
|
806
|
+
AuthorizationApp = TypedDict(
|
|
807
|
+
"AuthorizationApp",
|
|
808
|
+
{"client_id": Required["str"], "name": Required["str"], "url": Required["str"]},
|
|
809
|
+
total=False,
|
|
810
|
+
)
|
|
811
|
+
AutoMerge: TypeAlias = "AutoMergeVariant0 | None"
|
|
812
|
+
AutoMergeVariant0 = TypedDict(
|
|
813
|
+
"AutoMergeVariant0",
|
|
814
|
+
{
|
|
815
|
+
"commit_message": Required["str"],
|
|
816
|
+
"commit_title": Required["str"],
|
|
817
|
+
"enabled_by": Required["SimpleUser"],
|
|
818
|
+
"merge_method": Required["Literal['merge', 'squash', 'rebase']"],
|
|
819
|
+
},
|
|
820
|
+
total=False,
|
|
821
|
+
)
|
|
822
|
+
Autolink = TypedDict(
|
|
823
|
+
"Autolink",
|
|
824
|
+
{
|
|
825
|
+
"id": Required["int"],
|
|
826
|
+
"is_alphanumeric": Required["bool"],
|
|
827
|
+
"key_prefix": Required["str"],
|
|
828
|
+
"updated_at": NotRequired["str | None"],
|
|
829
|
+
"url_template": Required["str"],
|
|
830
|
+
},
|
|
831
|
+
total=False,
|
|
832
|
+
)
|
|
833
|
+
BaseGist = TypedDict(
|
|
834
|
+
"BaseGist",
|
|
835
|
+
{
|
|
836
|
+
"comments": Required["int"],
|
|
837
|
+
"comments_enabled": NotRequired["bool"],
|
|
838
|
+
"comments_url": Required["str"],
|
|
839
|
+
"commits_url": Required["str"],
|
|
840
|
+
"created_at": Required["str"],
|
|
841
|
+
"description": Required["str | None"],
|
|
842
|
+
"files": Required["dict[str, BaseGistFilesValue]"],
|
|
843
|
+
"forks_url": Required["str"],
|
|
844
|
+
"git_pull_url": Required["str"],
|
|
845
|
+
"git_push_url": Required["str"],
|
|
846
|
+
"html_url": Required["str"],
|
|
847
|
+
"id": Required["str"],
|
|
848
|
+
"node_id": Required["str"],
|
|
849
|
+
"owner": NotRequired["SimpleUser"],
|
|
850
|
+
"public": Required["bool"],
|
|
851
|
+
"truncated": NotRequired["bool"],
|
|
852
|
+
"updated_at": Required["str"],
|
|
853
|
+
"url": Required["str"],
|
|
854
|
+
},
|
|
855
|
+
total=False,
|
|
856
|
+
)
|
|
857
|
+
BaseGistFilesValue = TypedDict(
|
|
858
|
+
"BaseGistFilesValue",
|
|
859
|
+
{
|
|
860
|
+
"encoding": NotRequired["str"],
|
|
861
|
+
"filename": NotRequired["str"],
|
|
862
|
+
"language": NotRequired["str"],
|
|
863
|
+
"raw_url": NotRequired["str"],
|
|
864
|
+
"size": NotRequired["int"],
|
|
865
|
+
"type": NotRequired["str"],
|
|
866
|
+
},
|
|
867
|
+
total=False,
|
|
868
|
+
)
|
|
869
|
+
BasicError = TypedDict(
|
|
870
|
+
"BasicError",
|
|
871
|
+
{
|
|
872
|
+
"documentation_url": NotRequired["str"],
|
|
873
|
+
"message": NotRequired["str"],
|
|
874
|
+
"status": NotRequired["str"],
|
|
875
|
+
"url": NotRequired["str"],
|
|
876
|
+
},
|
|
877
|
+
total=False,
|
|
878
|
+
)
|
|
879
|
+
BillingAiCreditUsageReportOrg = TypedDict(
|
|
880
|
+
"BillingAiCreditUsageReportOrg",
|
|
881
|
+
{
|
|
882
|
+
"model": NotRequired["str"],
|
|
883
|
+
"organization": Required["str"],
|
|
884
|
+
"product": NotRequired["str"],
|
|
885
|
+
"timePeriod": Required["BillingAiCreditUsageReportOrgTimePeriod"],
|
|
886
|
+
"usageItems": Required["list[BillingAiCreditUsageReportOrgUsageItemsItem]"],
|
|
887
|
+
"user": NotRequired["str"],
|
|
888
|
+
},
|
|
889
|
+
total=False,
|
|
890
|
+
)
|
|
891
|
+
BillingAiCreditUsageReportOrgTimePeriod = TypedDict(
|
|
892
|
+
"BillingAiCreditUsageReportOrgTimePeriod",
|
|
893
|
+
{"day": NotRequired["int"], "month": NotRequired["int"], "year": Required["int"]},
|
|
894
|
+
total=False,
|
|
895
|
+
)
|
|
896
|
+
BillingAiCreditUsageReportOrgUsageItemsItem = TypedDict(
|
|
897
|
+
"BillingAiCreditUsageReportOrgUsageItemsItem",
|
|
898
|
+
{
|
|
899
|
+
"discountAmount": Required["float"],
|
|
900
|
+
"discountQuantity": Required["float"],
|
|
901
|
+
"grossAmount": Required["float"],
|
|
902
|
+
"grossQuantity": Required["float"],
|
|
903
|
+
"model": Required["str"],
|
|
904
|
+
"netAmount": Required["float"],
|
|
905
|
+
"netQuantity": Required["float"],
|
|
906
|
+
"pricePerUnit": Required["float"],
|
|
907
|
+
"product": Required["str"],
|
|
908
|
+
"sku": Required["str"],
|
|
909
|
+
"unitType": Required["str"],
|
|
910
|
+
},
|
|
911
|
+
total=False,
|
|
912
|
+
)
|
|
913
|
+
BillingAiCreditUsageReportUser = TypedDict(
|
|
914
|
+
"BillingAiCreditUsageReportUser",
|
|
915
|
+
{
|
|
916
|
+
"model": NotRequired["str"],
|
|
917
|
+
"product": NotRequired["str"],
|
|
918
|
+
"timePeriod": Required["BillingAiCreditUsageReportUserTimePeriod"],
|
|
919
|
+
"usageItems": Required["list[BillingAiCreditUsageReportUserUsageItemsItem]"],
|
|
920
|
+
"user": Required["str"],
|
|
921
|
+
},
|
|
922
|
+
total=False,
|
|
923
|
+
)
|
|
924
|
+
BillingAiCreditUsageReportUserTimePeriod = TypedDict(
|
|
925
|
+
"BillingAiCreditUsageReportUserTimePeriod",
|
|
926
|
+
{"day": NotRequired["int"], "month": NotRequired["int"], "year": Required["int"]},
|
|
927
|
+
total=False,
|
|
928
|
+
)
|
|
929
|
+
BillingAiCreditUsageReportUserUsageItemsItem = TypedDict(
|
|
930
|
+
"BillingAiCreditUsageReportUserUsageItemsItem",
|
|
931
|
+
{
|
|
932
|
+
"discountAmount": Required["float"],
|
|
933
|
+
"discountQuantity": Required["float"],
|
|
934
|
+
"grossAmount": Required["float"],
|
|
935
|
+
"grossQuantity": Required["float"],
|
|
936
|
+
"model": Required["str"],
|
|
937
|
+
"netAmount": Required["float"],
|
|
938
|
+
"netQuantity": Required["float"],
|
|
939
|
+
"pricePerUnit": Required["float"],
|
|
940
|
+
"product": Required["str"],
|
|
941
|
+
"sku": Required["str"],
|
|
942
|
+
"unitType": Required["str"],
|
|
943
|
+
},
|
|
944
|
+
total=False,
|
|
945
|
+
)
|
|
946
|
+
BillingPremiumRequestUsageReportOrg = TypedDict(
|
|
947
|
+
"BillingPremiumRequestUsageReportOrg",
|
|
948
|
+
{
|
|
949
|
+
"model": NotRequired["str"],
|
|
950
|
+
"organization": Required["str"],
|
|
951
|
+
"product": NotRequired["str"],
|
|
952
|
+
"timePeriod": Required["BillingPremiumRequestUsageReportOrgTimePeriod"],
|
|
953
|
+
"usageItems": Required["list[BillingPremiumRequestUsageReportOrgUsageItemsItem]"],
|
|
954
|
+
"user": NotRequired["str"],
|
|
955
|
+
},
|
|
956
|
+
total=False,
|
|
957
|
+
)
|
|
958
|
+
BillingPremiumRequestUsageReportOrgTimePeriod = TypedDict(
|
|
959
|
+
"BillingPremiumRequestUsageReportOrgTimePeriod",
|
|
960
|
+
{"day": NotRequired["int"], "month": NotRequired["int"], "year": Required["int"]},
|
|
961
|
+
total=False,
|
|
962
|
+
)
|
|
963
|
+
BillingPremiumRequestUsageReportOrgUsageItemsItem = TypedDict(
|
|
964
|
+
"BillingPremiumRequestUsageReportOrgUsageItemsItem",
|
|
965
|
+
{
|
|
966
|
+
"discountAmount": Required["float"],
|
|
967
|
+
"discountQuantity": Required["float"],
|
|
968
|
+
"grossAmount": Required["float"],
|
|
969
|
+
"grossQuantity": Required["float"],
|
|
970
|
+
"model": Required["str"],
|
|
971
|
+
"netAmount": Required["float"],
|
|
972
|
+
"netQuantity": Required["float"],
|
|
973
|
+
"pricePerUnit": Required["float"],
|
|
974
|
+
"product": Required["str"],
|
|
975
|
+
"sku": Required["str"],
|
|
976
|
+
"unitType": Required["str"],
|
|
977
|
+
},
|
|
978
|
+
total=False,
|
|
979
|
+
)
|
|
980
|
+
BillingPremiumRequestUsageReportUser = TypedDict(
|
|
981
|
+
"BillingPremiumRequestUsageReportUser",
|
|
982
|
+
{
|
|
983
|
+
"model": NotRequired["str"],
|
|
984
|
+
"product": NotRequired["str"],
|
|
985
|
+
"timePeriod": Required["BillingPremiumRequestUsageReportUserTimePeriod"],
|
|
986
|
+
"usageItems": Required["list[BillingPremiumRequestUsageReportUserUsageItemsItem]"],
|
|
987
|
+
"user": Required["str"],
|
|
988
|
+
},
|
|
989
|
+
total=False,
|
|
990
|
+
)
|
|
991
|
+
BillingPremiumRequestUsageReportUserTimePeriod = TypedDict(
|
|
992
|
+
"BillingPremiumRequestUsageReportUserTimePeriod",
|
|
993
|
+
{"day": NotRequired["int"], "month": NotRequired["int"], "year": Required["int"]},
|
|
994
|
+
total=False,
|
|
995
|
+
)
|
|
996
|
+
BillingPremiumRequestUsageReportUserUsageItemsItem = TypedDict(
|
|
997
|
+
"BillingPremiumRequestUsageReportUserUsageItemsItem",
|
|
998
|
+
{
|
|
999
|
+
"discountAmount": Required["float"],
|
|
1000
|
+
"discountQuantity": Required["float"],
|
|
1001
|
+
"grossAmount": Required["float"],
|
|
1002
|
+
"grossQuantity": Required["float"],
|
|
1003
|
+
"model": Required["str"],
|
|
1004
|
+
"netAmount": Required["float"],
|
|
1005
|
+
"netQuantity": Required["float"],
|
|
1006
|
+
"pricePerUnit": Required["float"],
|
|
1007
|
+
"product": Required["str"],
|
|
1008
|
+
"sku": Required["str"],
|
|
1009
|
+
"unitType": Required["str"],
|
|
1010
|
+
},
|
|
1011
|
+
total=False,
|
|
1012
|
+
)
|
|
1013
|
+
BillingUsageReport = TypedDict(
|
|
1014
|
+
"BillingUsageReport",
|
|
1015
|
+
{"usageItems": NotRequired["list[BillingUsageReportUsageItemsItem]"]},
|
|
1016
|
+
total=False,
|
|
1017
|
+
)
|
|
1018
|
+
BillingUsageReportUsageItemsItem = TypedDict(
|
|
1019
|
+
"BillingUsageReportUsageItemsItem",
|
|
1020
|
+
{
|
|
1021
|
+
"date": Required["str"],
|
|
1022
|
+
"discountAmount": Required["float"],
|
|
1023
|
+
"grossAmount": Required["float"],
|
|
1024
|
+
"netAmount": Required["float"],
|
|
1025
|
+
"organizationName": Required["str"],
|
|
1026
|
+
"pricePerUnit": Required["float"],
|
|
1027
|
+
"product": Required["str"],
|
|
1028
|
+
"quantity": Required["int"],
|
|
1029
|
+
"repositoryName": NotRequired["str"],
|
|
1030
|
+
"sku": Required["str"],
|
|
1031
|
+
"unitType": Required["str"],
|
|
1032
|
+
},
|
|
1033
|
+
total=False,
|
|
1034
|
+
)
|
|
1035
|
+
BillingUsageReportUser = TypedDict(
|
|
1036
|
+
"BillingUsageReportUser",
|
|
1037
|
+
{"usageItems": NotRequired["list[BillingUsageReportUserUsageItemsItem]"]},
|
|
1038
|
+
total=False,
|
|
1039
|
+
)
|
|
1040
|
+
BillingUsageReportUserUsageItemsItem = TypedDict(
|
|
1041
|
+
"BillingUsageReportUserUsageItemsItem",
|
|
1042
|
+
{
|
|
1043
|
+
"date": Required["str"],
|
|
1044
|
+
"discountAmount": Required["float"],
|
|
1045
|
+
"grossAmount": Required["float"],
|
|
1046
|
+
"netAmount": Required["float"],
|
|
1047
|
+
"pricePerUnit": Required["float"],
|
|
1048
|
+
"product": Required["str"],
|
|
1049
|
+
"quantity": Required["int"],
|
|
1050
|
+
"repositoryName": NotRequired["str"],
|
|
1051
|
+
"sku": Required["str"],
|
|
1052
|
+
"unitType": Required["str"],
|
|
1053
|
+
},
|
|
1054
|
+
total=False,
|
|
1055
|
+
)
|
|
1056
|
+
BillingUsageSummaryReportOrg = TypedDict(
|
|
1057
|
+
"BillingUsageSummaryReportOrg",
|
|
1058
|
+
{
|
|
1059
|
+
"organization": Required["str"],
|
|
1060
|
+
"product": NotRequired["str"],
|
|
1061
|
+
"repository": NotRequired["str"],
|
|
1062
|
+
"sku": NotRequired["str"],
|
|
1063
|
+
"timePeriod": Required["BillingUsageSummaryReportOrgTimePeriod"],
|
|
1064
|
+
"usageItems": Required["list[BillingUsageSummaryReportOrgUsageItemsItem]"],
|
|
1065
|
+
},
|
|
1066
|
+
total=False,
|
|
1067
|
+
)
|
|
1068
|
+
BillingUsageSummaryReportOrgTimePeriod = TypedDict(
|
|
1069
|
+
"BillingUsageSummaryReportOrgTimePeriod",
|
|
1070
|
+
{"day": NotRequired["int"], "month": NotRequired["int"], "year": Required["int"]},
|
|
1071
|
+
total=False,
|
|
1072
|
+
)
|
|
1073
|
+
BillingUsageSummaryReportOrgUsageItemsItem = TypedDict(
|
|
1074
|
+
"BillingUsageSummaryReportOrgUsageItemsItem",
|
|
1075
|
+
{
|
|
1076
|
+
"discountAmount": Required["float"],
|
|
1077
|
+
"discountQuantity": Required["float"],
|
|
1078
|
+
"grossAmount": Required["float"],
|
|
1079
|
+
"grossQuantity": Required["float"],
|
|
1080
|
+
"netAmount": Required["float"],
|
|
1081
|
+
"netQuantity": Required["float"],
|
|
1082
|
+
"pricePerUnit": Required["float"],
|
|
1083
|
+
"product": Required["str"],
|
|
1084
|
+
"sku": Required["str"],
|
|
1085
|
+
"unitType": Required["str"],
|
|
1086
|
+
},
|
|
1087
|
+
total=False,
|
|
1088
|
+
)
|
|
1089
|
+
BillingUsageSummaryReportUser = TypedDict(
|
|
1090
|
+
"BillingUsageSummaryReportUser",
|
|
1091
|
+
{
|
|
1092
|
+
"product": NotRequired["str"],
|
|
1093
|
+
"repository": NotRequired["str"],
|
|
1094
|
+
"sku": NotRequired["str"],
|
|
1095
|
+
"timePeriod": Required["BillingUsageSummaryReportUserTimePeriod"],
|
|
1096
|
+
"usageItems": Required["list[BillingUsageSummaryReportUserUsageItemsItem]"],
|
|
1097
|
+
"user": Required["str"],
|
|
1098
|
+
},
|
|
1099
|
+
total=False,
|
|
1100
|
+
)
|
|
1101
|
+
BillingUsageSummaryReportUserTimePeriod = TypedDict(
|
|
1102
|
+
"BillingUsageSummaryReportUserTimePeriod",
|
|
1103
|
+
{"day": NotRequired["int"], "month": NotRequired["int"], "year": Required["int"]},
|
|
1104
|
+
total=False,
|
|
1105
|
+
)
|
|
1106
|
+
BillingUsageSummaryReportUserUsageItemsItem = TypedDict(
|
|
1107
|
+
"BillingUsageSummaryReportUserUsageItemsItem",
|
|
1108
|
+
{
|
|
1109
|
+
"discountAmount": Required["float"],
|
|
1110
|
+
"discountQuantity": Required["float"],
|
|
1111
|
+
"grossAmount": Required["float"],
|
|
1112
|
+
"grossQuantity": Required["float"],
|
|
1113
|
+
"netAmount": Required["float"],
|
|
1114
|
+
"netQuantity": Required["float"],
|
|
1115
|
+
"pricePerUnit": Required["float"],
|
|
1116
|
+
"product": Required["str"],
|
|
1117
|
+
"sku": Required["str"],
|
|
1118
|
+
"unitType": Required["str"],
|
|
1119
|
+
},
|
|
1120
|
+
total=False,
|
|
1121
|
+
)
|
|
1122
|
+
Blob = TypedDict(
|
|
1123
|
+
"Blob",
|
|
1124
|
+
{
|
|
1125
|
+
"content": Required["str"],
|
|
1126
|
+
"encoding": Required["str"],
|
|
1127
|
+
"highlighted_content": NotRequired["str"],
|
|
1128
|
+
"node_id": Required["str"],
|
|
1129
|
+
"sha": Required["str"],
|
|
1130
|
+
"size": Required["int | None"],
|
|
1131
|
+
"url": Required["str"],
|
|
1132
|
+
},
|
|
1133
|
+
total=False,
|
|
1134
|
+
)
|
|
1135
|
+
BlockedByAddedIssueEvent = TypedDict(
|
|
1136
|
+
"BlockedByAddedIssueEvent",
|
|
1137
|
+
{
|
|
1138
|
+
"actor": Required["SimpleUser"],
|
|
1139
|
+
"blocked_by": Required["NullableIssueReference"],
|
|
1140
|
+
"commit_id": Required["str | None"],
|
|
1141
|
+
"commit_url": Required["str | None"],
|
|
1142
|
+
"created_at": Required["str"],
|
|
1143
|
+
"event": Required["str"],
|
|
1144
|
+
"id": Required["int"],
|
|
1145
|
+
"node_id": Required["str"],
|
|
1146
|
+
"performed_via_github_app": Required["NullableIntegration"],
|
|
1147
|
+
"url": Required["str"],
|
|
1148
|
+
},
|
|
1149
|
+
total=False,
|
|
1150
|
+
)
|
|
1151
|
+
BlockedByRemovedIssueEvent = TypedDict(
|
|
1152
|
+
"BlockedByRemovedIssueEvent",
|
|
1153
|
+
{
|
|
1154
|
+
"actor": Required["SimpleUser"],
|
|
1155
|
+
"blocked_by": Required["NullableIssueReference"],
|
|
1156
|
+
"commit_id": Required["str | None"],
|
|
1157
|
+
"commit_url": Required["str | None"],
|
|
1158
|
+
"created_at": Required["str"],
|
|
1159
|
+
"event": Required["str"],
|
|
1160
|
+
"id": Required["int"],
|
|
1161
|
+
"node_id": Required["str"],
|
|
1162
|
+
"performed_via_github_app": Required["NullableIntegration"],
|
|
1163
|
+
"url": Required["str"],
|
|
1164
|
+
},
|
|
1165
|
+
total=False,
|
|
1166
|
+
)
|
|
1167
|
+
BlockingAddedIssueEvent = TypedDict(
|
|
1168
|
+
"BlockingAddedIssueEvent",
|
|
1169
|
+
{
|
|
1170
|
+
"actor": Required["SimpleUser"],
|
|
1171
|
+
"blocking": Required["NullableIssueReference"],
|
|
1172
|
+
"commit_id": Required["str | None"],
|
|
1173
|
+
"commit_url": Required["str | None"],
|
|
1174
|
+
"created_at": Required["str"],
|
|
1175
|
+
"event": Required["str"],
|
|
1176
|
+
"id": Required["int"],
|
|
1177
|
+
"node_id": Required["str"],
|
|
1178
|
+
"performed_via_github_app": Required["NullableIntegration"],
|
|
1179
|
+
"url": Required["str"],
|
|
1180
|
+
},
|
|
1181
|
+
total=False,
|
|
1182
|
+
)
|
|
1183
|
+
BlockingRemovedIssueEvent = TypedDict(
|
|
1184
|
+
"BlockingRemovedIssueEvent",
|
|
1185
|
+
{
|
|
1186
|
+
"actor": Required["SimpleUser"],
|
|
1187
|
+
"blocking": Required["NullableIssueReference"],
|
|
1188
|
+
"commit_id": Required["str | None"],
|
|
1189
|
+
"commit_url": Required["str | None"],
|
|
1190
|
+
"created_at": Required["str"],
|
|
1191
|
+
"event": Required["str"],
|
|
1192
|
+
"id": Required["int"],
|
|
1193
|
+
"node_id": Required["str"],
|
|
1194
|
+
"performed_via_github_app": Required["NullableIntegration"],
|
|
1195
|
+
"url": Required["str"],
|
|
1196
|
+
},
|
|
1197
|
+
total=False,
|
|
1198
|
+
)
|
|
1199
|
+
BranchProtection = TypedDict(
|
|
1200
|
+
"BranchProtection",
|
|
1201
|
+
{
|
|
1202
|
+
"allow_deletions": NotRequired["BranchProtectionAllowDeletions"],
|
|
1203
|
+
"allow_force_pushes": NotRequired["BranchProtectionAllowForcePushes"],
|
|
1204
|
+
"allow_fork_syncing": NotRequired["BranchProtectionAllowForkSyncing"],
|
|
1205
|
+
"block_creations": NotRequired["BranchProtectionBlockCreations"],
|
|
1206
|
+
"enabled": NotRequired["bool"],
|
|
1207
|
+
"enforce_admins": NotRequired["ProtectedBranchAdminEnforced"],
|
|
1208
|
+
"lock_branch": NotRequired["BranchProtectionLockBranch"],
|
|
1209
|
+
"name": NotRequired["str"],
|
|
1210
|
+
"protection_url": NotRequired["str"],
|
|
1211
|
+
"required_conversation_resolution": NotRequired[
|
|
1212
|
+
"BranchProtectionRequiredConversationResolution"
|
|
1213
|
+
],
|
|
1214
|
+
"required_linear_history": NotRequired["BranchProtectionRequiredLinearHistory"],
|
|
1215
|
+
"required_pull_request_reviews": NotRequired["ProtectedBranchPullRequestReview"],
|
|
1216
|
+
"required_signatures": NotRequired["BranchProtectionRequiredSignatures"],
|
|
1217
|
+
"required_status_checks": NotRequired["ProtectedBranchRequiredStatusCheck"],
|
|
1218
|
+
"restrictions": NotRequired["BranchRestrictionPolicy"],
|
|
1219
|
+
"url": NotRequired["str"],
|
|
1220
|
+
},
|
|
1221
|
+
total=False,
|
|
1222
|
+
)
|
|
1223
|
+
BranchProtectionAllowDeletions = TypedDict(
|
|
1224
|
+
"BranchProtectionAllowDeletions", {"enabled": NotRequired["bool"]}, total=False
|
|
1225
|
+
)
|
|
1226
|
+
BranchProtectionAllowForcePushes = TypedDict(
|
|
1227
|
+
"BranchProtectionAllowForcePushes", {"enabled": NotRequired["bool"]}, total=False
|
|
1228
|
+
)
|
|
1229
|
+
BranchProtectionAllowForkSyncing = TypedDict(
|
|
1230
|
+
"BranchProtectionAllowForkSyncing", {"enabled": NotRequired["bool"]}, total=False
|
|
1231
|
+
)
|
|
1232
|
+
BranchProtectionBlockCreations = TypedDict(
|
|
1233
|
+
"BranchProtectionBlockCreations", {"enabled": NotRequired["bool"]}, total=False
|
|
1234
|
+
)
|
|
1235
|
+
BranchProtectionLockBranch = TypedDict(
|
|
1236
|
+
"BranchProtectionLockBranch", {"enabled": NotRequired["bool"]}, total=False
|
|
1237
|
+
)
|
|
1238
|
+
BranchProtectionRequiredConversationResolution = TypedDict(
|
|
1239
|
+
"BranchProtectionRequiredConversationResolution", {"enabled": NotRequired["bool"]}, total=False
|
|
1240
|
+
)
|
|
1241
|
+
BranchProtectionRequiredLinearHistory = TypedDict(
|
|
1242
|
+
"BranchProtectionRequiredLinearHistory", {"enabled": NotRequired["bool"]}, total=False
|
|
1243
|
+
)
|
|
1244
|
+
BranchProtectionRequiredSignatures = TypedDict(
|
|
1245
|
+
"BranchProtectionRequiredSignatures",
|
|
1246
|
+
{"enabled": Required["bool"], "url": Required["str"]},
|
|
1247
|
+
total=False,
|
|
1248
|
+
)
|
|
1249
|
+
BranchRestrictionPolicy = TypedDict(
|
|
1250
|
+
"BranchRestrictionPolicy",
|
|
1251
|
+
{
|
|
1252
|
+
"apps": Required["list[BranchRestrictionPolicyAppsItem]"],
|
|
1253
|
+
"apps_url": Required["str"],
|
|
1254
|
+
"teams": Required["list[Team]"],
|
|
1255
|
+
"teams_url": Required["str"],
|
|
1256
|
+
"url": Required["str"],
|
|
1257
|
+
"users": Required["list[BranchRestrictionPolicyUsersItem]"],
|
|
1258
|
+
"users_url": Required["str"],
|
|
1259
|
+
},
|
|
1260
|
+
total=False,
|
|
1261
|
+
)
|
|
1262
|
+
BranchRestrictionPolicyAppsItem = TypedDict(
|
|
1263
|
+
"BranchRestrictionPolicyAppsItem",
|
|
1264
|
+
{
|
|
1265
|
+
"client_id": NotRequired["str"],
|
|
1266
|
+
"created_at": NotRequired["str"],
|
|
1267
|
+
"description": NotRequired["str"],
|
|
1268
|
+
"events": NotRequired["list[str]"],
|
|
1269
|
+
"external_url": NotRequired["str"],
|
|
1270
|
+
"html_url": NotRequired["str"],
|
|
1271
|
+
"id": NotRequired["int"],
|
|
1272
|
+
"name": NotRequired["str"],
|
|
1273
|
+
"node_id": NotRequired["str"],
|
|
1274
|
+
"owner": NotRequired["BranchRestrictionPolicyAppsItemOwner"],
|
|
1275
|
+
"permissions": NotRequired["BranchRestrictionPolicyAppsItemPermissions"],
|
|
1276
|
+
"slug": NotRequired["str"],
|
|
1277
|
+
"updated_at": NotRequired["str"],
|
|
1278
|
+
},
|
|
1279
|
+
total=False,
|
|
1280
|
+
)
|
|
1281
|
+
BranchRestrictionPolicyAppsItemOwner = TypedDict(
|
|
1282
|
+
"BranchRestrictionPolicyAppsItemOwner",
|
|
1283
|
+
{
|
|
1284
|
+
"avatar_url": NotRequired["str"],
|
|
1285
|
+
"description": NotRequired["str"],
|
|
1286
|
+
"events_url": NotRequired["str"],
|
|
1287
|
+
"followers_url": NotRequired["str"],
|
|
1288
|
+
"following_url": NotRequired["str"],
|
|
1289
|
+
"gists_url": NotRequired["str"],
|
|
1290
|
+
"gravatar_id": NotRequired["str"],
|
|
1291
|
+
"hooks_url": NotRequired["str"],
|
|
1292
|
+
"html_url": NotRequired["str"],
|
|
1293
|
+
"id": NotRequired["int"],
|
|
1294
|
+
"issues_url": NotRequired["str"],
|
|
1295
|
+
"login": NotRequired["str"],
|
|
1296
|
+
"members_url": NotRequired["str"],
|
|
1297
|
+
"node_id": NotRequired["str"],
|
|
1298
|
+
"organizations_url": NotRequired["str"],
|
|
1299
|
+
"public_members_url": NotRequired["str"],
|
|
1300
|
+
"received_events_url": NotRequired["str"],
|
|
1301
|
+
"repos_url": NotRequired["str"],
|
|
1302
|
+
"site_admin": NotRequired["bool"],
|
|
1303
|
+
"starred_url": NotRequired["str"],
|
|
1304
|
+
"subscriptions_url": NotRequired["str"],
|
|
1305
|
+
"type": NotRequired["str"],
|
|
1306
|
+
"url": NotRequired["str"],
|
|
1307
|
+
"user_view_type": NotRequired["str"],
|
|
1308
|
+
},
|
|
1309
|
+
total=False,
|
|
1310
|
+
)
|
|
1311
|
+
BranchRestrictionPolicyAppsItemPermissions = TypedDict(
|
|
1312
|
+
"BranchRestrictionPolicyAppsItemPermissions",
|
|
1313
|
+
{
|
|
1314
|
+
"contents": NotRequired["str"],
|
|
1315
|
+
"issues": NotRequired["str"],
|
|
1316
|
+
"metadata": NotRequired["str"],
|
|
1317
|
+
"single_file": NotRequired["str"],
|
|
1318
|
+
},
|
|
1319
|
+
total=False,
|
|
1320
|
+
)
|
|
1321
|
+
BranchRestrictionPolicyUsersItem = TypedDict(
|
|
1322
|
+
"BranchRestrictionPolicyUsersItem",
|
|
1323
|
+
{
|
|
1324
|
+
"avatar_url": NotRequired["str"],
|
|
1325
|
+
"events_url": NotRequired["str"],
|
|
1326
|
+
"followers_url": NotRequired["str"],
|
|
1327
|
+
"following_url": NotRequired["str"],
|
|
1328
|
+
"gists_url": NotRequired["str"],
|
|
1329
|
+
"gravatar_id": NotRequired["str"],
|
|
1330
|
+
"html_url": NotRequired["str"],
|
|
1331
|
+
"id": NotRequired["int"],
|
|
1332
|
+
"login": NotRequired["str"],
|
|
1333
|
+
"node_id": NotRequired["str"],
|
|
1334
|
+
"organizations_url": NotRequired["str"],
|
|
1335
|
+
"received_events_url": NotRequired["str"],
|
|
1336
|
+
"repos_url": NotRequired["str"],
|
|
1337
|
+
"site_admin": NotRequired["bool"],
|
|
1338
|
+
"starred_url": NotRequired["str"],
|
|
1339
|
+
"subscriptions_url": NotRequired["str"],
|
|
1340
|
+
"type": NotRequired["str"],
|
|
1341
|
+
"url": NotRequired["str"],
|
|
1342
|
+
"user_view_type": NotRequired["str"],
|
|
1343
|
+
},
|
|
1344
|
+
total=False,
|
|
1345
|
+
)
|
|
1346
|
+
BranchShort = TypedDict(
|
|
1347
|
+
"BranchShort",
|
|
1348
|
+
{
|
|
1349
|
+
"commit": Required["BranchShortCommit"],
|
|
1350
|
+
"name": Required["str"],
|
|
1351
|
+
"protected": Required["bool"],
|
|
1352
|
+
},
|
|
1353
|
+
total=False,
|
|
1354
|
+
)
|
|
1355
|
+
BranchShortCommit = TypedDict(
|
|
1356
|
+
"BranchShortCommit", {"sha": Required["str"], "url": Required["str"]}, total=False
|
|
1357
|
+
)
|
|
1358
|
+
BranchWithProtection = TypedDict(
|
|
1359
|
+
"BranchWithProtection",
|
|
1360
|
+
{
|
|
1361
|
+
"_links": Required["BranchWithProtectionLinks"],
|
|
1362
|
+
"commit": Required["Commit"],
|
|
1363
|
+
"name": Required["str"],
|
|
1364
|
+
"pattern": NotRequired["str"],
|
|
1365
|
+
"protected": Required["bool"],
|
|
1366
|
+
"protection": Required["BranchProtection"],
|
|
1367
|
+
"protection_url": Required["str"],
|
|
1368
|
+
"required_approving_review_count": NotRequired["int"],
|
|
1369
|
+
},
|
|
1370
|
+
total=False,
|
|
1371
|
+
)
|
|
1372
|
+
BranchWithProtectionLinks = TypedDict(
|
|
1373
|
+
"BranchWithProtectionLinks", {"html": Required["str"], "self": Required["str"]}, total=False
|
|
1374
|
+
)
|
|
1375
|
+
Budget = TypedDict(
|
|
1376
|
+
"Budget",
|
|
1377
|
+
{
|
|
1378
|
+
"budget_alerting": Required["BudgetBudgetAlerting"],
|
|
1379
|
+
"budget_amount": Required["int"],
|
|
1380
|
+
"budget_entity_name": NotRequired["str"],
|
|
1381
|
+
"budget_product_sku": Required["str"],
|
|
1382
|
+
"budget_scope": Required[
|
|
1383
|
+
"Literal['enterprise', 'organization', 'repository', 'cost_center', 'multi_user_customer', 'multi_user_cost_center', 'user']"
|
|
1384
|
+
],
|
|
1385
|
+
"budget_type": Required["Literal['SkuPricing'] | Literal['ProductPricing']"],
|
|
1386
|
+
"consumed_amount": NotRequired["float"],
|
|
1387
|
+
"expires_at": NotRequired["str"],
|
|
1388
|
+
"id": Required["str"],
|
|
1389
|
+
"prevent_further_usage": Required["bool"],
|
|
1390
|
+
"user": NotRequired["str"],
|
|
1391
|
+
},
|
|
1392
|
+
total=False,
|
|
1393
|
+
)
|
|
1394
|
+
BudgetBudgetAlerting = TypedDict(
|
|
1395
|
+
"BudgetBudgetAlerting",
|
|
1396
|
+
{"alert_recipients": Required["list[str]"], "will_alert": Required["bool"]},
|
|
1397
|
+
total=False,
|
|
1398
|
+
)
|
|
1399
|
+
CampaignAlertType: TypeAlias = "Literal['code_scanning', 'secret_scanning']"
|
|
1400
|
+
CampaignState: TypeAlias = "Literal['open', 'closed']"
|
|
1401
|
+
CampaignSummary = TypedDict(
|
|
1402
|
+
"CampaignSummary",
|
|
1403
|
+
{
|
|
1404
|
+
"alert_stats": NotRequired["CampaignSummaryAlertStats"],
|
|
1405
|
+
"closed_at": NotRequired["str | None"],
|
|
1406
|
+
"contact_link": Required["str | None"],
|
|
1407
|
+
"created_at": Required["str"],
|
|
1408
|
+
"description": Required["str"],
|
|
1409
|
+
"ends_at": Required["str"],
|
|
1410
|
+
"managers": Required["list[SimpleUser]"],
|
|
1411
|
+
"name": NotRequired["str"],
|
|
1412
|
+
"number": Required["int"],
|
|
1413
|
+
"published_at": NotRequired["str"],
|
|
1414
|
+
"state": Required["CampaignState"],
|
|
1415
|
+
"team_managers": NotRequired["list[Team]"],
|
|
1416
|
+
"updated_at": Required["str"],
|
|
1417
|
+
},
|
|
1418
|
+
total=False,
|
|
1419
|
+
)
|
|
1420
|
+
CampaignSummaryAlertStats = TypedDict(
|
|
1421
|
+
"CampaignSummaryAlertStats",
|
|
1422
|
+
{
|
|
1423
|
+
"closed_count": Required["int"],
|
|
1424
|
+
"in_progress_count": Required["int"],
|
|
1425
|
+
"open_count": Required["int"],
|
|
1426
|
+
},
|
|
1427
|
+
total=False,
|
|
1428
|
+
)
|
|
1429
|
+
CheckAnnotation = TypedDict(
|
|
1430
|
+
"CheckAnnotation",
|
|
1431
|
+
{
|
|
1432
|
+
"annotation_level": Required["str | None"],
|
|
1433
|
+
"blob_href": Required["str"],
|
|
1434
|
+
"end_column": Required["int | None"],
|
|
1435
|
+
"end_line": Required["int"],
|
|
1436
|
+
"message": Required["str | None"],
|
|
1437
|
+
"path": Required["str"],
|
|
1438
|
+
"raw_details": Required["str | None"],
|
|
1439
|
+
"start_column": Required["int | None"],
|
|
1440
|
+
"start_line": Required["int"],
|
|
1441
|
+
"title": Required["str | None"],
|
|
1442
|
+
},
|
|
1443
|
+
total=False,
|
|
1444
|
+
)
|
|
1445
|
+
CheckAutomatedSecurityFixes = TypedDict(
|
|
1446
|
+
"CheckAutomatedSecurityFixes",
|
|
1447
|
+
{"enabled": Required["bool"], "paused": Required["bool"]},
|
|
1448
|
+
total=False,
|
|
1449
|
+
)
|
|
1450
|
+
CheckImmutableReleases = TypedDict(
|
|
1451
|
+
"CheckImmutableReleases",
|
|
1452
|
+
{"enabled": Required["bool"], "enforced_by_owner": Required["bool"]},
|
|
1453
|
+
total=False,
|
|
1454
|
+
)
|
|
1455
|
+
CheckRun = TypedDict(
|
|
1456
|
+
"CheckRun",
|
|
1457
|
+
{
|
|
1458
|
+
"app": Required["NullableIntegration"],
|
|
1459
|
+
"check_suite": Required["CheckRunCheckSuiteVariant0 | None"],
|
|
1460
|
+
"completed_at": Required["str | None"],
|
|
1461
|
+
"conclusion": Required[
|
|
1462
|
+
"Literal['success', 'failure', 'neutral', 'cancelled', 'skipped', 'timed_out', 'action_required'] | None"
|
|
1463
|
+
],
|
|
1464
|
+
"deployment": NotRequired["DeploymentSimple"],
|
|
1465
|
+
"details_url": Required["str | None"],
|
|
1466
|
+
"external_id": Required["str | None"],
|
|
1467
|
+
"head_sha": Required["str"],
|
|
1468
|
+
"html_url": Required["str | None"],
|
|
1469
|
+
"id": Required["int"],
|
|
1470
|
+
"name": Required["str"],
|
|
1471
|
+
"node_id": Required["str"],
|
|
1472
|
+
"output": Required["CheckRunOutput"],
|
|
1473
|
+
"pull_requests": Required["list[PullRequestMinimal]"],
|
|
1474
|
+
"started_at": Required["str | None"],
|
|
1475
|
+
"status": Required[
|
|
1476
|
+
"Literal['queued', 'in_progress', 'completed', 'waiting', 'requested', 'pending']"
|
|
1477
|
+
],
|
|
1478
|
+
"url": Required["str"],
|
|
1479
|
+
},
|
|
1480
|
+
total=False,
|
|
1481
|
+
)
|
|
1482
|
+
CheckRunCheckSuiteVariant0 = TypedDict(
|
|
1483
|
+
"CheckRunCheckSuiteVariant0", {"id": Required["int"]}, total=False
|
|
1484
|
+
)
|
|
1485
|
+
CheckRunOutput = TypedDict(
|
|
1486
|
+
"CheckRunOutput",
|
|
1487
|
+
{
|
|
1488
|
+
"annotations_count": Required["int"],
|
|
1489
|
+
"annotations_url": Required["str"],
|
|
1490
|
+
"summary": Required["str | None"],
|
|
1491
|
+
"text": Required["str | None"],
|
|
1492
|
+
"title": Required["str | None"],
|
|
1493
|
+
},
|
|
1494
|
+
total=False,
|
|
1495
|
+
)
|
|
1496
|
+
CheckRunWithSimpleCheckSuite = TypedDict(
|
|
1497
|
+
"CheckRunWithSimpleCheckSuite",
|
|
1498
|
+
{
|
|
1499
|
+
"app": Required["Integration"],
|
|
1500
|
+
"check_suite": Required["SimpleCheckSuite"],
|
|
1501
|
+
"completed_at": Required["str | None"],
|
|
1502
|
+
"conclusion": Required[
|
|
1503
|
+
"Literal['waiting', 'pending', 'startup_failure', 'stale', 'success', 'failure', 'neutral', 'cancelled', 'skipped', 'timed_out', 'action_required'] | None"
|
|
1504
|
+
],
|
|
1505
|
+
"deployment": NotRequired["DeploymentSimple"],
|
|
1506
|
+
"details_url": Required["str"],
|
|
1507
|
+
"external_id": Required["str"],
|
|
1508
|
+
"head_sha": Required["str"],
|
|
1509
|
+
"html_url": Required["str"],
|
|
1510
|
+
"id": Required["int"],
|
|
1511
|
+
"name": Required["str"],
|
|
1512
|
+
"node_id": Required["str"],
|
|
1513
|
+
"output": Required["CheckRunWithSimpleCheckSuiteOutput"],
|
|
1514
|
+
"pull_requests": Required["list[PullRequestMinimal]"],
|
|
1515
|
+
"started_at": Required["str"],
|
|
1516
|
+
"status": Required["Literal['queued', 'in_progress', 'completed', 'pending']"],
|
|
1517
|
+
"url": Required["str"],
|
|
1518
|
+
},
|
|
1519
|
+
total=False,
|
|
1520
|
+
)
|
|
1521
|
+
CheckRunWithSimpleCheckSuiteOutput = TypedDict(
|
|
1522
|
+
"CheckRunWithSimpleCheckSuiteOutput",
|
|
1523
|
+
{
|
|
1524
|
+
"annotations_count": Required["int"],
|
|
1525
|
+
"annotations_url": Required["str"],
|
|
1526
|
+
"summary": Required["str | None"],
|
|
1527
|
+
"text": Required["str | None"],
|
|
1528
|
+
"title": Required["str | None"],
|
|
1529
|
+
},
|
|
1530
|
+
total=False,
|
|
1531
|
+
)
|
|
1532
|
+
CheckSuite = TypedDict(
|
|
1533
|
+
"CheckSuite",
|
|
1534
|
+
{
|
|
1535
|
+
"after": Required["str | None"],
|
|
1536
|
+
"app": Required["NullableIntegration"],
|
|
1537
|
+
"before": Required["str | None"],
|
|
1538
|
+
"check_runs_url": Required["str"],
|
|
1539
|
+
"conclusion": Required[
|
|
1540
|
+
"Literal['success', 'failure', 'neutral', 'cancelled', 'skipped', 'timed_out', 'action_required', 'startup_failure', 'stale'] | None | None"
|
|
1541
|
+
],
|
|
1542
|
+
"created_at": Required["str | None"],
|
|
1543
|
+
"head_branch": Required["str | None"],
|
|
1544
|
+
"head_commit": Required["SimpleCommit"],
|
|
1545
|
+
"head_sha": Required["str"],
|
|
1546
|
+
"id": Required["int"],
|
|
1547
|
+
"latest_check_runs_count": Required["int"],
|
|
1548
|
+
"node_id": Required["str"],
|
|
1549
|
+
"pull_requests": Required["list[PullRequestMinimal] | None"],
|
|
1550
|
+
"repository": Required["MinimalRepository"],
|
|
1551
|
+
"rerequestable": NotRequired["bool"],
|
|
1552
|
+
"runs_rerequestable": NotRequired["bool"],
|
|
1553
|
+
"status": Required[
|
|
1554
|
+
"Literal['queued', 'in_progress', 'completed', 'waiting', 'requested', 'pending'] | None"
|
|
1555
|
+
],
|
|
1556
|
+
"updated_at": Required["str | None"],
|
|
1557
|
+
"url": Required["str | None"],
|
|
1558
|
+
},
|
|
1559
|
+
total=False,
|
|
1560
|
+
)
|
|
1561
|
+
CheckSuitePreference = TypedDict(
|
|
1562
|
+
"CheckSuitePreference",
|
|
1563
|
+
{
|
|
1564
|
+
"preferences": Required["CheckSuitePreferencePreferences"],
|
|
1565
|
+
"repository": Required["MinimalRepository"],
|
|
1566
|
+
},
|
|
1567
|
+
total=False,
|
|
1568
|
+
)
|
|
1569
|
+
CheckSuitePreferencePreferences = TypedDict(
|
|
1570
|
+
"CheckSuitePreferencePreferences",
|
|
1571
|
+
{
|
|
1572
|
+
"auto_trigger_checks": NotRequired[
|
|
1573
|
+
"list[CheckSuitePreferencePreferencesAutoTriggerChecksItem]"
|
|
1574
|
+
]
|
|
1575
|
+
},
|
|
1576
|
+
total=False,
|
|
1577
|
+
)
|
|
1578
|
+
CheckSuitePreferencePreferencesAutoTriggerChecksItem = TypedDict(
|
|
1579
|
+
"CheckSuitePreferencePreferencesAutoTriggerChecksItem",
|
|
1580
|
+
{"app_id": Required["int"], "setting": Required["bool"]},
|
|
1581
|
+
total=False,
|
|
1582
|
+
)
|
|
1583
|
+
CloneTraffic = TypedDict(
|
|
1584
|
+
"CloneTraffic",
|
|
1585
|
+
{"clones": Required["list[Traffic]"], "count": Required["int"], "uniques": Required["int"]},
|
|
1586
|
+
total=False,
|
|
1587
|
+
)
|
|
1588
|
+
CodeFrequencyStat: TypeAlias = "list[int]"
|
|
1589
|
+
CodeOfConduct = TypedDict(
|
|
1590
|
+
"CodeOfConduct",
|
|
1591
|
+
{
|
|
1592
|
+
"body": NotRequired["str"],
|
|
1593
|
+
"html_url": Required["str | None"],
|
|
1594
|
+
"key": Required["str"],
|
|
1595
|
+
"name": Required["str"],
|
|
1596
|
+
"url": Required["str"],
|
|
1597
|
+
},
|
|
1598
|
+
total=False,
|
|
1599
|
+
)
|
|
1600
|
+
CodeOfConductSimple = TypedDict(
|
|
1601
|
+
"CodeOfConductSimple",
|
|
1602
|
+
{
|
|
1603
|
+
"html_url": Required["str | None"],
|
|
1604
|
+
"key": Required["str"],
|
|
1605
|
+
"name": Required["str"],
|
|
1606
|
+
"url": Required["str"],
|
|
1607
|
+
},
|
|
1608
|
+
total=False,
|
|
1609
|
+
)
|
|
1610
|
+
CodeQualityFinding = TypedDict(
|
|
1611
|
+
"CodeQualityFinding",
|
|
1612
|
+
{
|
|
1613
|
+
"created_at": NotRequired["str"],
|
|
1614
|
+
"location": Required["CodeQualityFindingLocation"],
|
|
1615
|
+
"message": Required["CodeQualityFindingMessage"],
|
|
1616
|
+
"number": Required["int"],
|
|
1617
|
+
"rule": Required["CodeQualityFindingRule"],
|
|
1618
|
+
"state": Required["Literal['open', 'dismissed']"],
|
|
1619
|
+
"url": Required["str"],
|
|
1620
|
+
},
|
|
1621
|
+
total=False,
|
|
1622
|
+
)
|
|
1623
|
+
CodeQualityFindingLocation = TypedDict(
|
|
1624
|
+
"CodeQualityFindingLocation",
|
|
1625
|
+
{
|
|
1626
|
+
"end_column": NotRequired["int"],
|
|
1627
|
+
"end_line": NotRequired["int"],
|
|
1628
|
+
"path": Required["str"],
|
|
1629
|
+
"start_column": NotRequired["int"],
|
|
1630
|
+
"start_line": NotRequired["int"],
|
|
1631
|
+
},
|
|
1632
|
+
total=False,
|
|
1633
|
+
)
|
|
1634
|
+
CodeQualityFindingMessage = TypedDict(
|
|
1635
|
+
"CodeQualityFindingMessage", {"markdown": Required["str"], "text": Required["str"]}, total=False
|
|
1636
|
+
)
|
|
1637
|
+
CodeQualityFindingRule = TypedDict(
|
|
1638
|
+
"CodeQualityFindingRule",
|
|
1639
|
+
{
|
|
1640
|
+
"category": Required["Literal['none', 'maintainability', 'reliability']"],
|
|
1641
|
+
"description": Required["str"],
|
|
1642
|
+
"help": NotRequired["str"],
|
|
1643
|
+
"id": Required["str"],
|
|
1644
|
+
"severity": Required["Literal['error', 'warning', 'note', 'none']"],
|
|
1645
|
+
"title": Required["str"],
|
|
1646
|
+
},
|
|
1647
|
+
total=False,
|
|
1648
|
+
)
|
|
1649
|
+
CodeQualitySetup = TypedDict(
|
|
1650
|
+
"CodeQualitySetup",
|
|
1651
|
+
{
|
|
1652
|
+
"ai_findings_option": NotRequired["Literal['disabled', 'on_push'] | None"],
|
|
1653
|
+
"languages": NotRequired[
|
|
1654
|
+
"list[Literal['csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'rust']]"
|
|
1655
|
+
],
|
|
1656
|
+
"runner_label": NotRequired["str | None"],
|
|
1657
|
+
"runner_type": NotRequired["Literal['standard', 'labeled'] | None"],
|
|
1658
|
+
"schedule": NotRequired["Literal['weekly'] | None"],
|
|
1659
|
+
"state": NotRequired["Literal['configured', 'not-configured']"],
|
|
1660
|
+
"updated_at": NotRequired["str | None"],
|
|
1661
|
+
},
|
|
1662
|
+
total=False,
|
|
1663
|
+
)
|
|
1664
|
+
CodeQualitySetupUpdate: TypeAlias = "CodeQualitySetupUpdateVariant0 | CodeQualitySetupUpdateVariant1 | CodeQualitySetupUpdateVariant2 | CodeQualitySetupUpdateVariant3 | CodeQualitySetupUpdateVariant4"
|
|
1665
|
+
CodeQualitySetupUpdateResponse = TypedDict(
|
|
1666
|
+
"CodeQualitySetupUpdateResponse",
|
|
1667
|
+
{"run_id": NotRequired["int"], "run_url": NotRequired["str"]},
|
|
1668
|
+
total=False,
|
|
1669
|
+
)
|
|
1670
|
+
CodeQualitySetupUpdateVariant0 = TypedDict(
|
|
1671
|
+
"CodeQualitySetupUpdateVariant0",
|
|
1672
|
+
{
|
|
1673
|
+
"ai_findings_option": NotRequired["Literal['disabled', 'on_push']"],
|
|
1674
|
+
"languages": NotRequired[
|
|
1675
|
+
"list[Literal['csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby']]"
|
|
1676
|
+
],
|
|
1677
|
+
"runner_label": NotRequired["str | None"],
|
|
1678
|
+
"runner_type": NotRequired["Literal['standard', 'labeled']"],
|
|
1679
|
+
"state": Required["Literal['configured', 'not-configured']"],
|
|
1680
|
+
},
|
|
1681
|
+
total=False,
|
|
1682
|
+
)
|
|
1683
|
+
CodeQualitySetupUpdateVariant1 = TypedDict(
|
|
1684
|
+
"CodeQualitySetupUpdateVariant1",
|
|
1685
|
+
{
|
|
1686
|
+
"ai_findings_option": NotRequired["Literal['disabled', 'on_push']"],
|
|
1687
|
+
"languages": NotRequired[
|
|
1688
|
+
"list[Literal['csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby']]"
|
|
1689
|
+
],
|
|
1690
|
+
"runner_label": NotRequired["str | None"],
|
|
1691
|
+
"runner_type": Required["Literal['standard', 'labeled']"],
|
|
1692
|
+
"state": NotRequired["Literal['configured', 'not-configured']"],
|
|
1693
|
+
},
|
|
1694
|
+
total=False,
|
|
1695
|
+
)
|
|
1696
|
+
CodeQualitySetupUpdateVariant2 = TypedDict(
|
|
1697
|
+
"CodeQualitySetupUpdateVariant2",
|
|
1698
|
+
{
|
|
1699
|
+
"ai_findings_option": NotRequired["Literal['disabled', 'on_push']"],
|
|
1700
|
+
"languages": NotRequired[
|
|
1701
|
+
"list[Literal['csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby']]"
|
|
1702
|
+
],
|
|
1703
|
+
"runner_label": Required["str | None"],
|
|
1704
|
+
"runner_type": NotRequired["Literal['standard', 'labeled']"],
|
|
1705
|
+
"state": NotRequired["Literal['configured', 'not-configured']"],
|
|
1706
|
+
},
|
|
1707
|
+
total=False,
|
|
1708
|
+
)
|
|
1709
|
+
CodeQualitySetupUpdateVariant3 = TypedDict(
|
|
1710
|
+
"CodeQualitySetupUpdateVariant3",
|
|
1711
|
+
{
|
|
1712
|
+
"ai_findings_option": NotRequired["Literal['disabled', 'on_push']"],
|
|
1713
|
+
"languages": Required[
|
|
1714
|
+
"list[Literal['csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby']]"
|
|
1715
|
+
],
|
|
1716
|
+
"runner_label": NotRequired["str | None"],
|
|
1717
|
+
"runner_type": NotRequired["Literal['standard', 'labeled']"],
|
|
1718
|
+
"state": NotRequired["Literal['configured', 'not-configured']"],
|
|
1719
|
+
},
|
|
1720
|
+
total=False,
|
|
1721
|
+
)
|
|
1722
|
+
CodeQualitySetupUpdateVariant4 = TypedDict(
|
|
1723
|
+
"CodeQualitySetupUpdateVariant4",
|
|
1724
|
+
{
|
|
1725
|
+
"ai_findings_option": Required["Literal['disabled', 'on_push']"],
|
|
1726
|
+
"languages": NotRequired[
|
|
1727
|
+
"list[Literal['csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby']]"
|
|
1728
|
+
],
|
|
1729
|
+
"runner_label": NotRequired["str | None"],
|
|
1730
|
+
"runner_type": NotRequired["Literal['standard', 'labeled']"],
|
|
1731
|
+
"state": NotRequired["Literal['configured', 'not-configured']"],
|
|
1732
|
+
},
|
|
1733
|
+
total=False,
|
|
1734
|
+
)
|
|
1735
|
+
CodeScanningAiScanEnablement = TypedDict(
|
|
1736
|
+
"CodeScanningAiScanEnablement",
|
|
1737
|
+
{"pr_scan": Required["Literal['enabled', 'disabled']"]},
|
|
1738
|
+
total=False,
|
|
1739
|
+
)
|
|
1740
|
+
CodeScanningAiScanEnablementUpdate = TypedDict(
|
|
1741
|
+
"CodeScanningAiScanEnablementUpdate",
|
|
1742
|
+
{"pr_scan": NotRequired["Literal['enabled', 'disabled']"]},
|
|
1743
|
+
total=False,
|
|
1744
|
+
)
|
|
1745
|
+
CodeScanningAiScanOrgEnablementUpdate = TypedDict(
|
|
1746
|
+
"CodeScanningAiScanOrgEnablementUpdate",
|
|
1747
|
+
{"pr_scan": NotRequired["Literal['enabled', 'disabled']"]},
|
|
1748
|
+
total=False,
|
|
1749
|
+
)
|
|
1750
|
+
CodeScanningAiScanOrgSettings = TypedDict(
|
|
1751
|
+
"CodeScanningAiScanOrgSettings",
|
|
1752
|
+
{"pr_scan": Required["Literal['enabled', 'disabled']"]},
|
|
1753
|
+
total=False,
|
|
1754
|
+
)
|
|
1755
|
+
CodeScanningAlert = TypedDict(
|
|
1756
|
+
"CodeScanningAlert",
|
|
1757
|
+
{
|
|
1758
|
+
"assignees": NotRequired["list[SimpleUser]"],
|
|
1759
|
+
"created_at": Required["AlertCreatedAt"],
|
|
1760
|
+
"dismissal_approved_by": NotRequired["NullableSimpleUser"],
|
|
1761
|
+
"dismissed_at": Required["AlertDismissedAt"],
|
|
1762
|
+
"dismissed_by": Required["NullableSimpleUser"],
|
|
1763
|
+
"dismissed_comment": NotRequired["CodeScanningAlertDismissedComment"],
|
|
1764
|
+
"dismissed_reason": Required["CodeScanningAlertDismissedReason"],
|
|
1765
|
+
"fixed_at": NotRequired["AlertFixedAt"],
|
|
1766
|
+
"html_url": Required["AlertHtmlUrl"],
|
|
1767
|
+
"instances_url": Required["AlertInstancesUrl"],
|
|
1768
|
+
"linked_pull_requests": NotRequired["list[PullRequestSimple]"],
|
|
1769
|
+
"most_recent_instance": Required["CodeScanningAlertInstance"],
|
|
1770
|
+
"number": Required["AlertNumber"],
|
|
1771
|
+
"rule": Required["CodeScanningAlertRule"],
|
|
1772
|
+
"state": Required["CodeScanningAlertState"],
|
|
1773
|
+
"tool": Required["CodeScanningAnalysisTool"],
|
|
1774
|
+
"updated_at": NotRequired["AlertUpdatedAt"],
|
|
1775
|
+
"url": Required["AlertUrl"],
|
|
1776
|
+
},
|
|
1777
|
+
total=False,
|
|
1778
|
+
)
|
|
1779
|
+
CodeScanningAlertAssignees: TypeAlias = "list[str]"
|
|
1780
|
+
CodeScanningAlertClassification: TypeAlias = (
|
|
1781
|
+
"Literal['source', 'generated', 'test', 'library'] | None"
|
|
1782
|
+
)
|
|
1783
|
+
CodeScanningAlertCreateRequest: TypeAlias = "bool"
|
|
1784
|
+
CodeScanningAlertDismissedComment: TypeAlias = "str | None"
|
|
1785
|
+
CodeScanningAlertDismissedReason: TypeAlias = (
|
|
1786
|
+
"Literal['false positive', \"won't fix\", 'used in tests', 'mitigated'] | None"
|
|
1787
|
+
)
|
|
1788
|
+
CodeScanningAlertEnvironment: TypeAlias = "str"
|
|
1789
|
+
CodeScanningAlertInstance = TypedDict(
|
|
1790
|
+
"CodeScanningAlertInstance",
|
|
1791
|
+
{
|
|
1792
|
+
"analysis_key": NotRequired["CodeScanningAnalysisAnalysisKey"],
|
|
1793
|
+
"category": NotRequired["CodeScanningAnalysisCategory"],
|
|
1794
|
+
"classifications": NotRequired["list[CodeScanningAlertClassification]"],
|
|
1795
|
+
"commit_sha": NotRequired["str"],
|
|
1796
|
+
"environment": NotRequired["CodeScanningAlertEnvironment"],
|
|
1797
|
+
"html_url": NotRequired["str"],
|
|
1798
|
+
"location": NotRequired["CodeScanningAlertLocation"],
|
|
1799
|
+
"message": NotRequired["CodeScanningAlertInstanceMessage"],
|
|
1800
|
+
"ref": NotRequired["CodeScanningRef"],
|
|
1801
|
+
"state": NotRequired["CodeScanningAlertState"],
|
|
1802
|
+
},
|
|
1803
|
+
total=False,
|
|
1804
|
+
)
|
|
1805
|
+
CodeScanningAlertInstanceList = TypedDict(
|
|
1806
|
+
"CodeScanningAlertInstanceList",
|
|
1807
|
+
{
|
|
1808
|
+
"analysis_key": NotRequired["CodeScanningAnalysisAnalysisKey"],
|
|
1809
|
+
"category": NotRequired["CodeScanningAnalysisCategory"],
|
|
1810
|
+
"classifications": NotRequired["list[CodeScanningAlertClassification]"],
|
|
1811
|
+
"commit_sha": NotRequired["str"],
|
|
1812
|
+
"environment": NotRequired["CodeScanningAlertEnvironment"],
|
|
1813
|
+
"html_url": NotRequired["str"],
|
|
1814
|
+
"location": NotRequired["CodeScanningAlertLocation"],
|
|
1815
|
+
"message": NotRequired["CodeScanningAlertInstanceListMessage"],
|
|
1816
|
+
"ref": NotRequired["CodeScanningRef"],
|
|
1817
|
+
"state": NotRequired["CodeScanningAlertInstanceState"],
|
|
1818
|
+
},
|
|
1819
|
+
total=False,
|
|
1820
|
+
)
|
|
1821
|
+
CodeScanningAlertInstanceListMessage = TypedDict(
|
|
1822
|
+
"CodeScanningAlertInstanceListMessage", {"text": NotRequired["str"]}, total=False
|
|
1823
|
+
)
|
|
1824
|
+
CodeScanningAlertInstanceMessage = TypedDict(
|
|
1825
|
+
"CodeScanningAlertInstanceMessage",
|
|
1826
|
+
{"markdown": NotRequired["str"], "text": NotRequired["str"]},
|
|
1827
|
+
total=False,
|
|
1828
|
+
)
|
|
1829
|
+
CodeScanningAlertInstanceState: TypeAlias = "Literal['open', 'fixed'] | None"
|
|
1830
|
+
CodeScanningAlertItems = TypedDict(
|
|
1831
|
+
"CodeScanningAlertItems",
|
|
1832
|
+
{
|
|
1833
|
+
"assignees": NotRequired["list[SimpleUser]"],
|
|
1834
|
+
"created_at": Required["AlertCreatedAt"],
|
|
1835
|
+
"dismissal_approved_by": NotRequired["NullableSimpleUser"],
|
|
1836
|
+
"dismissed_at": Required["AlertDismissedAt"],
|
|
1837
|
+
"dismissed_by": Required["NullableSimpleUser"],
|
|
1838
|
+
"dismissed_comment": NotRequired["CodeScanningAlertDismissedComment"],
|
|
1839
|
+
"dismissed_reason": Required["CodeScanningAlertDismissedReason"],
|
|
1840
|
+
"fixed_at": NotRequired["AlertFixedAt"],
|
|
1841
|
+
"html_url": Required["AlertHtmlUrl"],
|
|
1842
|
+
"instances_url": Required["AlertInstancesUrl"],
|
|
1843
|
+
"most_recent_instance": Required["CodeScanningAlertInstance"],
|
|
1844
|
+
"number": Required["AlertNumber"],
|
|
1845
|
+
"rule": Required["CodeScanningAlertRuleSummary"],
|
|
1846
|
+
"state": Required["CodeScanningAlertState"],
|
|
1847
|
+
"tool": Required["CodeScanningAnalysisTool"],
|
|
1848
|
+
"updated_at": NotRequired["AlertUpdatedAt"],
|
|
1849
|
+
"url": Required["AlertUrl"],
|
|
1850
|
+
},
|
|
1851
|
+
total=False,
|
|
1852
|
+
)
|
|
1853
|
+
CodeScanningAlertLinkedIssue = TypedDict(
|
|
1854
|
+
"CodeScanningAlertLinkedIssue",
|
|
1855
|
+
{
|
|
1856
|
+
"html_url": Required["str"],
|
|
1857
|
+
"issue_type": Required["IssueType"],
|
|
1858
|
+
"number": Required["int"],
|
|
1859
|
+
"repository": Required["SimpleRepository"],
|
|
1860
|
+
"state": Required["str"],
|
|
1861
|
+
"title": Required["str"],
|
|
1862
|
+
"url": Required["str"],
|
|
1863
|
+
},
|
|
1864
|
+
total=False,
|
|
1865
|
+
)
|
|
1866
|
+
CodeScanningAlertLocation = TypedDict(
|
|
1867
|
+
"CodeScanningAlertLocation",
|
|
1868
|
+
{
|
|
1869
|
+
"end_column": NotRequired["int"],
|
|
1870
|
+
"end_line": NotRequired["int"],
|
|
1871
|
+
"path": NotRequired["str"],
|
|
1872
|
+
"start_column": NotRequired["int"],
|
|
1873
|
+
"start_line": NotRequired["int"],
|
|
1874
|
+
},
|
|
1875
|
+
total=False,
|
|
1876
|
+
)
|
|
1877
|
+
CodeScanningAlertRule = TypedDict(
|
|
1878
|
+
"CodeScanningAlertRule",
|
|
1879
|
+
{
|
|
1880
|
+
"description": NotRequired["str"],
|
|
1881
|
+
"full_description": NotRequired["str"],
|
|
1882
|
+
"help": NotRequired["str | None"],
|
|
1883
|
+
"help_uri": NotRequired["str | None"],
|
|
1884
|
+
"id": NotRequired["str | None"],
|
|
1885
|
+
"name": NotRequired["str"],
|
|
1886
|
+
"security_severity_level": NotRequired[
|
|
1887
|
+
"Literal['low', 'medium', 'high', 'critical'] | None"
|
|
1888
|
+
],
|
|
1889
|
+
"severity": NotRequired["Literal['none', 'note', 'warning', 'error'] | None"],
|
|
1890
|
+
"tags": NotRequired["list[str] | None"],
|
|
1891
|
+
},
|
|
1892
|
+
total=False,
|
|
1893
|
+
)
|
|
1894
|
+
CodeScanningAlertRuleSummary = TypedDict(
|
|
1895
|
+
"CodeScanningAlertRuleSummary",
|
|
1896
|
+
{
|
|
1897
|
+
"description": NotRequired["str"],
|
|
1898
|
+
"full_description": NotRequired["str"],
|
|
1899
|
+
"help": NotRequired["str | None"],
|
|
1900
|
+
"help_uri": NotRequired["str | None"],
|
|
1901
|
+
"id": NotRequired["str | None"],
|
|
1902
|
+
"name": NotRequired["str"],
|
|
1903
|
+
"security_severity_level": NotRequired[
|
|
1904
|
+
"Literal['low', 'medium', 'high', 'critical'] | None"
|
|
1905
|
+
],
|
|
1906
|
+
"severity": NotRequired["Literal['none', 'note', 'warning', 'error'] | None"],
|
|
1907
|
+
"tags": NotRequired["list[str] | None"],
|
|
1908
|
+
},
|
|
1909
|
+
total=False,
|
|
1910
|
+
)
|
|
1911
|
+
CodeScanningAlertSetState: TypeAlias = "Literal['open', 'dismissed']"
|
|
1912
|
+
CodeScanningAlertSeverity: TypeAlias = (
|
|
1913
|
+
"Literal['critical', 'high', 'medium', 'low', 'warning', 'note', 'error']"
|
|
1914
|
+
)
|
|
1915
|
+
CodeScanningAlertState: TypeAlias = "Literal['open', 'dismissed', 'fixed'] | None"
|
|
1916
|
+
CodeScanningAlertStateQuery: TypeAlias = "Literal['open', 'closed', 'dismissed', 'fixed']"
|
|
1917
|
+
CodeScanningAnalysis = TypedDict(
|
|
1918
|
+
"CodeScanningAnalysis",
|
|
1919
|
+
{
|
|
1920
|
+
"analysis_key": Required["CodeScanningAnalysisAnalysisKey"],
|
|
1921
|
+
"category": NotRequired["CodeScanningAnalysisCategory"],
|
|
1922
|
+
"commit_sha": Required["CodeScanningAnalysisCommitSha"],
|
|
1923
|
+
"created_at": Required["CodeScanningAnalysisCreatedAt"],
|
|
1924
|
+
"deletable": Required["bool"],
|
|
1925
|
+
"environment": Required["CodeScanningAnalysisEnvironment"],
|
|
1926
|
+
"error": Required["str"],
|
|
1927
|
+
"id": Required["int"],
|
|
1928
|
+
"ref": Required["CodeScanningRef"],
|
|
1929
|
+
"results_count": Required["int"],
|
|
1930
|
+
"rules_count": Required["int"],
|
|
1931
|
+
"sarif_id": Required["CodeScanningAnalysisSarifId"],
|
|
1932
|
+
"tool": Required["CodeScanningAnalysisTool"],
|
|
1933
|
+
"url": Required["CodeScanningAnalysisUrl"],
|
|
1934
|
+
"warning": Required["str"],
|
|
1935
|
+
},
|
|
1936
|
+
total=False,
|
|
1937
|
+
)
|
|
1938
|
+
CodeScanningAnalysisAnalysisKey: TypeAlias = "str"
|
|
1939
|
+
CodeScanningAnalysisCategory: TypeAlias = "str"
|
|
1940
|
+
CodeScanningAnalysisCommitSha: TypeAlias = "str"
|
|
1941
|
+
CodeScanningAnalysisCreatedAt: TypeAlias = "str"
|
|
1942
|
+
CodeScanningAnalysisDeletion = TypedDict(
|
|
1943
|
+
"CodeScanningAnalysisDeletion",
|
|
1944
|
+
{"confirm_delete_url": Required["str | None"], "next_analysis_url": Required["str | None"]},
|
|
1945
|
+
total=False,
|
|
1946
|
+
)
|
|
1947
|
+
CodeScanningAnalysisEnvironment: TypeAlias = "str"
|
|
1948
|
+
CodeScanningAnalysisSarifFile: TypeAlias = "str"
|
|
1949
|
+
CodeScanningAnalysisSarifId: TypeAlias = "str"
|
|
1950
|
+
CodeScanningAnalysisTool = TypedDict(
|
|
1951
|
+
"CodeScanningAnalysisTool",
|
|
1952
|
+
{
|
|
1953
|
+
"guid": NotRequired["CodeScanningAnalysisToolGuid"],
|
|
1954
|
+
"name": NotRequired["CodeScanningAnalysisToolName"],
|
|
1955
|
+
"version": NotRequired["CodeScanningAnalysisToolVersion"],
|
|
1956
|
+
},
|
|
1957
|
+
total=False,
|
|
1958
|
+
)
|
|
1959
|
+
CodeScanningAnalysisToolGuid: TypeAlias = "str | None"
|
|
1960
|
+
CodeScanningAnalysisToolName: TypeAlias = "str"
|
|
1961
|
+
CodeScanningAnalysisToolVersion: TypeAlias = "str | None"
|
|
1962
|
+
CodeScanningAnalysisUrl: TypeAlias = "str"
|
|
1963
|
+
CodeScanningAutofix = TypedDict(
|
|
1964
|
+
"CodeScanningAutofix",
|
|
1965
|
+
{
|
|
1966
|
+
"description": Required["CodeScanningAutofixDescription"],
|
|
1967
|
+
"started_at": Required["CodeScanningAutofixStartedAt"],
|
|
1968
|
+
"status": Required["CodeScanningAutofixStatus"],
|
|
1969
|
+
},
|
|
1970
|
+
total=False,
|
|
1971
|
+
)
|
|
1972
|
+
CodeScanningAutofixCommits: TypeAlias = "CodeScanningAutofixCommitsVariant0 | None"
|
|
1973
|
+
CodeScanningAutofixCommitsResponse = TypedDict(
|
|
1974
|
+
"CodeScanningAutofixCommitsResponse",
|
|
1975
|
+
{"sha": NotRequired["str"], "target_ref": NotRequired["str"]},
|
|
1976
|
+
total=False,
|
|
1977
|
+
)
|
|
1978
|
+
CodeScanningAutofixCommitsVariant0 = TypedDict(
|
|
1979
|
+
"CodeScanningAutofixCommitsVariant0",
|
|
1980
|
+
{"message": NotRequired["str"], "target_ref": NotRequired["str"]},
|
|
1981
|
+
total=False,
|
|
1982
|
+
)
|
|
1983
|
+
CodeScanningAutofixDescription: TypeAlias = "str | None"
|
|
1984
|
+
CodeScanningAutofixStartedAt: TypeAlias = "str"
|
|
1985
|
+
CodeScanningAutofixStatus: TypeAlias = "Literal['pending', 'error', 'success', 'outdated']"
|
|
1986
|
+
CodeScanningCodeqlDatabase = TypedDict(
|
|
1987
|
+
"CodeScanningCodeqlDatabase",
|
|
1988
|
+
{
|
|
1989
|
+
"commit_oid": NotRequired["str | None"],
|
|
1990
|
+
"content_type": Required["str"],
|
|
1991
|
+
"created_at": Required["str"],
|
|
1992
|
+
"id": Required["int"],
|
|
1993
|
+
"language": Required["str"],
|
|
1994
|
+
"name": Required["str"],
|
|
1995
|
+
"size": Required["int"],
|
|
1996
|
+
"updated_at": Required["str"],
|
|
1997
|
+
"uploader": Required["SimpleUser"],
|
|
1998
|
+
"url": Required["str"],
|
|
1999
|
+
},
|
|
2000
|
+
total=False,
|
|
2001
|
+
)
|
|
2002
|
+
CodeScanningDefaultSetup = TypedDict(
|
|
2003
|
+
"CodeScanningDefaultSetup",
|
|
2004
|
+
{
|
|
2005
|
+
"languages": NotRequired[
|
|
2006
|
+
"list[Literal['actions', 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'swift']]"
|
|
2007
|
+
],
|
|
2008
|
+
"query_suite": NotRequired["Literal['default', 'extended']"],
|
|
2009
|
+
"runner_label": NotRequired["str | None"],
|
|
2010
|
+
"runner_type": NotRequired["Literal['standard', 'labeled'] | None"],
|
|
2011
|
+
"schedule": NotRequired["Literal['weekly'] | None"],
|
|
2012
|
+
"state": NotRequired["Literal['configured', 'not-configured']"],
|
|
2013
|
+
"threat_model": NotRequired["Literal['remote', 'remote_and_local']"],
|
|
2014
|
+
"updated_at": NotRequired["str | None"],
|
|
2015
|
+
},
|
|
2016
|
+
total=False,
|
|
2017
|
+
)
|
|
2018
|
+
CodeScanningDefaultSetupOptions: TypeAlias = "CodeScanningDefaultSetupOptionsVariant0 | None"
|
|
2019
|
+
CodeScanningDefaultSetupOptionsVariant0 = TypedDict(
|
|
2020
|
+
"CodeScanningDefaultSetupOptionsVariant0",
|
|
2021
|
+
{
|
|
2022
|
+
"runner_label": NotRequired["str | None"],
|
|
2023
|
+
"runner_type": NotRequired["Literal['standard', 'labeled', 'not_set']"],
|
|
2024
|
+
},
|
|
2025
|
+
total=False,
|
|
2026
|
+
)
|
|
2027
|
+
CodeScanningDefaultSetupUpdate = TypedDict(
|
|
2028
|
+
"CodeScanningDefaultSetupUpdate",
|
|
2029
|
+
{
|
|
2030
|
+
"languages": NotRequired[
|
|
2031
|
+
"list[Literal['actions', 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'swift']]"
|
|
2032
|
+
],
|
|
2033
|
+
"query_suite": NotRequired["Literal['default', 'extended']"],
|
|
2034
|
+
"runner_label": NotRequired["str | None"],
|
|
2035
|
+
"runner_type": NotRequired["Literal['standard', 'labeled']"],
|
|
2036
|
+
"state": NotRequired["Literal['configured', 'not-configured']"],
|
|
2037
|
+
"threat_model": NotRequired["Literal['remote', 'remote_and_local']"],
|
|
2038
|
+
},
|
|
2039
|
+
total=False,
|
|
2040
|
+
)
|
|
2041
|
+
CodeScanningDefaultSetupUpdateResponse = TypedDict(
|
|
2042
|
+
"CodeScanningDefaultSetupUpdateResponse",
|
|
2043
|
+
{"run_id": NotRequired["int"], "run_url": NotRequired["str"]},
|
|
2044
|
+
total=False,
|
|
2045
|
+
)
|
|
2046
|
+
CodeScanningOptions: TypeAlias = "CodeScanningOptionsVariant0 | None"
|
|
2047
|
+
CodeScanningOptionsVariant0 = TypedDict(
|
|
2048
|
+
"CodeScanningOptionsVariant0", {"allow_advanced": NotRequired["bool | None"]}, total=False
|
|
2049
|
+
)
|
|
2050
|
+
CodeScanningOrganizationAlertItems = TypedDict(
|
|
2051
|
+
"CodeScanningOrganizationAlertItems",
|
|
2052
|
+
{
|
|
2053
|
+
"assignees": NotRequired["list[SimpleUser]"],
|
|
2054
|
+
"created_at": Required["AlertCreatedAt"],
|
|
2055
|
+
"dismissal_approved_by": NotRequired["NullableSimpleUser"],
|
|
2056
|
+
"dismissed_at": Required["AlertDismissedAt"],
|
|
2057
|
+
"dismissed_by": Required["NullableSimpleUser"],
|
|
2058
|
+
"dismissed_comment": NotRequired["CodeScanningAlertDismissedComment"],
|
|
2059
|
+
"dismissed_reason": Required["CodeScanningAlertDismissedReason"],
|
|
2060
|
+
"fixed_at": NotRequired["AlertFixedAt"],
|
|
2061
|
+
"html_url": Required["AlertHtmlUrl"],
|
|
2062
|
+
"instances_url": Required["AlertInstancesUrl"],
|
|
2063
|
+
"most_recent_instance": Required["CodeScanningAlertInstance"],
|
|
2064
|
+
"number": Required["AlertNumber"],
|
|
2065
|
+
"repository": Required["SimpleRepository"],
|
|
2066
|
+
"rule": Required["CodeScanningAlertRuleSummary"],
|
|
2067
|
+
"state": Required["CodeScanningAlertState"],
|
|
2068
|
+
"tool": Required["CodeScanningAnalysisTool"],
|
|
2069
|
+
"updated_at": NotRequired["AlertUpdatedAt"],
|
|
2070
|
+
"url": Required["AlertUrl"],
|
|
2071
|
+
},
|
|
2072
|
+
total=False,
|
|
2073
|
+
)
|
|
2074
|
+
CodeScanningRef: TypeAlias = "str"
|
|
2075
|
+
CodeScanningRefFull: TypeAlias = "str"
|
|
2076
|
+
CodeScanningSarifsReceipt = TypedDict(
|
|
2077
|
+
"CodeScanningSarifsReceipt",
|
|
2078
|
+
{"id": NotRequired["CodeScanningAnalysisSarifId"], "url": NotRequired["str"]},
|
|
2079
|
+
total=False,
|
|
2080
|
+
)
|
|
2081
|
+
CodeScanningSarifsStatus = TypedDict(
|
|
2082
|
+
"CodeScanningSarifsStatus",
|
|
2083
|
+
{
|
|
2084
|
+
"analyses_url": NotRequired["str | None"],
|
|
2085
|
+
"errors": NotRequired["list[str] | None"],
|
|
2086
|
+
"processing_status": NotRequired["Literal['pending', 'complete', 'failed']"],
|
|
2087
|
+
},
|
|
2088
|
+
total=False,
|
|
2089
|
+
)
|
|
2090
|
+
CodeScanningVariantAnalysis = TypedDict(
|
|
2091
|
+
"CodeScanningVariantAnalysis",
|
|
2092
|
+
{
|
|
2093
|
+
"actions_workflow_run_id": NotRequired["int"],
|
|
2094
|
+
"actor": Required["SimpleUser"],
|
|
2095
|
+
"completed_at": NotRequired["str | None"],
|
|
2096
|
+
"controller_repo": Required["SimpleRepository"],
|
|
2097
|
+
"created_at": NotRequired["str"],
|
|
2098
|
+
"failure_reason": NotRequired[
|
|
2099
|
+
"Literal['no_repos_queried', 'actions_workflow_run_failed', 'internal_error']"
|
|
2100
|
+
],
|
|
2101
|
+
"id": Required["int"],
|
|
2102
|
+
"query_language": Required["CodeScanningVariantAnalysisLanguage"],
|
|
2103
|
+
"query_pack_url": Required["str"],
|
|
2104
|
+
"scanned_repositories": NotRequired[
|
|
2105
|
+
"list[CodeScanningVariantAnalysisScannedRepositoriesItem]"
|
|
2106
|
+
],
|
|
2107
|
+
"skipped_repositories": NotRequired["CodeScanningVariantAnalysisSkippedRepositories"],
|
|
2108
|
+
"status": Required["Literal['in_progress', 'succeeded', 'failed', 'cancelled']"],
|
|
2109
|
+
"updated_at": NotRequired["str"],
|
|
2110
|
+
},
|
|
2111
|
+
total=False,
|
|
2112
|
+
)
|
|
2113
|
+
CodeScanningVariantAnalysisLanguage: TypeAlias = "Literal['actions', 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby', 'rust', 'swift']"
|
|
2114
|
+
CodeScanningVariantAnalysisRepoTask = TypedDict(
|
|
2115
|
+
"CodeScanningVariantAnalysisRepoTask",
|
|
2116
|
+
{
|
|
2117
|
+
"analysis_status": Required["CodeScanningVariantAnalysisStatus"],
|
|
2118
|
+
"artifact_size_in_bytes": NotRequired["int"],
|
|
2119
|
+
"artifact_url": NotRequired["str"],
|
|
2120
|
+
"database_commit_sha": NotRequired["str"],
|
|
2121
|
+
"failure_message": NotRequired["str"],
|
|
2122
|
+
"repository": Required["SimpleRepository"],
|
|
2123
|
+
"result_count": NotRequired["int"],
|
|
2124
|
+
"source_location_prefix": NotRequired["str"],
|
|
2125
|
+
},
|
|
2126
|
+
total=False,
|
|
2127
|
+
)
|
|
2128
|
+
CodeScanningVariantAnalysisRepository = TypedDict(
|
|
2129
|
+
"CodeScanningVariantAnalysisRepository",
|
|
2130
|
+
{
|
|
2131
|
+
"full_name": Required["str"],
|
|
2132
|
+
"id": Required["int"],
|
|
2133
|
+
"name": Required["str"],
|
|
2134
|
+
"private": Required["bool"],
|
|
2135
|
+
"stargazers_count": Required["int"],
|
|
2136
|
+
"updated_at": Required["str | None"],
|
|
2137
|
+
},
|
|
2138
|
+
total=False,
|
|
2139
|
+
)
|
|
2140
|
+
CodeScanningVariantAnalysisScannedRepositoriesItem = TypedDict(
|
|
2141
|
+
"CodeScanningVariantAnalysisScannedRepositoriesItem",
|
|
2142
|
+
{
|
|
2143
|
+
"analysis_status": Required["CodeScanningVariantAnalysisStatus"],
|
|
2144
|
+
"artifact_size_in_bytes": NotRequired["int"],
|
|
2145
|
+
"failure_message": NotRequired["str"],
|
|
2146
|
+
"repository": Required["CodeScanningVariantAnalysisRepository"],
|
|
2147
|
+
"result_count": NotRequired["int"],
|
|
2148
|
+
},
|
|
2149
|
+
total=False,
|
|
2150
|
+
)
|
|
2151
|
+
CodeScanningVariantAnalysisSkippedRepoGroup = TypedDict(
|
|
2152
|
+
"CodeScanningVariantAnalysisSkippedRepoGroup",
|
|
2153
|
+
{
|
|
2154
|
+
"repositories": Required["list[CodeScanningVariantAnalysisRepository]"],
|
|
2155
|
+
"repository_count": Required["int"],
|
|
2156
|
+
},
|
|
2157
|
+
total=False,
|
|
2158
|
+
)
|
|
2159
|
+
CodeScanningVariantAnalysisSkippedRepositories = TypedDict(
|
|
2160
|
+
"CodeScanningVariantAnalysisSkippedRepositories",
|
|
2161
|
+
{
|
|
2162
|
+
"access_mismatch_repos": Required["CodeScanningVariantAnalysisSkippedRepoGroup"],
|
|
2163
|
+
"no_codeql_db_repos": Required["CodeScanningVariantAnalysisSkippedRepoGroup"],
|
|
2164
|
+
"not_found_repos": Required["CodeScanningVariantAnalysisSkippedRepositoriesNotFoundRepos"],
|
|
2165
|
+
"over_limit_repos": Required["CodeScanningVariantAnalysisSkippedRepoGroup"],
|
|
2166
|
+
},
|
|
2167
|
+
total=False,
|
|
2168
|
+
)
|
|
2169
|
+
CodeScanningVariantAnalysisSkippedRepositoriesNotFoundRepos = TypedDict(
|
|
2170
|
+
"CodeScanningVariantAnalysisSkippedRepositoriesNotFoundRepos",
|
|
2171
|
+
{"repository_count": Required["int"], "repository_full_names": Required["list[str]"]},
|
|
2172
|
+
total=False,
|
|
2173
|
+
)
|
|
2174
|
+
CodeScanningVariantAnalysisStatus: TypeAlias = (
|
|
2175
|
+
"Literal['pending', 'in_progress', 'succeeded', 'failed', 'canceled', 'timed_out']"
|
|
2176
|
+
)
|
|
2177
|
+
CodeSearchResultItem = TypedDict(
|
|
2178
|
+
"CodeSearchResultItem",
|
|
2179
|
+
{
|
|
2180
|
+
"file_size": NotRequired["int"],
|
|
2181
|
+
"git_url": Required["str"],
|
|
2182
|
+
"html_url": Required["str"],
|
|
2183
|
+
"language": NotRequired["str | None"],
|
|
2184
|
+
"last_modified_at": NotRequired["str"],
|
|
2185
|
+
"line_numbers": NotRequired["list[str]"],
|
|
2186
|
+
"name": Required["str"],
|
|
2187
|
+
"path": Required["str"],
|
|
2188
|
+
"repository": Required["MinimalRepository"],
|
|
2189
|
+
"score": Required["float"],
|
|
2190
|
+
"sha": Required["str"],
|
|
2191
|
+
"text_matches": NotRequired["SearchResultTextMatches"],
|
|
2192
|
+
"url": Required["str"],
|
|
2193
|
+
},
|
|
2194
|
+
total=False,
|
|
2195
|
+
)
|
|
2196
|
+
CodeSecurityConfiguration = TypedDict(
|
|
2197
|
+
"CodeSecurityConfiguration",
|
|
2198
|
+
{
|
|
2199
|
+
"advanced_security": NotRequired[
|
|
2200
|
+
"Literal['enabled', 'disabled', 'code_security', 'secret_protection']"
|
|
2201
|
+
],
|
|
2202
|
+
"code_scanning_default_setup": NotRequired["Literal['enabled', 'disabled', 'not_set']"],
|
|
2203
|
+
"code_scanning_default_setup_options": NotRequired[
|
|
2204
|
+
"CodeSecurityConfigurationCodeScanningDefaultSetupOptionsVariant0 | None"
|
|
2205
|
+
],
|
|
2206
|
+
"code_scanning_delegated_alert_dismissal": NotRequired[
|
|
2207
|
+
"Literal['enabled', 'disabled', 'not_set']"
|
|
2208
|
+
],
|
|
2209
|
+
"code_scanning_options": NotRequired[
|
|
2210
|
+
"CodeSecurityConfigurationCodeScanningOptionsVariant0 | None"
|
|
2211
|
+
],
|
|
2212
|
+
"created_at": NotRequired["str"],
|
|
2213
|
+
"dependabot_alerts": NotRequired["Literal['enabled', 'disabled', 'not_set']"],
|
|
2214
|
+
"dependabot_delegated_alert_dismissal": NotRequired[
|
|
2215
|
+
"Literal['enabled', 'disabled', 'not_set'] | None"
|
|
2216
|
+
],
|
|
2217
|
+
"dependabot_reachability": NotRequired["Literal['enabled', 'disabled', 'not_set']"],
|
|
2218
|
+
"dependabot_security_updates": NotRequired["Literal['enabled', 'disabled', 'not_set']"],
|
|
2219
|
+
"dependency_graph": NotRequired["Literal['enabled', 'disabled', 'not_set']"],
|
|
2220
|
+
"dependency_graph_autosubmit_action": NotRequired[
|
|
2221
|
+
"Literal['enabled', 'disabled', 'not_set']"
|
|
2222
|
+
],
|
|
2223
|
+
"dependency_graph_autosubmit_action_options": NotRequired[
|
|
2224
|
+
"CodeSecurityConfigurationDependencyGraphAutosubmitActionOptions"
|
|
2225
|
+
],
|
|
2226
|
+
"description": NotRequired["str | None"],
|
|
2227
|
+
"enforcement": NotRequired["Literal['enforced', 'unenforced', 'enterprise_enforced']"],
|
|
2228
|
+
"html_url": NotRequired["str"],
|
|
2229
|
+
"id": NotRequired["int"],
|
|
2230
|
+
"name": NotRequired["str"],
|
|
2231
|
+
"private_vulnerability_reporting": NotRequired["Literal['enabled', 'disabled', 'not_set']"],
|
|
2232
|
+
"secret_scanning": NotRequired["Literal['enabled', 'disabled', 'not_set']"],
|
|
2233
|
+
"secret_scanning_delegated_alert_dismissal": NotRequired[
|
|
2234
|
+
"Literal['enabled', 'disabled', 'not_set']"
|
|
2235
|
+
],
|
|
2236
|
+
"secret_scanning_delegated_bypass": NotRequired[
|
|
2237
|
+
"Literal['enabled', 'disabled', 'not_set']"
|
|
2238
|
+
],
|
|
2239
|
+
"secret_scanning_delegated_bypass_options": NotRequired[
|
|
2240
|
+
"CodeSecurityConfigurationSecretScanningDelegatedBypassOptions"
|
|
2241
|
+
],
|
|
2242
|
+
"secret_scanning_extended_metadata": NotRequired[
|
|
2243
|
+
"Literal['enabled', 'disabled', 'not_set']"
|
|
2244
|
+
],
|
|
2245
|
+
"secret_scanning_generic_secrets": NotRequired["Literal['enabled', 'disabled', 'not_set']"],
|
|
2246
|
+
"secret_scanning_generic_secrets_push_protection": NotRequired[
|
|
2247
|
+
"Literal['enabled', 'disabled', 'not_set']"
|
|
2248
|
+
],
|
|
2249
|
+
"secret_scanning_non_provider_patterns": NotRequired[
|
|
2250
|
+
"Literal['enabled', 'disabled', 'not_set']"
|
|
2251
|
+
],
|
|
2252
|
+
"secret_scanning_push_protection": NotRequired["Literal['enabled', 'disabled', 'not_set']"],
|
|
2253
|
+
"secret_scanning_validity_checks": NotRequired["Literal['enabled', 'disabled', 'not_set']"],
|
|
2254
|
+
"target_type": NotRequired["Literal['global', 'organization', 'enterprise']"],
|
|
2255
|
+
"updated_at": NotRequired["str"],
|
|
2256
|
+
"url": NotRequired["str"],
|
|
2257
|
+
},
|
|
2258
|
+
total=False,
|
|
2259
|
+
)
|
|
2260
|
+
CodeSecurityConfigurationCodeScanningDefaultSetupOptionsVariant0 = TypedDict(
|
|
2261
|
+
"CodeSecurityConfigurationCodeScanningDefaultSetupOptionsVariant0",
|
|
2262
|
+
{
|
|
2263
|
+
"runner_label": NotRequired["str | None"],
|
|
2264
|
+
"runner_type": NotRequired["Literal['standard', 'labeled', 'not_set'] | None"],
|
|
2265
|
+
},
|
|
2266
|
+
total=False,
|
|
2267
|
+
)
|
|
2268
|
+
CodeSecurityConfigurationCodeScanningOptionsVariant0 = TypedDict(
|
|
2269
|
+
"CodeSecurityConfigurationCodeScanningOptionsVariant0",
|
|
2270
|
+
{"allow_advanced": NotRequired["bool | None"]},
|
|
2271
|
+
total=False,
|
|
2272
|
+
)
|
|
2273
|
+
CodeSecurityConfigurationDependencyGraphAutosubmitActionOptions = TypedDict(
|
|
2274
|
+
"CodeSecurityConfigurationDependencyGraphAutosubmitActionOptions",
|
|
2275
|
+
{"labeled_runners": NotRequired["bool"]},
|
|
2276
|
+
total=False,
|
|
2277
|
+
)
|
|
2278
|
+
CodeSecurityConfigurationForRepository = TypedDict(
|
|
2279
|
+
"CodeSecurityConfigurationForRepository",
|
|
2280
|
+
{
|
|
2281
|
+
"configuration": NotRequired["CodeSecurityConfiguration"],
|
|
2282
|
+
"status": NotRequired[
|
|
2283
|
+
"Literal['attached', 'attaching', 'detached', 'removed', 'enforced', 'failed', 'updating', 'removed_by_enterprise', 'enterprise_enforced']"
|
|
2284
|
+
],
|
|
2285
|
+
},
|
|
2286
|
+
total=False,
|
|
2287
|
+
)
|
|
2288
|
+
CodeSecurityConfigurationRepositories = TypedDict(
|
|
2289
|
+
"CodeSecurityConfigurationRepositories",
|
|
2290
|
+
{
|
|
2291
|
+
"repository": NotRequired["SimpleRepository"],
|
|
2292
|
+
"status": NotRequired[
|
|
2293
|
+
"Literal['attached', 'attaching', 'detached', 'removed', 'enforced', 'failed', 'updating', 'removed_by_enterprise', 'enterprise_enforced']"
|
|
2294
|
+
],
|
|
2295
|
+
},
|
|
2296
|
+
total=False,
|
|
2297
|
+
)
|
|
2298
|
+
CodeSecurityConfigurationSecretScanningDelegatedBypassOptions = TypedDict(
|
|
2299
|
+
"CodeSecurityConfigurationSecretScanningDelegatedBypassOptions",
|
|
2300
|
+
{
|
|
2301
|
+
"reviewers": NotRequired[
|
|
2302
|
+
"list[CodeSecurityConfigurationSecretScanningDelegatedBypassOptionsReviewersItem]"
|
|
2303
|
+
]
|
|
2304
|
+
},
|
|
2305
|
+
total=False,
|
|
2306
|
+
)
|
|
2307
|
+
CodeSecurityConfigurationSecretScanningDelegatedBypassOptionsReviewersItem = TypedDict(
|
|
2308
|
+
"CodeSecurityConfigurationSecretScanningDelegatedBypassOptionsReviewersItem",
|
|
2309
|
+
{
|
|
2310
|
+
"mode": NotRequired["Literal['ALWAYS', 'EXEMPT']"],
|
|
2311
|
+
"reviewer_id": Required["int"],
|
|
2312
|
+
"reviewer_type": Required["Literal['TEAM', 'ROLE']"],
|
|
2313
|
+
"security_configuration_id": NotRequired["int"],
|
|
2314
|
+
},
|
|
2315
|
+
total=False,
|
|
2316
|
+
)
|
|
2317
|
+
CodeSecurityDefaultConfigurations: TypeAlias = "list[CodeSecurityDefaultConfigurationsItem]"
|
|
2318
|
+
CodeSecurityDefaultConfigurationsItem = TypedDict(
|
|
2319
|
+
"CodeSecurityDefaultConfigurationsItem",
|
|
2320
|
+
{
|
|
2321
|
+
"configuration": NotRequired["CodeSecurityConfiguration"],
|
|
2322
|
+
"default_for_new_repos": NotRequired["Literal['public', 'private_and_internal', 'all']"],
|
|
2323
|
+
},
|
|
2324
|
+
total=False,
|
|
2325
|
+
)
|
|
2326
|
+
CodeownersErrors = TypedDict(
|
|
2327
|
+
"CodeownersErrors", {"errors": Required["list[CodeownersErrorsErrorsItem]"]}, total=False
|
|
2328
|
+
)
|
|
2329
|
+
CodeownersErrorsErrorsItem = TypedDict(
|
|
2330
|
+
"CodeownersErrorsErrorsItem",
|
|
2331
|
+
{
|
|
2332
|
+
"column": Required["int"],
|
|
2333
|
+
"kind": Required["str"],
|
|
2334
|
+
"line": Required["int"],
|
|
2335
|
+
"message": Required["str"],
|
|
2336
|
+
"path": Required["str"],
|
|
2337
|
+
"source": NotRequired["str"],
|
|
2338
|
+
"suggestion": NotRequired["str | None"],
|
|
2339
|
+
},
|
|
2340
|
+
total=False,
|
|
2341
|
+
)
|
|
2342
|
+
Codespace = TypedDict(
|
|
2343
|
+
"Codespace",
|
|
2344
|
+
{
|
|
2345
|
+
"billable_owner": Required["SimpleUser"],
|
|
2346
|
+
"created_at": Required["str"],
|
|
2347
|
+
"devcontainer_path": NotRequired["str | None"],
|
|
2348
|
+
"display_name": NotRequired["str | None"],
|
|
2349
|
+
"environment_id": Required["str | None"],
|
|
2350
|
+
"git_status": Required["CodespaceGitStatus"],
|
|
2351
|
+
"id": Required["int"],
|
|
2352
|
+
"idle_timeout_minutes": Required["int | None"],
|
|
2353
|
+
"idle_timeout_notice": NotRequired["str | None"],
|
|
2354
|
+
"last_known_stop_notice": NotRequired["str | None"],
|
|
2355
|
+
"last_used_at": Required["str"],
|
|
2356
|
+
"location": Required["Literal['EastUs', 'SouthEastAsia', 'WestEurope', 'WestUs2']"],
|
|
2357
|
+
"machine": Required["NullableCodespaceMachine"],
|
|
2358
|
+
"machines_url": Required["str"],
|
|
2359
|
+
"name": Required["str"],
|
|
2360
|
+
"owner": Required["SimpleUser"],
|
|
2361
|
+
"pending_operation": NotRequired["bool | None"],
|
|
2362
|
+
"pending_operation_disabled_reason": NotRequired["str | None"],
|
|
2363
|
+
"prebuild": Required["bool | None"],
|
|
2364
|
+
"publish_url": NotRequired["str | None"],
|
|
2365
|
+
"pulls_url": Required["str | None"],
|
|
2366
|
+
"recent_folders": Required["list[str]"],
|
|
2367
|
+
"repository": Required["MinimalRepository"],
|
|
2368
|
+
"retention_expires_at": NotRequired["str | None"],
|
|
2369
|
+
"retention_period_minutes": NotRequired["int | None"],
|
|
2370
|
+
"runtime_constraints": NotRequired["CodespaceRuntimeConstraints"],
|
|
2371
|
+
"start_url": Required["str"],
|
|
2372
|
+
"state": Required[
|
|
2373
|
+
"Literal['Unknown', 'Created', 'Queued', 'Provisioning', 'Available', 'Awaiting', 'Unavailable', 'Deleted', 'Moved', 'Shutdown', 'Archived', 'Starting', 'ShuttingDown', 'Failed', 'Exporting', 'Updating', 'Rebuilding']"
|
|
2374
|
+
],
|
|
2375
|
+
"stop_url": Required["str"],
|
|
2376
|
+
"updated_at": Required["str"],
|
|
2377
|
+
"url": Required["str"],
|
|
2378
|
+
"web_url": Required["str"],
|
|
2379
|
+
},
|
|
2380
|
+
total=False,
|
|
2381
|
+
)
|
|
2382
|
+
CodespaceExportDetails = TypedDict(
|
|
2383
|
+
"CodespaceExportDetails",
|
|
2384
|
+
{
|
|
2385
|
+
"branch": NotRequired["str | None"],
|
|
2386
|
+
"completed_at": NotRequired["str | None"],
|
|
2387
|
+
"export_url": NotRequired["str"],
|
|
2388
|
+
"html_url": NotRequired["str | None"],
|
|
2389
|
+
"id": NotRequired["str"],
|
|
2390
|
+
"sha": NotRequired["str | None"],
|
|
2391
|
+
"state": NotRequired["str | None"],
|
|
2392
|
+
},
|
|
2393
|
+
total=False,
|
|
2394
|
+
)
|
|
2395
|
+
CodespaceGitStatus = TypedDict(
|
|
2396
|
+
"CodespaceGitStatus",
|
|
2397
|
+
{
|
|
2398
|
+
"ahead": NotRequired["int"],
|
|
2399
|
+
"behind": NotRequired["int"],
|
|
2400
|
+
"has_uncommitted_changes": NotRequired["bool"],
|
|
2401
|
+
"has_unpushed_changes": NotRequired["bool"],
|
|
2402
|
+
"ref": NotRequired["str"],
|
|
2403
|
+
},
|
|
2404
|
+
total=False,
|
|
2405
|
+
)
|
|
2406
|
+
CodespaceMachine = TypedDict(
|
|
2407
|
+
"CodespaceMachine",
|
|
2408
|
+
{
|
|
2409
|
+
"cpus": Required["int"],
|
|
2410
|
+
"display_name": Required["str"],
|
|
2411
|
+
"memory_in_bytes": Required["int"],
|
|
2412
|
+
"name": Required["str"],
|
|
2413
|
+
"operating_system": Required["str"],
|
|
2414
|
+
"prebuild_availability": Required["Literal['none', 'ready', 'in_progress'] | None"],
|
|
2415
|
+
"storage_in_bytes": Required["int"],
|
|
2416
|
+
},
|
|
2417
|
+
total=False,
|
|
2418
|
+
)
|
|
2419
|
+
CodespaceRuntimeConstraints = TypedDict(
|
|
2420
|
+
"CodespaceRuntimeConstraints",
|
|
2421
|
+
{"allowed_port_privacy_settings": NotRequired["list[str] | None"]},
|
|
2422
|
+
total=False,
|
|
2423
|
+
)
|
|
2424
|
+
CodespaceWithFullRepository = TypedDict(
|
|
2425
|
+
"CodespaceWithFullRepository",
|
|
2426
|
+
{
|
|
2427
|
+
"billable_owner": Required["SimpleUser"],
|
|
2428
|
+
"created_at": Required["str"],
|
|
2429
|
+
"devcontainer_path": NotRequired["str | None"],
|
|
2430
|
+
"display_name": NotRequired["str | None"],
|
|
2431
|
+
"environment_id": Required["str | None"],
|
|
2432
|
+
"git_status": Required["CodespaceWithFullRepositoryGitStatus"],
|
|
2433
|
+
"id": Required["int"],
|
|
2434
|
+
"idle_timeout_minutes": Required["int | None"],
|
|
2435
|
+
"idle_timeout_notice": NotRequired["str | None"],
|
|
2436
|
+
"last_used_at": Required["str"],
|
|
2437
|
+
"location": Required["Literal['EastUs', 'SouthEastAsia', 'WestEurope', 'WestUs2']"],
|
|
2438
|
+
"machine": Required["NullableCodespaceMachine"],
|
|
2439
|
+
"machines_url": Required["str"],
|
|
2440
|
+
"name": Required["str"],
|
|
2441
|
+
"owner": Required["SimpleUser"],
|
|
2442
|
+
"pending_operation": NotRequired["bool | None"],
|
|
2443
|
+
"pending_operation_disabled_reason": NotRequired["str | None"],
|
|
2444
|
+
"prebuild": Required["bool | None"],
|
|
2445
|
+
"publish_url": NotRequired["str | None"],
|
|
2446
|
+
"pulls_url": Required["str | None"],
|
|
2447
|
+
"recent_folders": Required["list[str]"],
|
|
2448
|
+
"repository": Required["FullRepository"],
|
|
2449
|
+
"retention_expires_at": NotRequired["str | None"],
|
|
2450
|
+
"retention_period_minutes": NotRequired["int | None"],
|
|
2451
|
+
"runtime_constraints": NotRequired["CodespaceWithFullRepositoryRuntimeConstraints"],
|
|
2452
|
+
"start_url": Required["str"],
|
|
2453
|
+
"state": Required[
|
|
2454
|
+
"Literal['Unknown', 'Created', 'Queued', 'Provisioning', 'Available', 'Awaiting', 'Unavailable', 'Deleted', 'Moved', 'Shutdown', 'Archived', 'Starting', 'ShuttingDown', 'Failed', 'Exporting', 'Updating', 'Rebuilding']"
|
|
2455
|
+
],
|
|
2456
|
+
"stop_url": Required["str"],
|
|
2457
|
+
"updated_at": Required["str"],
|
|
2458
|
+
"url": Required["str"],
|
|
2459
|
+
"web_url": Required["str"],
|
|
2460
|
+
},
|
|
2461
|
+
total=False,
|
|
2462
|
+
)
|
|
2463
|
+
CodespaceWithFullRepositoryGitStatus = TypedDict(
|
|
2464
|
+
"CodespaceWithFullRepositoryGitStatus",
|
|
2465
|
+
{
|
|
2466
|
+
"ahead": NotRequired["int"],
|
|
2467
|
+
"behind": NotRequired["int"],
|
|
2468
|
+
"has_uncommitted_changes": NotRequired["bool"],
|
|
2469
|
+
"has_unpushed_changes": NotRequired["bool"],
|
|
2470
|
+
"ref": NotRequired["str"],
|
|
2471
|
+
},
|
|
2472
|
+
total=False,
|
|
2473
|
+
)
|
|
2474
|
+
CodespaceWithFullRepositoryRuntimeConstraints = TypedDict(
|
|
2475
|
+
"CodespaceWithFullRepositoryRuntimeConstraints",
|
|
2476
|
+
{"allowed_port_privacy_settings": NotRequired["list[str] | None"]},
|
|
2477
|
+
total=False,
|
|
2478
|
+
)
|
|
2479
|
+
CodespacesOrgSecret = TypedDict(
|
|
2480
|
+
"CodespacesOrgSecret",
|
|
2481
|
+
{
|
|
2482
|
+
"created_at": Required["str"],
|
|
2483
|
+
"name": Required["str"],
|
|
2484
|
+
"selected_repositories_url": NotRequired["str"],
|
|
2485
|
+
"updated_at": Required["str"],
|
|
2486
|
+
"visibility": Required["Literal['all', 'private', 'selected']"],
|
|
2487
|
+
},
|
|
2488
|
+
total=False,
|
|
2489
|
+
)
|
|
2490
|
+
CodespacesPermissionsCheckForDevcontainer = TypedDict(
|
|
2491
|
+
"CodespacesPermissionsCheckForDevcontainer", {"accepted": Required["bool"]}, total=False
|
|
2492
|
+
)
|
|
2493
|
+
CodespacesPublicKey = TypedDict(
|
|
2494
|
+
"CodespacesPublicKey",
|
|
2495
|
+
{
|
|
2496
|
+
"created_at": NotRequired["str"],
|
|
2497
|
+
"id": NotRequired["int"],
|
|
2498
|
+
"key": Required["str"],
|
|
2499
|
+
"key_id": Required["str"],
|
|
2500
|
+
"title": NotRequired["str"],
|
|
2501
|
+
"url": NotRequired["str"],
|
|
2502
|
+
},
|
|
2503
|
+
total=False,
|
|
2504
|
+
)
|
|
2505
|
+
CodespacesSecret = TypedDict(
|
|
2506
|
+
"CodespacesSecret",
|
|
2507
|
+
{
|
|
2508
|
+
"created_at": Required["str"],
|
|
2509
|
+
"name": Required["str"],
|
|
2510
|
+
"selected_repositories_url": Required["str"],
|
|
2511
|
+
"updated_at": Required["str"],
|
|
2512
|
+
"visibility": Required["Literal['all', 'private', 'selected']"],
|
|
2513
|
+
},
|
|
2514
|
+
total=False,
|
|
2515
|
+
)
|
|
2516
|
+
CodespacesUserPublicKey = TypedDict(
|
|
2517
|
+
"CodespacesUserPublicKey", {"key": Required["str"], "key_id": Required["str"]}, total=False
|
|
2518
|
+
)
|
|
2519
|
+
Collaborator = TypedDict(
|
|
2520
|
+
"Collaborator",
|
|
2521
|
+
{
|
|
2522
|
+
"avatar_url": Required["str"],
|
|
2523
|
+
"email": NotRequired["str | None"],
|
|
2524
|
+
"events_url": Required["str"],
|
|
2525
|
+
"followers_url": Required["str"],
|
|
2526
|
+
"following_url": Required["str"],
|
|
2527
|
+
"gists_url": Required["str"],
|
|
2528
|
+
"gravatar_id": Required["str | None"],
|
|
2529
|
+
"html_url": Required["str"],
|
|
2530
|
+
"id": Required["int"],
|
|
2531
|
+
"login": Required["str"],
|
|
2532
|
+
"name": NotRequired["str | None"],
|
|
2533
|
+
"node_id": Required["str"],
|
|
2534
|
+
"organizations_url": Required["str"],
|
|
2535
|
+
"permissions": NotRequired["CollaboratorPermissions"],
|
|
2536
|
+
"received_events_url": Required["str"],
|
|
2537
|
+
"repos_url": Required["str"],
|
|
2538
|
+
"role_name": Required["str"],
|
|
2539
|
+
"site_admin": Required["bool"],
|
|
2540
|
+
"starred_url": Required["str"],
|
|
2541
|
+
"subscriptions_url": Required["str"],
|
|
2542
|
+
"type": Required["str"],
|
|
2543
|
+
"url": Required["str"],
|
|
2544
|
+
"user_view_type": NotRequired["str"],
|
|
2545
|
+
},
|
|
2546
|
+
total=False,
|
|
2547
|
+
)
|
|
2548
|
+
CollaboratorPermissions = TypedDict(
|
|
2549
|
+
"CollaboratorPermissions",
|
|
2550
|
+
{
|
|
2551
|
+
"admin": Required["bool"],
|
|
2552
|
+
"maintain": NotRequired["bool"],
|
|
2553
|
+
"pull": Required["bool"],
|
|
2554
|
+
"push": Required["bool"],
|
|
2555
|
+
"triage": NotRequired["bool"],
|
|
2556
|
+
},
|
|
2557
|
+
total=False,
|
|
2558
|
+
)
|
|
2559
|
+
CombinedCommitStatus = TypedDict(
|
|
2560
|
+
"CombinedCommitStatus",
|
|
2561
|
+
{
|
|
2562
|
+
"commit_url": Required["str"],
|
|
2563
|
+
"repository": Required["MinimalRepository"],
|
|
2564
|
+
"sha": Required["str"],
|
|
2565
|
+
"state": Required["str"],
|
|
2566
|
+
"statuses": Required["list[SimpleCommitStatus]"],
|
|
2567
|
+
"total_count": Required["int"],
|
|
2568
|
+
"url": Required["str"],
|
|
2569
|
+
},
|
|
2570
|
+
total=False,
|
|
2571
|
+
)
|
|
2572
|
+
Commit = TypedDict(
|
|
2573
|
+
"Commit",
|
|
2574
|
+
{
|
|
2575
|
+
"author": Required["Union[Union[SimpleUser, EmptyObject], None]"],
|
|
2576
|
+
"comments_url": Required["str"],
|
|
2577
|
+
"commit": Required["CommitCommit"],
|
|
2578
|
+
"committer": Required["Union[Union[SimpleUser, EmptyObject], None]"],
|
|
2579
|
+
"files": NotRequired["list[DiffEntry]"],
|
|
2580
|
+
"html_url": Required["str"],
|
|
2581
|
+
"node_id": Required["str"],
|
|
2582
|
+
"parents": Required["list[CommitParentsItem]"],
|
|
2583
|
+
"sha": Required["str"],
|
|
2584
|
+
"stats": NotRequired["CommitStats"],
|
|
2585
|
+
"url": Required["str"],
|
|
2586
|
+
},
|
|
2587
|
+
total=False,
|
|
2588
|
+
)
|
|
2589
|
+
CommitActivity = TypedDict(
|
|
2590
|
+
"CommitActivity",
|
|
2591
|
+
{"days": Required["list[int]"], "total": Required["int"], "week": Required["int"]},
|
|
2592
|
+
total=False,
|
|
2593
|
+
)
|
|
2594
|
+
CommitComment = TypedDict(
|
|
2595
|
+
"CommitComment",
|
|
2596
|
+
{
|
|
2597
|
+
"author_association": Required["AuthorAssociation"],
|
|
2598
|
+
"body": Required["str"],
|
|
2599
|
+
"commit_id": Required["str"],
|
|
2600
|
+
"created_at": Required["str"],
|
|
2601
|
+
"html_url": Required["str"],
|
|
2602
|
+
"id": Required["int"],
|
|
2603
|
+
"line": Required["int | None"],
|
|
2604
|
+
"node_id": Required["str"],
|
|
2605
|
+
"path": Required["str | None"],
|
|
2606
|
+
"position": Required["int | None"],
|
|
2607
|
+
"reactions": NotRequired["ReactionRollup"],
|
|
2608
|
+
"updated_at": Required["str"],
|
|
2609
|
+
"url": Required["str"],
|
|
2610
|
+
"user": Required["NullableSimpleUser"],
|
|
2611
|
+
},
|
|
2612
|
+
total=False,
|
|
2613
|
+
)
|
|
2614
|
+
CommitCommentEvent = TypedDict(
|
|
2615
|
+
"CommitCommentEvent",
|
|
2616
|
+
{"action": Required["str"], "comment": Required["CommitCommentEventComment"]},
|
|
2617
|
+
total=False,
|
|
2618
|
+
)
|
|
2619
|
+
CommitCommentEventComment = TypedDict(
|
|
2620
|
+
"CommitCommentEventComment",
|
|
2621
|
+
{
|
|
2622
|
+
"body": NotRequired["str"],
|
|
2623
|
+
"commit_id": NotRequired["str"],
|
|
2624
|
+
"created_at": NotRequired["str"],
|
|
2625
|
+
"html_url": NotRequired["str"],
|
|
2626
|
+
"id": NotRequired["int"],
|
|
2627
|
+
"line": NotRequired["int | None"],
|
|
2628
|
+
"node_id": NotRequired["str"],
|
|
2629
|
+
"path": NotRequired["str | None"],
|
|
2630
|
+
"position": NotRequired["int | None"],
|
|
2631
|
+
"reactions": NotRequired["ReactionRollup"],
|
|
2632
|
+
"updated_at": NotRequired["str"],
|
|
2633
|
+
"url": NotRequired["str"],
|
|
2634
|
+
"user": NotRequired["NullableSimpleUser"],
|
|
2635
|
+
},
|
|
2636
|
+
total=False,
|
|
2637
|
+
)
|
|
2638
|
+
CommitCommit = TypedDict(
|
|
2639
|
+
"CommitCommit",
|
|
2640
|
+
{
|
|
2641
|
+
"author": Required["NullableGitUser"],
|
|
2642
|
+
"comment_count": Required["int"],
|
|
2643
|
+
"committer": Required["NullableGitUser"],
|
|
2644
|
+
"message": Required["str"],
|
|
2645
|
+
"tree": Required["CommitCommitTree"],
|
|
2646
|
+
"url": Required["str"],
|
|
2647
|
+
"verification": NotRequired["Verification"],
|
|
2648
|
+
},
|
|
2649
|
+
total=False,
|
|
2650
|
+
)
|
|
2651
|
+
CommitCommitTree = TypedDict(
|
|
2652
|
+
"CommitCommitTree", {"sha": Required["str"], "url": Required["str"]}, total=False
|
|
2653
|
+
)
|
|
2654
|
+
CommitComparison = TypedDict(
|
|
2655
|
+
"CommitComparison",
|
|
2656
|
+
{
|
|
2657
|
+
"ahead_by": Required["int"],
|
|
2658
|
+
"base_commit": Required["Commit"],
|
|
2659
|
+
"behind_by": Required["int"],
|
|
2660
|
+
"commits": Required["list[Commit]"],
|
|
2661
|
+
"diff_url": Required["str"],
|
|
2662
|
+
"files": NotRequired["list[DiffEntry]"],
|
|
2663
|
+
"html_url": Required["str"],
|
|
2664
|
+
"merge_base_commit": Required["Commit"],
|
|
2665
|
+
"patch_url": Required["str"],
|
|
2666
|
+
"permalink_url": Required["str"],
|
|
2667
|
+
"status": Required["Literal['diverged', 'ahead', 'behind', 'identical']"],
|
|
2668
|
+
"total_commits": Required["int"],
|
|
2669
|
+
"url": Required["str"],
|
|
2670
|
+
},
|
|
2671
|
+
total=False,
|
|
2672
|
+
)
|
|
2673
|
+
CommitParentsItem = TypedDict(
|
|
2674
|
+
"CommitParentsItem",
|
|
2675
|
+
{"html_url": NotRequired["str"], "sha": Required["str"], "url": Required["str"]},
|
|
2676
|
+
total=False,
|
|
2677
|
+
)
|
|
2678
|
+
CommitSearchResultItem = TypedDict(
|
|
2679
|
+
"CommitSearchResultItem",
|
|
2680
|
+
{
|
|
2681
|
+
"author": Required["NullableSimpleUser"],
|
|
2682
|
+
"comments_url": Required["str"],
|
|
2683
|
+
"commit": Required["CommitSearchResultItemCommit"],
|
|
2684
|
+
"committer": Required["NullableGitUser"],
|
|
2685
|
+
"html_url": Required["str"],
|
|
2686
|
+
"node_id": Required["str"],
|
|
2687
|
+
"parents": Required["list[CommitSearchResultItemParentsItem]"],
|
|
2688
|
+
"repository": Required["MinimalRepository"],
|
|
2689
|
+
"score": Required["float"],
|
|
2690
|
+
"sha": Required["str"],
|
|
2691
|
+
"text_matches": NotRequired["SearchResultTextMatches"],
|
|
2692
|
+
"url": Required["str"],
|
|
2693
|
+
},
|
|
2694
|
+
total=False,
|
|
2695
|
+
)
|
|
2696
|
+
CommitSearchResultItemCommit = TypedDict(
|
|
2697
|
+
"CommitSearchResultItemCommit",
|
|
2698
|
+
{
|
|
2699
|
+
"author": Required["CommitSearchResultItemCommitAuthor"],
|
|
2700
|
+
"comment_count": Required["int"],
|
|
2701
|
+
"committer": Required["NullableGitUser"],
|
|
2702
|
+
"message": Required["str"],
|
|
2703
|
+
"tree": Required["CommitSearchResultItemCommitTree"],
|
|
2704
|
+
"url": Required["str"],
|
|
2705
|
+
"verification": NotRequired["Verification"],
|
|
2706
|
+
},
|
|
2707
|
+
total=False,
|
|
2708
|
+
)
|
|
2709
|
+
CommitSearchResultItemCommitAuthor = TypedDict(
|
|
2710
|
+
"CommitSearchResultItemCommitAuthor",
|
|
2711
|
+
{"date": Required["str"], "email": Required["str"], "name": Required["str"]},
|
|
2712
|
+
total=False,
|
|
2713
|
+
)
|
|
2714
|
+
CommitSearchResultItemCommitTree = TypedDict(
|
|
2715
|
+
"CommitSearchResultItemCommitTree",
|
|
2716
|
+
{"sha": Required["str"], "url": Required["str"]},
|
|
2717
|
+
total=False,
|
|
2718
|
+
)
|
|
2719
|
+
CommitSearchResultItemParentsItem = TypedDict(
|
|
2720
|
+
"CommitSearchResultItemParentsItem",
|
|
2721
|
+
{"html_url": NotRequired["str"], "sha": NotRequired["str"], "url": NotRequired["str"]},
|
|
2722
|
+
total=False,
|
|
2723
|
+
)
|
|
2724
|
+
CommitStats = TypedDict(
|
|
2725
|
+
"CommitStats",
|
|
2726
|
+
{"additions": NotRequired["int"], "deletions": NotRequired["int"], "total": NotRequired["int"]},
|
|
2727
|
+
total=False,
|
|
2728
|
+
)
|
|
2729
|
+
CommunityProfile = TypedDict(
|
|
2730
|
+
"CommunityProfile",
|
|
2731
|
+
{
|
|
2732
|
+
"content_reports_enabled": NotRequired["bool"],
|
|
2733
|
+
"description": Required["str | None"],
|
|
2734
|
+
"documentation": Required["str | None"],
|
|
2735
|
+
"files": Required["CommunityProfileFiles"],
|
|
2736
|
+
"health_percentage": Required["int"],
|
|
2737
|
+
"updated_at": Required["str | None"],
|
|
2738
|
+
},
|
|
2739
|
+
total=False,
|
|
2740
|
+
)
|
|
2741
|
+
CommunityProfileFiles = TypedDict(
|
|
2742
|
+
"CommunityProfileFiles",
|
|
2743
|
+
{
|
|
2744
|
+
"code_of_conduct": Required["NullableCodeOfConductSimple"],
|
|
2745
|
+
"code_of_conduct_file": Required["NullableCommunityHealthFile"],
|
|
2746
|
+
"contributing": Required["NullableCommunityHealthFile"],
|
|
2747
|
+
"issue_template": Required["NullableCommunityHealthFile"],
|
|
2748
|
+
"license": Required["NullableLicenseSimple"],
|
|
2749
|
+
"pull_request_template": Required["NullableCommunityHealthFile"],
|
|
2750
|
+
"readme": Required["NullableCommunityHealthFile"],
|
|
2751
|
+
},
|
|
2752
|
+
total=False,
|
|
2753
|
+
)
|
|
2754
|
+
ConcurrencyGroup = TypedDict(
|
|
2755
|
+
"ConcurrencyGroup",
|
|
2756
|
+
{
|
|
2757
|
+
"group_members": Required["list[ConcurrencyGroupGroupMembersItem]"],
|
|
2758
|
+
"group_name": Required["str"],
|
|
2759
|
+
"group_url": Required["str"],
|
|
2760
|
+
"total_count": Required["int"],
|
|
2761
|
+
},
|
|
2762
|
+
total=False,
|
|
2763
|
+
)
|
|
2764
|
+
ConcurrencyGroupGroupMembersItem = TypedDict(
|
|
2765
|
+
"ConcurrencyGroupGroupMembersItem",
|
|
2766
|
+
{
|
|
2767
|
+
"job_html_url": NotRequired["str | None"],
|
|
2768
|
+
"job_id": NotRequired["int"],
|
|
2769
|
+
"job_name": NotRequired["str"],
|
|
2770
|
+
"job_url": NotRequired["str | None"],
|
|
2771
|
+
"run_html_url": Required["str | None"],
|
|
2772
|
+
"run_id": Required["int"],
|
|
2773
|
+
"run_name": Required["str"],
|
|
2774
|
+
"run_url": Required["str | None"],
|
|
2775
|
+
"status": Required["Literal['in_progress', 'pending']"],
|
|
2776
|
+
},
|
|
2777
|
+
total=False,
|
|
2778
|
+
)
|
|
2779
|
+
ConcurrencyGroupList = TypedDict(
|
|
2780
|
+
"ConcurrencyGroupList",
|
|
2781
|
+
{
|
|
2782
|
+
"concurrency_groups": Required["list[ConcurrencyGroupListConcurrencyGroupsItem]"],
|
|
2783
|
+
"total_count": Required["int"],
|
|
2784
|
+
},
|
|
2785
|
+
total=False,
|
|
2786
|
+
)
|
|
2787
|
+
ConcurrencyGroupListConcurrencyGroupsItem = TypedDict(
|
|
2788
|
+
"ConcurrencyGroupListConcurrencyGroupsItem",
|
|
2789
|
+
{
|
|
2790
|
+
"group_name": Required["str"],
|
|
2791
|
+
"group_url": Required["str"],
|
|
2792
|
+
"last_acquired_at": Required["str | None"],
|
|
2793
|
+
},
|
|
2794
|
+
total=False,
|
|
2795
|
+
)
|
|
2796
|
+
ConcurrencyGroupRunList = TypedDict(
|
|
2797
|
+
"ConcurrencyGroupRunList",
|
|
2798
|
+
{
|
|
2799
|
+
"concurrency_groups": Required["list[ConcurrencyGroupRunListConcurrencyGroupsItem]"],
|
|
2800
|
+
"total_count": Required["int"],
|
|
2801
|
+
},
|
|
2802
|
+
total=False,
|
|
2803
|
+
)
|
|
2804
|
+
ConcurrencyGroupRunListConcurrencyGroupsItem = TypedDict(
|
|
2805
|
+
"ConcurrencyGroupRunListConcurrencyGroupsItem",
|
|
2806
|
+
{
|
|
2807
|
+
"group_members": Required[
|
|
2808
|
+
"list[ConcurrencyGroupRunListConcurrencyGroupsItemGroupMembersItem]"
|
|
2809
|
+
],
|
|
2810
|
+
"group_name": Required["str"],
|
|
2811
|
+
"group_url": Required["str"],
|
|
2812
|
+
},
|
|
2813
|
+
total=False,
|
|
2814
|
+
)
|
|
2815
|
+
ConcurrencyGroupRunListConcurrencyGroupsItemGroupMembersItem = TypedDict(
|
|
2816
|
+
"ConcurrencyGroupRunListConcurrencyGroupsItemGroupMembersItem",
|
|
2817
|
+
{
|
|
2818
|
+
"job_html_url": NotRequired["str | None"],
|
|
2819
|
+
"job_id": NotRequired["int | None"],
|
|
2820
|
+
"job_name": NotRequired["str | None"],
|
|
2821
|
+
"job_url": NotRequired["str | None"],
|
|
2822
|
+
"position": Required["int"],
|
|
2823
|
+
"position_url": Required["str"],
|
|
2824
|
+
"run_html_url": Required["str | None"],
|
|
2825
|
+
"run_id": Required["int"],
|
|
2826
|
+
"run_name": Required["str"],
|
|
2827
|
+
"run_url": Required["str | None"],
|
|
2828
|
+
"status": Required["Literal['in_progress', 'pending']"],
|
|
2829
|
+
},
|
|
2830
|
+
total=False,
|
|
2831
|
+
)
|
|
2832
|
+
ContentDirectory: TypeAlias = "list[ContentDirectoryItem]"
|
|
2833
|
+
ContentDirectoryItem = TypedDict(
|
|
2834
|
+
"ContentDirectoryItem",
|
|
2835
|
+
{
|
|
2836
|
+
"_links": Required["ContentDirectoryItemLinks"],
|
|
2837
|
+
"content": NotRequired["str"],
|
|
2838
|
+
"download_url": Required["str | None"],
|
|
2839
|
+
"git_url": Required["str | None"],
|
|
2840
|
+
"html_url": Required["str | None"],
|
|
2841
|
+
"name": Required["str"],
|
|
2842
|
+
"path": Required["str"],
|
|
2843
|
+
"sha": Required["str"],
|
|
2844
|
+
"size": Required["int"],
|
|
2845
|
+
"type": Required["Literal['dir', 'file', 'submodule', 'symlink']"],
|
|
2846
|
+
"url": Required["str"],
|
|
2847
|
+
},
|
|
2848
|
+
total=False,
|
|
2849
|
+
)
|
|
2850
|
+
ContentDirectoryItemLinks = TypedDict(
|
|
2851
|
+
"ContentDirectoryItemLinks",
|
|
2852
|
+
{"git": Required["str | None"], "html": Required["str | None"], "self": Required["str"]},
|
|
2853
|
+
total=False,
|
|
2854
|
+
)
|
|
2855
|
+
ContentFile = TypedDict(
|
|
2856
|
+
"ContentFile",
|
|
2857
|
+
{
|
|
2858
|
+
"_links": Required["ContentFileLinks"],
|
|
2859
|
+
"content": Required["str"],
|
|
2860
|
+
"download_url": Required["str | None"],
|
|
2861
|
+
"encoding": Required["str"],
|
|
2862
|
+
"git_url": Required["str | None"],
|
|
2863
|
+
"html_url": Required["str | None"],
|
|
2864
|
+
"name": Required["str"],
|
|
2865
|
+
"path": Required["str"],
|
|
2866
|
+
"sha": Required["str"],
|
|
2867
|
+
"size": Required["int"],
|
|
2868
|
+
"submodule_git_url": NotRequired["str"],
|
|
2869
|
+
"target": NotRequired["str"],
|
|
2870
|
+
"type": Required["Literal['file']"],
|
|
2871
|
+
"url": Required["str"],
|
|
2872
|
+
},
|
|
2873
|
+
total=False,
|
|
2874
|
+
)
|
|
2875
|
+
ContentFileLinks = TypedDict(
|
|
2876
|
+
"ContentFileLinks",
|
|
2877
|
+
{"git": Required["str | None"], "html": Required["str | None"], "self": Required["str"]},
|
|
2878
|
+
total=False,
|
|
2879
|
+
)
|
|
2880
|
+
ContentSubmodule = TypedDict(
|
|
2881
|
+
"ContentSubmodule",
|
|
2882
|
+
{
|
|
2883
|
+
"_links": Required["ContentSubmoduleLinks"],
|
|
2884
|
+
"download_url": Required["str | None"],
|
|
2885
|
+
"git_url": Required["str | None"],
|
|
2886
|
+
"html_url": Required["str | None"],
|
|
2887
|
+
"name": Required["str"],
|
|
2888
|
+
"path": Required["str"],
|
|
2889
|
+
"sha": Required["str"],
|
|
2890
|
+
"size": Required["int"],
|
|
2891
|
+
"submodule_git_url": Required["str"],
|
|
2892
|
+
"type": Required["Literal['submodule']"],
|
|
2893
|
+
"url": Required["str"],
|
|
2894
|
+
},
|
|
2895
|
+
total=False,
|
|
2896
|
+
)
|
|
2897
|
+
ContentSubmoduleLinks = TypedDict(
|
|
2898
|
+
"ContentSubmoduleLinks",
|
|
2899
|
+
{"git": Required["str | None"], "html": Required["str | None"], "self": Required["str"]},
|
|
2900
|
+
total=False,
|
|
2901
|
+
)
|
|
2902
|
+
ContentSymlink = TypedDict(
|
|
2903
|
+
"ContentSymlink",
|
|
2904
|
+
{
|
|
2905
|
+
"_links": Required["ContentSymlinkLinks"],
|
|
2906
|
+
"download_url": Required["str | None"],
|
|
2907
|
+
"git_url": Required["str | None"],
|
|
2908
|
+
"html_url": Required["str | None"],
|
|
2909
|
+
"name": Required["str"],
|
|
2910
|
+
"path": Required["str"],
|
|
2911
|
+
"sha": Required["str"],
|
|
2912
|
+
"size": Required["int"],
|
|
2913
|
+
"target": Required["str"],
|
|
2914
|
+
"type": Required["Literal['symlink']"],
|
|
2915
|
+
"url": Required["str"],
|
|
2916
|
+
},
|
|
2917
|
+
total=False,
|
|
2918
|
+
)
|
|
2919
|
+
ContentSymlinkLinks = TypedDict(
|
|
2920
|
+
"ContentSymlinkLinks",
|
|
2921
|
+
{"git": Required["str | None"], "html": Required["str | None"], "self": Required["str"]},
|
|
2922
|
+
total=False,
|
|
2923
|
+
)
|
|
2924
|
+
ContentTraffic = TypedDict(
|
|
2925
|
+
"ContentTraffic",
|
|
2926
|
+
{
|
|
2927
|
+
"count": Required["int"],
|
|
2928
|
+
"path": Required["str"],
|
|
2929
|
+
"title": Required["str"],
|
|
2930
|
+
"uniques": Required["int"],
|
|
2931
|
+
},
|
|
2932
|
+
total=False,
|
|
2933
|
+
)
|
|
2934
|
+
ContentTree = TypedDict(
|
|
2935
|
+
"ContentTree",
|
|
2936
|
+
{
|
|
2937
|
+
"_links": Required["ContentTreeLinks"],
|
|
2938
|
+
"content": NotRequired["str"],
|
|
2939
|
+
"download_url": Required["str | None"],
|
|
2940
|
+
"encoding": NotRequired["str"],
|
|
2941
|
+
"entries": NotRequired["list[ContentTreeEntriesItem]"],
|
|
2942
|
+
"git_url": Required["str | None"],
|
|
2943
|
+
"html_url": Required["str | None"],
|
|
2944
|
+
"name": Required["str"],
|
|
2945
|
+
"path": Required["str"],
|
|
2946
|
+
"sha": Required["str"],
|
|
2947
|
+
"size": Required["int"],
|
|
2948
|
+
"type": Required["str"],
|
|
2949
|
+
"url": Required["str"],
|
|
2950
|
+
},
|
|
2951
|
+
total=False,
|
|
2952
|
+
)
|
|
2953
|
+
ContentTreeEntriesItem = TypedDict(
|
|
2954
|
+
"ContentTreeEntriesItem",
|
|
2955
|
+
{
|
|
2956
|
+
"_links": Required["ContentTreeEntriesItemLinks"],
|
|
2957
|
+
"download_url": Required["str | None"],
|
|
2958
|
+
"git_url": Required["str | None"],
|
|
2959
|
+
"html_url": Required["str | None"],
|
|
2960
|
+
"name": Required["str"],
|
|
2961
|
+
"path": Required["str"],
|
|
2962
|
+
"sha": Required["str"],
|
|
2963
|
+
"size": Required["int"],
|
|
2964
|
+
"type": Required["str"],
|
|
2965
|
+
"url": Required["str"],
|
|
2966
|
+
},
|
|
2967
|
+
total=False,
|
|
2968
|
+
)
|
|
2969
|
+
ContentTreeEntriesItemLinks = TypedDict(
|
|
2970
|
+
"ContentTreeEntriesItemLinks",
|
|
2971
|
+
{"git": Required["str | None"], "html": Required["str | None"], "self": Required["str"]},
|
|
2972
|
+
total=False,
|
|
2973
|
+
)
|
|
2974
|
+
ContentTreeLinks = TypedDict(
|
|
2975
|
+
"ContentTreeLinks",
|
|
2976
|
+
{"git": Required["str | None"], "html": Required["str | None"], "self": Required["str"]},
|
|
2977
|
+
total=False,
|
|
2978
|
+
)
|
|
2979
|
+
Contributor = TypedDict(
|
|
2980
|
+
"Contributor",
|
|
2981
|
+
{
|
|
2982
|
+
"avatar_url": NotRequired["str"],
|
|
2983
|
+
"contributions": Required["int"],
|
|
2984
|
+
"email": NotRequired["str"],
|
|
2985
|
+
"events_url": NotRequired["str"],
|
|
2986
|
+
"followers_url": NotRequired["str"],
|
|
2987
|
+
"following_url": NotRequired["str"],
|
|
2988
|
+
"gists_url": NotRequired["str"],
|
|
2989
|
+
"gravatar_id": NotRequired["str | None"],
|
|
2990
|
+
"html_url": NotRequired["str"],
|
|
2991
|
+
"id": NotRequired["int"],
|
|
2992
|
+
"login": NotRequired["str"],
|
|
2993
|
+
"name": NotRequired["str"],
|
|
2994
|
+
"node_id": NotRequired["str"],
|
|
2995
|
+
"organizations_url": NotRequired["str"],
|
|
2996
|
+
"received_events_url": NotRequired["str"],
|
|
2997
|
+
"repos_url": NotRequired["str"],
|
|
2998
|
+
"site_admin": NotRequired["bool"],
|
|
2999
|
+
"starred_url": NotRequired["str"],
|
|
3000
|
+
"subscriptions_url": NotRequired["str"],
|
|
3001
|
+
"type": Required["str"],
|
|
3002
|
+
"url": NotRequired["str"],
|
|
3003
|
+
"user_view_type": NotRequired["str"],
|
|
3004
|
+
},
|
|
3005
|
+
total=False,
|
|
3006
|
+
)
|
|
3007
|
+
ContributorActivity = TypedDict(
|
|
3008
|
+
"ContributorActivity",
|
|
3009
|
+
{
|
|
3010
|
+
"author": Required["NullableSimpleUser"],
|
|
3011
|
+
"total": Required["int"],
|
|
3012
|
+
"weeks": Required["list[ContributorActivityWeeksItem]"],
|
|
3013
|
+
},
|
|
3014
|
+
total=False,
|
|
3015
|
+
)
|
|
3016
|
+
ContributorActivityWeeksItem = TypedDict(
|
|
3017
|
+
"ContributorActivityWeeksItem",
|
|
3018
|
+
{
|
|
3019
|
+
"a": NotRequired["int"],
|
|
3020
|
+
"c": NotRequired["int"],
|
|
3021
|
+
"d": NotRequired["int"],
|
|
3022
|
+
"w": NotRequired["int"],
|
|
3023
|
+
},
|
|
3024
|
+
total=False,
|
|
3025
|
+
)
|
|
3026
|
+
ConvertedNoteToIssueIssueEvent = TypedDict(
|
|
3027
|
+
"ConvertedNoteToIssueIssueEvent",
|
|
3028
|
+
{
|
|
3029
|
+
"actor": Required["SimpleUser"],
|
|
3030
|
+
"commit_id": Required["str | None"],
|
|
3031
|
+
"commit_url": Required["str | None"],
|
|
3032
|
+
"created_at": Required["str"],
|
|
3033
|
+
"event": Required["str"],
|
|
3034
|
+
"id": Required["int"],
|
|
3035
|
+
"node_id": Required["str"],
|
|
3036
|
+
"performed_via_github_app": Required["Integration"],
|
|
3037
|
+
"project_card": NotRequired["ConvertedNoteToIssueIssueEventProjectCard"],
|
|
3038
|
+
"url": Required["str"],
|
|
3039
|
+
},
|
|
3040
|
+
total=False,
|
|
3041
|
+
)
|
|
3042
|
+
ConvertedNoteToIssueIssueEventProjectCard = TypedDict(
|
|
3043
|
+
"ConvertedNoteToIssueIssueEventProjectCard",
|
|
3044
|
+
{
|
|
3045
|
+
"column_name": Required["str"],
|
|
3046
|
+
"id": Required["int"],
|
|
3047
|
+
"previous_column_name": NotRequired["str"],
|
|
3048
|
+
"project_id": Required["int"],
|
|
3049
|
+
"project_url": Required["str"],
|
|
3050
|
+
"url": Required["str"],
|
|
3051
|
+
},
|
|
3052
|
+
total=False,
|
|
3053
|
+
)
|
|
3054
|
+
CopilotOrganizationContentExclusionDetails: TypeAlias = "dict[str, list[str]]"
|
|
3055
|
+
CopilotOrganizationDetails = TypedDict(
|
|
3056
|
+
"CopilotOrganizationDetails",
|
|
3057
|
+
{
|
|
3058
|
+
"cli": NotRequired["Literal['enabled', 'disabled', 'unconfigured']"],
|
|
3059
|
+
"ide_chat": NotRequired["Literal['enabled', 'disabled', 'unconfigured']"],
|
|
3060
|
+
"plan_type": NotRequired["Literal['business', 'enterprise', 'access']"],
|
|
3061
|
+
"platform_chat": NotRequired["Literal['enabled', 'disabled', 'unconfigured']"],
|
|
3062
|
+
"public_code_suggestions": Required["Literal['allow', 'block', 'unconfigured']"],
|
|
3063
|
+
"seat_breakdown": Required["CopilotOrganizationSeatBreakdown"],
|
|
3064
|
+
"seat_management_setting": Required[
|
|
3065
|
+
"Literal['assign_all', 'assign_selected', 'disabled', 'unconfigured']"
|
|
3066
|
+
],
|
|
3067
|
+
},
|
|
3068
|
+
total=False,
|
|
3069
|
+
)
|
|
3070
|
+
CopilotOrganizationSeatBreakdown = TypedDict(
|
|
3071
|
+
"CopilotOrganizationSeatBreakdown",
|
|
3072
|
+
{
|
|
3073
|
+
"active_this_cycle": NotRequired["int"],
|
|
3074
|
+
"added_this_cycle": NotRequired["int"],
|
|
3075
|
+
"inactive_this_cycle": NotRequired["int"],
|
|
3076
|
+
"pending_cancellation": NotRequired["int"],
|
|
3077
|
+
"pending_invitation": NotRequired["int"],
|
|
3078
|
+
"total": NotRequired["int"],
|
|
3079
|
+
},
|
|
3080
|
+
total=False,
|
|
3081
|
+
)
|
|
3082
|
+
CopilotSeatDetails = TypedDict(
|
|
3083
|
+
"CopilotSeatDetails",
|
|
3084
|
+
{
|
|
3085
|
+
"assignee": NotRequired["NullableSimpleUser"],
|
|
3086
|
+
"assigning_team": NotRequired["Union[Team | EnterpriseTeam, None]"],
|
|
3087
|
+
"created_at": Required["str"],
|
|
3088
|
+
"last_activity_at": NotRequired["str | None"],
|
|
3089
|
+
"last_activity_editor": NotRequired["str | None"],
|
|
3090
|
+
"last_authenticated_at": NotRequired["str | None"],
|
|
3091
|
+
"organization": NotRequired["NullableOrganizationSimple"],
|
|
3092
|
+
"pending_cancellation_date": NotRequired["str | None"],
|
|
3093
|
+
"plan_type": NotRequired["Literal['business', 'enterprise', 'unknown', 'access']"],
|
|
3094
|
+
"updated_at": NotRequired["str"],
|
|
3095
|
+
},
|
|
3096
|
+
total=False,
|
|
3097
|
+
)
|
|
3098
|
+
CopilotSpace = TypedDict(
|
|
3099
|
+
"CopilotSpace",
|
|
3100
|
+
{
|
|
3101
|
+
"api_url": Required["str"],
|
|
3102
|
+
"base_role": Required["Literal['reader', 'writer', 'admin', 'no_access']"],
|
|
3103
|
+
"created_at": Required["str"],
|
|
3104
|
+
"creator": Required["SimpleUser"],
|
|
3105
|
+
"description": NotRequired["str | None"],
|
|
3106
|
+
"general_instructions": NotRequired["str | None"],
|
|
3107
|
+
"html_url": Required["str"],
|
|
3108
|
+
"id": Required["int"],
|
|
3109
|
+
"name": Required["str"],
|
|
3110
|
+
"number": Required["int"],
|
|
3111
|
+
"owner": Required["SimpleUser | OrganizationSimple"],
|
|
3112
|
+
"resources_attributes": NotRequired["list[CopilotSpaceResourcesAttributesItem]"],
|
|
3113
|
+
"updated_at": Required["str"],
|
|
3114
|
+
},
|
|
3115
|
+
total=False,
|
|
3116
|
+
)
|
|
3117
|
+
CopilotSpaceCollaborator: TypeAlias = "dict[str, object]"
|
|
3118
|
+
CopilotSpaceResource = TypedDict(
|
|
3119
|
+
"CopilotSpaceResource",
|
|
3120
|
+
{
|
|
3121
|
+
"copilot_chat_attachment_id": NotRequired["int | None"],
|
|
3122
|
+
"created_at": Required["str"],
|
|
3123
|
+
"id": Required["int"],
|
|
3124
|
+
"metadata": Required["dict[str, object]"],
|
|
3125
|
+
"resource_type": Required[
|
|
3126
|
+
"Literal['repository', 'github_file', 'free_text', 'github_issue', 'github_pull_request', 'media_content', 'uploaded_text_file']"
|
|
3127
|
+
],
|
|
3128
|
+
"updated_at": Required["str"],
|
|
3129
|
+
},
|
|
3130
|
+
total=False,
|
|
3131
|
+
)
|
|
3132
|
+
CopilotSpaceResourcesAttributesItem = TypedDict(
|
|
3133
|
+
"CopilotSpaceResourcesAttributesItem",
|
|
3134
|
+
{
|
|
3135
|
+
"copilot_chat_attachment_id": NotRequired["int | None"],
|
|
3136
|
+
"created_at": NotRequired["str"],
|
|
3137
|
+
"id": NotRequired["int"],
|
|
3138
|
+
"metadata": NotRequired["CopilotSpaceResourcesAttributesItemMetadata"],
|
|
3139
|
+
"resource_type": NotRequired[
|
|
3140
|
+
"Literal['repository', 'github_file', 'free_text', 'github_issue', 'github_pull_request', 'media_content', 'uploaded_text_file']"
|
|
3141
|
+
],
|
|
3142
|
+
"updated_at": NotRequired["str"],
|
|
3143
|
+
},
|
|
3144
|
+
total=False,
|
|
3145
|
+
)
|
|
3146
|
+
CopilotSpaceResourcesAttributesItemMetadata = TypedDict(
|
|
3147
|
+
"CopilotSpaceResourcesAttributesItemMetadata",
|
|
3148
|
+
{
|
|
3149
|
+
"copilot_chat_attachment_id": NotRequired["int"],
|
|
3150
|
+
"file_path": NotRequired["str"],
|
|
3151
|
+
"height": NotRequired["int"],
|
|
3152
|
+
"media_type": NotRequired["str"],
|
|
3153
|
+
"name": NotRequired["str"],
|
|
3154
|
+
"number": NotRequired["int"],
|
|
3155
|
+
"repository_id": NotRequired["int"],
|
|
3156
|
+
"text": NotRequired["str"],
|
|
3157
|
+
"url": NotRequired["str"],
|
|
3158
|
+
"width": NotRequired["int"],
|
|
3159
|
+
},
|
|
3160
|
+
total=False,
|
|
3161
|
+
)
|
|
3162
|
+
CopilotUsageMetrics1DayReport = TypedDict(
|
|
3163
|
+
"CopilotUsageMetrics1DayReport",
|
|
3164
|
+
{"download_links": Required["list[str]"], "report_day": Required["str"]},
|
|
3165
|
+
total=False,
|
|
3166
|
+
)
|
|
3167
|
+
CopilotUsageMetrics28DayReport = TypedDict(
|
|
3168
|
+
"CopilotUsageMetrics28DayReport",
|
|
3169
|
+
{
|
|
3170
|
+
"download_links": Required["list[str]"],
|
|
3171
|
+
"report_end_day": Required["str"],
|
|
3172
|
+
"report_start_day": Required["str"],
|
|
3173
|
+
},
|
|
3174
|
+
total=False,
|
|
3175
|
+
)
|
|
3176
|
+
CreateBudget = TypedDict(
|
|
3177
|
+
"CreateBudget",
|
|
3178
|
+
{"budget": Required["CreateBudgetBudget"], "message": Required["str"]},
|
|
3179
|
+
total=False,
|
|
3180
|
+
)
|
|
3181
|
+
CreateBudgetBudget = TypedDict(
|
|
3182
|
+
"CreateBudgetBudget",
|
|
3183
|
+
{
|
|
3184
|
+
"budget_alerting": NotRequired["CreateBudgetBudgetBudgetAlerting"],
|
|
3185
|
+
"budget_amount": NotRequired["int"],
|
|
3186
|
+
"budget_entity_name": NotRequired["str"],
|
|
3187
|
+
"budget_product_sku": NotRequired["str"],
|
|
3188
|
+
"budget_scope": NotRequired[
|
|
3189
|
+
"Literal['enterprise', 'organization', 'repository', 'cost_center', 'multi_user_customer', 'multi_user_cost_center', 'user']"
|
|
3190
|
+
],
|
|
3191
|
+
"budget_type": NotRequired["Literal['ProductPricing'] | Literal['SkuPricing']"],
|
|
3192
|
+
"expires_at": NotRequired["str"],
|
|
3193
|
+
"id": NotRequired["str"],
|
|
3194
|
+
"prevent_further_usage": NotRequired["bool"],
|
|
3195
|
+
},
|
|
3196
|
+
total=False,
|
|
3197
|
+
)
|
|
3198
|
+
CreateBudgetBudgetBudgetAlerting = TypedDict(
|
|
3199
|
+
"CreateBudgetBudgetBudgetAlerting",
|
|
3200
|
+
{"alert_recipients": NotRequired["list[str]"], "will_alert": NotRequired["bool"]},
|
|
3201
|
+
total=False,
|
|
3202
|
+
)
|
|
3203
|
+
CreateEvent = TypedDict(
|
|
3204
|
+
"CreateEvent",
|
|
3205
|
+
{
|
|
3206
|
+
"description": NotRequired["str | None"],
|
|
3207
|
+
"full_ref": Required["str"],
|
|
3208
|
+
"master_branch": Required["str"],
|
|
3209
|
+
"pusher_type": Required["str"],
|
|
3210
|
+
"ref": Required["str"],
|
|
3211
|
+
"ref_type": Required["str"],
|
|
3212
|
+
},
|
|
3213
|
+
total=False,
|
|
3214
|
+
)
|
|
3215
|
+
CustomDeploymentRuleApp = TypedDict(
|
|
3216
|
+
"CustomDeploymentRuleApp",
|
|
3217
|
+
{
|
|
3218
|
+
"id": Required["int"],
|
|
3219
|
+
"integration_url": Required["str"],
|
|
3220
|
+
"node_id": Required["str"],
|
|
3221
|
+
"slug": Required["str"],
|
|
3222
|
+
},
|
|
3223
|
+
total=False,
|
|
3224
|
+
)
|
|
3225
|
+
CustomProperty = TypedDict(
|
|
3226
|
+
"CustomProperty",
|
|
3227
|
+
{
|
|
3228
|
+
"allowed_values": NotRequired["list[str] | None"],
|
|
3229
|
+
"default_value": NotRequired["Union[str | list[str], None]"],
|
|
3230
|
+
"description": NotRequired["str | None"],
|
|
3231
|
+
"property_name": Required["str"],
|
|
3232
|
+
"require_explicit_values": NotRequired["bool"],
|
|
3233
|
+
"required": NotRequired["bool"],
|
|
3234
|
+
"source_type": NotRequired["Literal['organization', 'enterprise']"],
|
|
3235
|
+
"url": NotRequired["str"],
|
|
3236
|
+
"value_type": Required[
|
|
3237
|
+
"Literal['string', 'single_select', 'multi_select', 'true_false', 'url']"
|
|
3238
|
+
],
|
|
3239
|
+
"values_editable_by": NotRequired["Literal['org_actors', 'org_and_repo_actors'] | None"],
|
|
3240
|
+
},
|
|
3241
|
+
total=False,
|
|
3242
|
+
)
|
|
3243
|
+
CustomPropertySetPayload = TypedDict(
|
|
3244
|
+
"CustomPropertySetPayload",
|
|
3245
|
+
{
|
|
3246
|
+
"allowed_values": NotRequired["list[str] | None"],
|
|
3247
|
+
"default_value": NotRequired["Union[Union[str | None, list[str]], None]"],
|
|
3248
|
+
"description": NotRequired["str | None"],
|
|
3249
|
+
"require_explicit_values": NotRequired["bool"],
|
|
3250
|
+
"required": NotRequired["bool"],
|
|
3251
|
+
"value_type": Required[
|
|
3252
|
+
"Literal['string', 'single_select', 'multi_select', 'true_false', 'url']"
|
|
3253
|
+
],
|
|
3254
|
+
"values_editable_by": NotRequired["Literal['org_actors', 'org_and_repo_actors'] | None"],
|
|
3255
|
+
},
|
|
3256
|
+
total=False,
|
|
3257
|
+
)
|
|
3258
|
+
CustomPropertyValue = TypedDict(
|
|
3259
|
+
"CustomPropertyValue",
|
|
3260
|
+
{
|
|
3261
|
+
"property_name": Required["str"],
|
|
3262
|
+
"value": Required["Union[Union[str | None, list[str]], None]"],
|
|
3263
|
+
},
|
|
3264
|
+
total=False,
|
|
3265
|
+
)
|
|
3266
|
+
CvssSeverities: TypeAlias = "CvssSeveritiesVariant0 | None"
|
|
3267
|
+
CvssSeveritiesVariant0 = TypedDict(
|
|
3268
|
+
"CvssSeveritiesVariant0",
|
|
3269
|
+
{
|
|
3270
|
+
"cvss_v3": NotRequired["CvssSeveritiesVariant0CvssV3Variant0 | None"],
|
|
3271
|
+
"cvss_v4": NotRequired["CvssSeveritiesVariant0CvssV4Variant0 | None"],
|
|
3272
|
+
},
|
|
3273
|
+
total=False,
|
|
3274
|
+
)
|
|
3275
|
+
CvssSeveritiesVariant0CvssV3Variant0 = TypedDict(
|
|
3276
|
+
"CvssSeveritiesVariant0CvssV3Variant0",
|
|
3277
|
+
{"score": Required["float | None"], "vector_string": Required["str | None"]},
|
|
3278
|
+
total=False,
|
|
3279
|
+
)
|
|
3280
|
+
CvssSeveritiesVariant0CvssV4Variant0 = TypedDict(
|
|
3281
|
+
"CvssSeveritiesVariant0CvssV4Variant0",
|
|
3282
|
+
{"score": Required["float | None"], "vector_string": Required["str | None"]},
|
|
3283
|
+
total=False,
|
|
3284
|
+
)
|
|
3285
|
+
DeleteBudget = TypedDict(
|
|
3286
|
+
"DeleteBudget", {"id": Required["str"], "message": Required["str"]}, total=False
|
|
3287
|
+
)
|
|
3288
|
+
DeleteEvent = TypedDict(
|
|
3289
|
+
"DeleteEvent",
|
|
3290
|
+
{
|
|
3291
|
+
"full_ref": Required["str"],
|
|
3292
|
+
"pusher_type": Required["str"],
|
|
3293
|
+
"ref": Required["str"],
|
|
3294
|
+
"ref_type": Required["str"],
|
|
3295
|
+
},
|
|
3296
|
+
total=False,
|
|
3297
|
+
)
|
|
3298
|
+
DemilestonedIssueEvent = TypedDict(
|
|
3299
|
+
"DemilestonedIssueEvent",
|
|
3300
|
+
{
|
|
3301
|
+
"actor": Required["SimpleUser"],
|
|
3302
|
+
"commit_id": Required["str | None"],
|
|
3303
|
+
"commit_url": Required["str | None"],
|
|
3304
|
+
"created_at": Required["str"],
|
|
3305
|
+
"event": Required["str"],
|
|
3306
|
+
"id": Required["int"],
|
|
3307
|
+
"milestone": Required["DemilestonedIssueEventMilestone"],
|
|
3308
|
+
"node_id": Required["str"],
|
|
3309
|
+
"performed_via_github_app": Required["NullableIntegration"],
|
|
3310
|
+
"url": Required["str"],
|
|
3311
|
+
},
|
|
3312
|
+
total=False,
|
|
3313
|
+
)
|
|
3314
|
+
DemilestonedIssueEventMilestone = TypedDict(
|
|
3315
|
+
"DemilestonedIssueEventMilestone", {"title": Required["str"]}, total=False
|
|
3316
|
+
)
|
|
3317
|
+
DependabotAlert = TypedDict(
|
|
3318
|
+
"DependabotAlert",
|
|
3319
|
+
{
|
|
3320
|
+
"assignees": NotRequired["list[SimpleUser]"],
|
|
3321
|
+
"auto_dismissed_at": NotRequired["AlertAutoDismissedAt"],
|
|
3322
|
+
"created_at": Required["AlertCreatedAt"],
|
|
3323
|
+
"dependency": Required["DependabotAlertDependency"],
|
|
3324
|
+
"dismissal_request": NotRequired["DependabotAlertDismissalRequestSimple"],
|
|
3325
|
+
"dismissed_at": Required["AlertDismissedAt"],
|
|
3326
|
+
"dismissed_by": Required["NullableSimpleUser"],
|
|
3327
|
+
"dismissed_comment": Required["str | None"],
|
|
3328
|
+
"dismissed_reason": Required[
|
|
3329
|
+
"Literal['fix_started', 'inaccurate', 'no_bandwidth', 'not_used', 'tolerable_risk'] | None"
|
|
3330
|
+
],
|
|
3331
|
+
"fixed_at": Required["AlertFixedAt"],
|
|
3332
|
+
"html_url": Required["AlertHtmlUrl"],
|
|
3333
|
+
"number": Required["AlertNumber"],
|
|
3334
|
+
"reachability": NotRequired["DependabotAlertReachability"],
|
|
3335
|
+
"security_advisory": Required["DependabotAlertSecurityAdvisory"],
|
|
3336
|
+
"security_vulnerability": Required["DependabotAlertSecurityVulnerability"],
|
|
3337
|
+
"state": Required["Literal['auto_dismissed', 'dismissed', 'fixed', 'open']"],
|
|
3338
|
+
"updated_at": Required["AlertUpdatedAt"],
|
|
3339
|
+
"url": Required["AlertUrl"],
|
|
3340
|
+
},
|
|
3341
|
+
total=False,
|
|
3342
|
+
)
|
|
3343
|
+
DependabotAlertDependency = TypedDict(
|
|
3344
|
+
"DependabotAlertDependency",
|
|
3345
|
+
{
|
|
3346
|
+
"manifest_path": NotRequired["str"],
|
|
3347
|
+
"package": NotRequired["DependabotAlertPackage"],
|
|
3348
|
+
"relationship": NotRequired[
|
|
3349
|
+
"Literal['unknown', 'direct', 'transitive', 'inconclusive'] | None"
|
|
3350
|
+
],
|
|
3351
|
+
"scope": NotRequired["Literal['development', 'runtime'] | None"],
|
|
3352
|
+
"version_requirement": NotRequired["str | None"],
|
|
3353
|
+
},
|
|
3354
|
+
total=False,
|
|
3355
|
+
)
|
|
3356
|
+
DependabotAlertDismissalRequestSimple: TypeAlias = (
|
|
3357
|
+
"DependabotAlertDismissalRequestSimpleVariant0 | None"
|
|
3358
|
+
)
|
|
3359
|
+
DependabotAlertDismissalRequestSimpleVariant0 = TypedDict(
|
|
3360
|
+
"DependabotAlertDismissalRequestSimpleVariant0",
|
|
3361
|
+
{
|
|
3362
|
+
"created_at": NotRequired["str"],
|
|
3363
|
+
"id": NotRequired["int"],
|
|
3364
|
+
"requester": NotRequired["DependabotAlertDismissalRequestSimpleVariant0Requester"],
|
|
3365
|
+
"status": NotRequired["Literal['pending', 'approved', 'rejected', 'cancelled']"],
|
|
3366
|
+
"url": NotRequired["str"],
|
|
3367
|
+
},
|
|
3368
|
+
total=False,
|
|
3369
|
+
)
|
|
3370
|
+
DependabotAlertDismissalRequestSimpleVariant0Requester = TypedDict(
|
|
3371
|
+
"DependabotAlertDismissalRequestSimpleVariant0Requester",
|
|
3372
|
+
{"id": NotRequired["int"], "login": NotRequired["str"]},
|
|
3373
|
+
total=False,
|
|
3374
|
+
)
|
|
3375
|
+
DependabotAlertPackage = TypedDict(
|
|
3376
|
+
"DependabotAlertPackage", {"ecosystem": Required["str"], "name": Required["str"]}, total=False
|
|
3377
|
+
)
|
|
3378
|
+
DependabotAlertReachability = TypedDict(
|
|
3379
|
+
"DependabotAlertReachability",
|
|
3380
|
+
{
|
|
3381
|
+
"reason": NotRequired[
|
|
3382
|
+
"Literal['unknown', 'unavailable_unsupported_ecosystem', 'unavailable_analysis_timed_out', 'potentially_reachable_invalid_manifest_path', 'potentially_reachable_missing_vulnerable_function_annotation', 'potentially_reachable_dependency_not_found', 'potentially_reachable_dependency_analysis_incomplete', 'potentially_reachable_repository_analysis_incomplete', 'potentially_reachable_call_found_outside_manifest_scope', 'potentially_reachable_unclassified_analysis_state', 'reachable_vulnerable_function_called', 'unreachable_vulnerable_function_not_called', 'potentially_reachable_unresolved_dynamic_call']"
|
|
3383
|
+
],
|
|
3384
|
+
"verdict": Required[
|
|
3385
|
+
"Literal['reachable', 'unreachable', 'potentially_reachable', 'unavailable', 'disabled']"
|
|
3386
|
+
],
|
|
3387
|
+
},
|
|
3388
|
+
total=False,
|
|
3389
|
+
)
|
|
3390
|
+
DependabotAlertSecurityAdvisory = TypedDict(
|
|
3391
|
+
"DependabotAlertSecurityAdvisory",
|
|
3392
|
+
{
|
|
3393
|
+
"classification": NotRequired["Literal['general', 'malware']"],
|
|
3394
|
+
"cve_id": Required["str | None"],
|
|
3395
|
+
"cvss_severities": NotRequired["CvssSeverities"],
|
|
3396
|
+
"cwes": Required["list[DependabotAlertSecurityAdvisoryCwesItem]"],
|
|
3397
|
+
"description": Required["str"],
|
|
3398
|
+
"epss": NotRequired["SecurityAdvisoryEpss"],
|
|
3399
|
+
"ghsa_id": Required["str"],
|
|
3400
|
+
"identifiers": Required["list[DependabotAlertSecurityAdvisoryIdentifiersItem]"],
|
|
3401
|
+
"published_at": Required["str"],
|
|
3402
|
+
"references": Required["list[DependabotAlertSecurityAdvisoryReferencesItem]"],
|
|
3403
|
+
"severity": Required["Literal['low', 'medium', 'high', 'critical']"],
|
|
3404
|
+
"summary": Required["str"],
|
|
3405
|
+
"updated_at": Required["str"],
|
|
3406
|
+
"vulnerabilities": Required["list[DependabotAlertSecurityVulnerability]"],
|
|
3407
|
+
"withdrawn_at": Required["str | None"],
|
|
3408
|
+
},
|
|
3409
|
+
total=False,
|
|
3410
|
+
)
|
|
3411
|
+
DependabotAlertSecurityAdvisoryCwesItem = TypedDict(
|
|
3412
|
+
"DependabotAlertSecurityAdvisoryCwesItem",
|
|
3413
|
+
{"cwe_id": Required["str"], "name": Required["str"]},
|
|
3414
|
+
total=False,
|
|
3415
|
+
)
|
|
3416
|
+
DependabotAlertSecurityAdvisoryIdentifiersItem = TypedDict(
|
|
3417
|
+
"DependabotAlertSecurityAdvisoryIdentifiersItem",
|
|
3418
|
+
{"type": Required["Literal['CVE', 'GHSA']"], "value": Required["str"]},
|
|
3419
|
+
total=False,
|
|
3420
|
+
)
|
|
3421
|
+
DependabotAlertSecurityAdvisoryReferencesItem = TypedDict(
|
|
3422
|
+
"DependabotAlertSecurityAdvisoryReferencesItem", {"url": Required["str"]}, total=False
|
|
3423
|
+
)
|
|
3424
|
+
DependabotAlertSecurityVulnerability = TypedDict(
|
|
3425
|
+
"DependabotAlertSecurityVulnerability",
|
|
3426
|
+
{
|
|
3427
|
+
"first_patched_version": Required[
|
|
3428
|
+
"DependabotAlertSecurityVulnerabilityFirstPatchedVersionVariant0 | None"
|
|
3429
|
+
],
|
|
3430
|
+
"package": Required["DependabotAlertPackage"],
|
|
3431
|
+
"severity": Required["Literal['low', 'medium', 'high', 'critical']"],
|
|
3432
|
+
"vulnerable_version_range": Required["str"],
|
|
3433
|
+
},
|
|
3434
|
+
total=False,
|
|
3435
|
+
)
|
|
3436
|
+
DependabotAlertSecurityVulnerabilityFirstPatchedVersionVariant0 = TypedDict(
|
|
3437
|
+
"DependabotAlertSecurityVulnerabilityFirstPatchedVersionVariant0",
|
|
3438
|
+
{"identifier": Required["str"]},
|
|
3439
|
+
total=False,
|
|
3440
|
+
)
|
|
3441
|
+
DependabotAlertWithRepository = TypedDict(
|
|
3442
|
+
"DependabotAlertWithRepository",
|
|
3443
|
+
{
|
|
3444
|
+
"assignees": NotRequired["list[SimpleUser]"],
|
|
3445
|
+
"auto_dismissed_at": NotRequired["AlertAutoDismissedAt"],
|
|
3446
|
+
"created_at": Required["AlertCreatedAt"],
|
|
3447
|
+
"dependency": Required["DependabotAlertWithRepositoryDependency"],
|
|
3448
|
+
"dismissal_request": NotRequired["DependabotAlertDismissalRequestSimple"],
|
|
3449
|
+
"dismissed_at": Required["AlertDismissedAt"],
|
|
3450
|
+
"dismissed_by": Required["NullableSimpleUser"],
|
|
3451
|
+
"dismissed_comment": Required["str | None"],
|
|
3452
|
+
"dismissed_reason": Required[
|
|
3453
|
+
"Literal['fix_started', 'inaccurate', 'no_bandwidth', 'not_used', 'tolerable_risk'] | None"
|
|
3454
|
+
],
|
|
3455
|
+
"fixed_at": Required["AlertFixedAt"],
|
|
3456
|
+
"html_url": Required["AlertHtmlUrl"],
|
|
3457
|
+
"number": Required["AlertNumber"],
|
|
3458
|
+
"reachability": NotRequired["DependabotAlertWithRepositoryReachability"],
|
|
3459
|
+
"repository": Required["SimpleRepository"],
|
|
3460
|
+
"security_advisory": Required["DependabotAlertSecurityAdvisory"],
|
|
3461
|
+
"security_vulnerability": Required["DependabotAlertSecurityVulnerability"],
|
|
3462
|
+
"state": Required["Literal['auto_dismissed', 'dismissed', 'fixed', 'open']"],
|
|
3463
|
+
"updated_at": Required["AlertUpdatedAt"],
|
|
3464
|
+
"url": Required["AlertUrl"],
|
|
3465
|
+
},
|
|
3466
|
+
total=False,
|
|
3467
|
+
)
|
|
3468
|
+
DependabotAlertWithRepositoryDependency = TypedDict(
|
|
3469
|
+
"DependabotAlertWithRepositoryDependency",
|
|
3470
|
+
{
|
|
3471
|
+
"manifest_path": NotRequired["str"],
|
|
3472
|
+
"package": NotRequired["DependabotAlertPackage"],
|
|
3473
|
+
"relationship": NotRequired[
|
|
3474
|
+
"Literal['unknown', 'direct', 'transitive', 'inconclusive'] | None"
|
|
3475
|
+
],
|
|
3476
|
+
"scope": NotRequired["Literal['development', 'runtime'] | None"],
|
|
3477
|
+
"version_requirement": NotRequired["str | None"],
|
|
3478
|
+
},
|
|
3479
|
+
total=False,
|
|
3480
|
+
)
|
|
3481
|
+
DependabotAlertWithRepositoryReachability = TypedDict(
|
|
3482
|
+
"DependabotAlertWithRepositoryReachability",
|
|
3483
|
+
{
|
|
3484
|
+
"reason": NotRequired[
|
|
3485
|
+
"Literal['unknown', 'unavailable_unsupported_ecosystem', 'unavailable_analysis_timed_out', 'potentially_reachable_invalid_manifest_path', 'potentially_reachable_missing_vulnerable_function_annotation', 'potentially_reachable_dependency_not_found', 'potentially_reachable_dependency_analysis_incomplete', 'potentially_reachable_repository_analysis_incomplete', 'potentially_reachable_call_found_outside_manifest_scope', 'potentially_reachable_unclassified_analysis_state', 'reachable_vulnerable_function_called', 'unreachable_vulnerable_function_not_called', 'potentially_reachable_unresolved_dynamic_call']"
|
|
3486
|
+
],
|
|
3487
|
+
"verdict": Required[
|
|
3488
|
+
"Literal['reachable', 'unreachable', 'potentially_reachable', 'unavailable', 'disabled']"
|
|
3489
|
+
],
|
|
3490
|
+
},
|
|
3491
|
+
total=False,
|
|
3492
|
+
)
|
|
3493
|
+
DependabotAlertWithdrawnWebhook = TypedDict(
|
|
3494
|
+
"DependabotAlertWithdrawnWebhook",
|
|
3495
|
+
{
|
|
3496
|
+
"created_at": Required["AlertCreatedAt"],
|
|
3497
|
+
"dependency": Required["DependabotAlertWithdrawnWebhookDependency"],
|
|
3498
|
+
"html_url": Required["AlertHtmlUrl"],
|
|
3499
|
+
"id": Required["int"],
|
|
3500
|
+
"node_id": Required["str"],
|
|
3501
|
+
"number": Required["AlertNumber"],
|
|
3502
|
+
"security_advisory": Required["DependabotAlertWithdrawnWebhookSecurityAdvisory"],
|
|
3503
|
+
"state": Required["Literal['withdrawn']"],
|
|
3504
|
+
"url": Required["AlertUrl"],
|
|
3505
|
+
"withdrawn_at": Required["str"],
|
|
3506
|
+
},
|
|
3507
|
+
total=False,
|
|
3508
|
+
)
|
|
3509
|
+
DependabotAlertWithdrawnWebhookDependency = TypedDict(
|
|
3510
|
+
"DependabotAlertWithdrawnWebhookDependency",
|
|
3511
|
+
{
|
|
3512
|
+
"manifest_path": Required["str | None"],
|
|
3513
|
+
"package": Required["DependabotAlertPackage"],
|
|
3514
|
+
"relationship": NotRequired[
|
|
3515
|
+
"Literal['unknown', 'direct', 'transitive', 'inconclusive'] | None"
|
|
3516
|
+
],
|
|
3517
|
+
"scope": Required["Literal['development', 'runtime'] | None"],
|
|
3518
|
+
"version_requirement": NotRequired["str | None"],
|
|
3519
|
+
},
|
|
3520
|
+
total=False,
|
|
3521
|
+
)
|
|
3522
|
+
DependabotAlertWithdrawnWebhookSecurityAdvisory = TypedDict(
|
|
3523
|
+
"DependabotAlertWithdrawnWebhookSecurityAdvisory",
|
|
3524
|
+
{"cve_id": Required["str | None"], "ghsa_id": Required["str"]},
|
|
3525
|
+
total=False,
|
|
3526
|
+
)
|
|
3527
|
+
DependabotPublicKey = TypedDict(
|
|
3528
|
+
"DependabotPublicKey", {"key": Required["str"], "key_id": Required["str"]}, total=False
|
|
3529
|
+
)
|
|
3530
|
+
DependabotRepositoryAccessDetails = TypedDict(
|
|
3531
|
+
"DependabotRepositoryAccessDetails",
|
|
3532
|
+
{
|
|
3533
|
+
"accessible_repositories": NotRequired["list[NullableSimpleRepository]"],
|
|
3534
|
+
"default_level": NotRequired["Literal['public', 'internal'] | None"],
|
|
3535
|
+
},
|
|
3536
|
+
total=False,
|
|
3537
|
+
)
|
|
3538
|
+
DependabotSecret = TypedDict(
|
|
3539
|
+
"DependabotSecret",
|
|
3540
|
+
{"created_at": Required["str"], "name": Required["str"], "updated_at": Required["str"]},
|
|
3541
|
+
total=False,
|
|
3542
|
+
)
|
|
3543
|
+
Dependency = TypedDict(
|
|
3544
|
+
"Dependency",
|
|
3545
|
+
{
|
|
3546
|
+
"dependencies": NotRequired["list[str]"],
|
|
3547
|
+
"metadata": NotRequired["Metadata"],
|
|
3548
|
+
"package_url": NotRequired["str"],
|
|
3549
|
+
"relationship": NotRequired["Literal['direct', 'indirect']"],
|
|
3550
|
+
"scope": NotRequired["Literal['runtime', 'development']"],
|
|
3551
|
+
},
|
|
3552
|
+
total=False,
|
|
3553
|
+
)
|
|
3554
|
+
DependencyGraphDiff: TypeAlias = "list[DependencyGraphDiffItem]"
|
|
3555
|
+
DependencyGraphDiffItem = TypedDict(
|
|
3556
|
+
"DependencyGraphDiffItem",
|
|
3557
|
+
{
|
|
3558
|
+
"change_type": Required["Literal['added', 'removed']"],
|
|
3559
|
+
"ecosystem": Required["str"],
|
|
3560
|
+
"license": Required["str | None"],
|
|
3561
|
+
"manifest": Required["str"],
|
|
3562
|
+
"name": Required["str"],
|
|
3563
|
+
"package_url": Required["str | None"],
|
|
3564
|
+
"scope": Required["Literal['unknown', 'runtime', 'development']"],
|
|
3565
|
+
"source_repository_url": Required["str | None"],
|
|
3566
|
+
"version": Required["str"],
|
|
3567
|
+
"vulnerabilities": Required["list[DependencyGraphDiffItemVulnerabilitiesItem]"],
|
|
3568
|
+
},
|
|
3569
|
+
total=False,
|
|
3570
|
+
)
|
|
3571
|
+
DependencyGraphDiffItemVulnerabilitiesItem = TypedDict(
|
|
3572
|
+
"DependencyGraphDiffItemVulnerabilitiesItem",
|
|
3573
|
+
{
|
|
3574
|
+
"advisory_ghsa_id": Required["str"],
|
|
3575
|
+
"advisory_summary": Required["str"],
|
|
3576
|
+
"advisory_url": Required["str"],
|
|
3577
|
+
"severity": Required["str"],
|
|
3578
|
+
},
|
|
3579
|
+
total=False,
|
|
3580
|
+
)
|
|
3581
|
+
DependencyGraphSpdxSbom = TypedDict(
|
|
3582
|
+
"DependencyGraphSpdxSbom", {"sbom": Required["DependencyGraphSpdxSbomSbom"]}, total=False
|
|
3583
|
+
)
|
|
3584
|
+
DependencyGraphSpdxSbomSbom = TypedDict(
|
|
3585
|
+
"DependencyGraphSpdxSbomSbom",
|
|
3586
|
+
{
|
|
3587
|
+
"SPDXID": Required["str"],
|
|
3588
|
+
"comment": NotRequired["str"],
|
|
3589
|
+
"creationInfo": Required["DependencyGraphSpdxSbomSbomCreationInfo"],
|
|
3590
|
+
"dataLicense": Required["str"],
|
|
3591
|
+
"documentNamespace": Required["str"],
|
|
3592
|
+
"name": Required["str"],
|
|
3593
|
+
"packages": Required["list[DependencyGraphSpdxSbomSbomPackagesItem]"],
|
|
3594
|
+
"relationships": NotRequired["list[DependencyGraphSpdxSbomSbomRelationshipsItem]"],
|
|
3595
|
+
"spdxVersion": Required["str"],
|
|
3596
|
+
},
|
|
3597
|
+
total=False,
|
|
3598
|
+
)
|
|
3599
|
+
DependencyGraphSpdxSbomSbomCreationInfo = TypedDict(
|
|
3600
|
+
"DependencyGraphSpdxSbomSbomCreationInfo",
|
|
3601
|
+
{"created": Required["str"], "creators": Required["list[str]"]},
|
|
3602
|
+
total=False,
|
|
3603
|
+
)
|
|
3604
|
+
DependencyGraphSpdxSbomSbomPackagesItem = TypedDict(
|
|
3605
|
+
"DependencyGraphSpdxSbomSbomPackagesItem",
|
|
3606
|
+
{
|
|
3607
|
+
"SPDXID": NotRequired["str"],
|
|
3608
|
+
"copyrightText": NotRequired["str"],
|
|
3609
|
+
"downloadLocation": NotRequired["str"],
|
|
3610
|
+
"externalRefs": NotRequired[
|
|
3611
|
+
"list[DependencyGraphSpdxSbomSbomPackagesItemExternalRefsItem]"
|
|
3612
|
+
],
|
|
3613
|
+
"filesAnalyzed": NotRequired["bool"],
|
|
3614
|
+
"licenseConcluded": NotRequired["str"],
|
|
3615
|
+
"licenseDeclared": NotRequired["str"],
|
|
3616
|
+
"name": NotRequired["str"],
|
|
3617
|
+
"supplier": NotRequired["str"],
|
|
3618
|
+
"versionInfo": NotRequired["str"],
|
|
3619
|
+
},
|
|
3620
|
+
total=False,
|
|
3621
|
+
)
|
|
3622
|
+
DependencyGraphSpdxSbomSbomPackagesItemExternalRefsItem = TypedDict(
|
|
3623
|
+
"DependencyGraphSpdxSbomSbomPackagesItemExternalRefsItem",
|
|
3624
|
+
{
|
|
3625
|
+
"referenceCategory": Required["str"],
|
|
3626
|
+
"referenceLocator": Required["str"],
|
|
3627
|
+
"referenceType": Required["str"],
|
|
3628
|
+
},
|
|
3629
|
+
total=False,
|
|
3630
|
+
)
|
|
3631
|
+
DependencyGraphSpdxSbomSbomRelationshipsItem = TypedDict(
|
|
3632
|
+
"DependencyGraphSpdxSbomSbomRelationshipsItem",
|
|
3633
|
+
{
|
|
3634
|
+
"relatedSpdxElement": NotRequired["str"],
|
|
3635
|
+
"relationshipType": NotRequired["str"],
|
|
3636
|
+
"spdxElementId": NotRequired["str"],
|
|
3637
|
+
},
|
|
3638
|
+
total=False,
|
|
3639
|
+
)
|
|
3640
|
+
DeployKey = TypedDict(
|
|
3641
|
+
"DeployKey",
|
|
3642
|
+
{
|
|
3643
|
+
"added_by": NotRequired["str | None"],
|
|
3644
|
+
"created_at": Required["str"],
|
|
3645
|
+
"enabled": NotRequired["bool"],
|
|
3646
|
+
"id": Required["int"],
|
|
3647
|
+
"key": Required["str"],
|
|
3648
|
+
"last_used": NotRequired["str | None"],
|
|
3649
|
+
"read_only": Required["bool"],
|
|
3650
|
+
"title": Required["str"],
|
|
3651
|
+
"url": Required["str"],
|
|
3652
|
+
"verified": Required["bool"],
|
|
3653
|
+
},
|
|
3654
|
+
total=False,
|
|
3655
|
+
)
|
|
3656
|
+
Deployment = TypedDict(
|
|
3657
|
+
"Deployment",
|
|
3658
|
+
{
|
|
3659
|
+
"created_at": Required["str"],
|
|
3660
|
+
"creator": Required["NullableSimpleUser"],
|
|
3661
|
+
"description": Required["str | None"],
|
|
3662
|
+
"environment": Required["str"],
|
|
3663
|
+
"id": Required["int"],
|
|
3664
|
+
"node_id": Required["str"],
|
|
3665
|
+
"original_environment": NotRequired["str"],
|
|
3666
|
+
"payload": Required["dict[str, object] | str"],
|
|
3667
|
+
"performed_via_github_app": NotRequired["NullableIntegration"],
|
|
3668
|
+
"production_environment": NotRequired["bool"],
|
|
3669
|
+
"ref": Required["str"],
|
|
3670
|
+
"repository_url": Required["str"],
|
|
3671
|
+
"sha": Required["str"],
|
|
3672
|
+
"statuses_url": Required["str"],
|
|
3673
|
+
"task": Required["str"],
|
|
3674
|
+
"transient_environment": NotRequired["bool"],
|
|
3675
|
+
"updated_at": Required["str"],
|
|
3676
|
+
"url": Required["str"],
|
|
3677
|
+
},
|
|
3678
|
+
total=False,
|
|
3679
|
+
)
|
|
3680
|
+
DeploymentBranchPolicy = TypedDict(
|
|
3681
|
+
"DeploymentBranchPolicy",
|
|
3682
|
+
{
|
|
3683
|
+
"id": NotRequired["int"],
|
|
3684
|
+
"name": NotRequired["str"],
|
|
3685
|
+
"node_id": NotRequired["str"],
|
|
3686
|
+
"type": NotRequired["Literal['branch', 'tag']"],
|
|
3687
|
+
},
|
|
3688
|
+
total=False,
|
|
3689
|
+
)
|
|
3690
|
+
DeploymentBranchPolicyNamePattern = TypedDict(
|
|
3691
|
+
"DeploymentBranchPolicyNamePattern", {"name": Required["str"]}, total=False
|
|
3692
|
+
)
|
|
3693
|
+
DeploymentBranchPolicyNamePatternWithType = TypedDict(
|
|
3694
|
+
"DeploymentBranchPolicyNamePatternWithType",
|
|
3695
|
+
{"name": Required["str"], "type": NotRequired["Literal['branch', 'tag']"]},
|
|
3696
|
+
total=False,
|
|
3697
|
+
)
|
|
3698
|
+
DeploymentBranchPolicySettings: TypeAlias = "DeploymentBranchPolicySettingsVariant0 | None"
|
|
3699
|
+
DeploymentBranchPolicySettingsVariant0 = TypedDict(
|
|
3700
|
+
"DeploymentBranchPolicySettingsVariant0",
|
|
3701
|
+
{"custom_branch_policies": Required["bool"], "protected_branches": Required["bool"]},
|
|
3702
|
+
total=False,
|
|
3703
|
+
)
|
|
3704
|
+
DeploymentProtectionRule = TypedDict(
|
|
3705
|
+
"DeploymentProtectionRule",
|
|
3706
|
+
{
|
|
3707
|
+
"app": Required["CustomDeploymentRuleApp"],
|
|
3708
|
+
"enabled": Required["bool"],
|
|
3709
|
+
"id": Required["int"],
|
|
3710
|
+
"node_id": Required["str"],
|
|
3711
|
+
},
|
|
3712
|
+
total=False,
|
|
3713
|
+
)
|
|
3714
|
+
DeploymentReviewerType: TypeAlias = "Literal['User', 'Team']"
|
|
3715
|
+
DeploymentSimple = TypedDict(
|
|
3716
|
+
"DeploymentSimple",
|
|
3717
|
+
{
|
|
3718
|
+
"created_at": Required["str"],
|
|
3719
|
+
"description": Required["str | None"],
|
|
3720
|
+
"environment": Required["str"],
|
|
3721
|
+
"id": Required["int"],
|
|
3722
|
+
"node_id": Required["str"],
|
|
3723
|
+
"original_environment": NotRequired["str"],
|
|
3724
|
+
"performed_via_github_app": NotRequired["NullableIntegration"],
|
|
3725
|
+
"production_environment": NotRequired["bool"],
|
|
3726
|
+
"repository_url": Required["str"],
|
|
3727
|
+
"statuses_url": Required["str"],
|
|
3728
|
+
"task": Required["str"],
|
|
3729
|
+
"transient_environment": NotRequired["bool"],
|
|
3730
|
+
"updated_at": Required["str"],
|
|
3731
|
+
"url": Required["str"],
|
|
3732
|
+
},
|
|
3733
|
+
total=False,
|
|
3734
|
+
)
|
|
3735
|
+
DeploymentStatus = TypedDict(
|
|
3736
|
+
"DeploymentStatus",
|
|
3737
|
+
{
|
|
3738
|
+
"created_at": Required["str"],
|
|
3739
|
+
"creator": Required["NullableSimpleUser"],
|
|
3740
|
+
"deployment_url": Required["str"],
|
|
3741
|
+
"description": Required["str"],
|
|
3742
|
+
"environment": NotRequired["str"],
|
|
3743
|
+
"environment_url": NotRequired["str"],
|
|
3744
|
+
"id": Required["int"],
|
|
3745
|
+
"log_url": NotRequired["str"],
|
|
3746
|
+
"node_id": Required["str"],
|
|
3747
|
+
"performed_via_github_app": NotRequired["NullableIntegration"],
|
|
3748
|
+
"repository_url": Required["str"],
|
|
3749
|
+
"state": Required[
|
|
3750
|
+
"Literal['error', 'failure', 'inactive', 'pending', 'success', 'queued', 'in_progress']"
|
|
3751
|
+
],
|
|
3752
|
+
"target_url": Required["str"],
|
|
3753
|
+
"updated_at": Required["str"],
|
|
3754
|
+
"url": Required["str"],
|
|
3755
|
+
},
|
|
3756
|
+
total=False,
|
|
3757
|
+
)
|
|
3758
|
+
DiffEntry = TypedDict(
|
|
3759
|
+
"DiffEntry",
|
|
3760
|
+
{
|
|
3761
|
+
"additions": Required["int"],
|
|
3762
|
+
"blob_url": Required["str"],
|
|
3763
|
+
"changes": Required["int"],
|
|
3764
|
+
"contents_url": Required["str"],
|
|
3765
|
+
"deletions": Required["int"],
|
|
3766
|
+
"filename": Required["str"],
|
|
3767
|
+
"patch": NotRequired["str"],
|
|
3768
|
+
"previous_filename": NotRequired["str"],
|
|
3769
|
+
"raw_url": Required["str"],
|
|
3770
|
+
"sha": Required["str | None"],
|
|
3771
|
+
"status": Required[
|
|
3772
|
+
"Literal['added', 'removed', 'modified', 'renamed', 'copied', 'changed', 'unchanged']"
|
|
3773
|
+
],
|
|
3774
|
+
},
|
|
3775
|
+
total=False,
|
|
3776
|
+
)
|
|
3777
|
+
Discussion = TypedDict(
|
|
3778
|
+
"Discussion",
|
|
3779
|
+
{
|
|
3780
|
+
"active_lock_reason": Required["str | None"],
|
|
3781
|
+
"answer_chosen_at": Required["str | None"],
|
|
3782
|
+
"answer_chosen_by": Required["DiscussionAnswerChosenByVariant0 | None"],
|
|
3783
|
+
"answer_html_url": Required["str | None"],
|
|
3784
|
+
"author_association": NotRequired[
|
|
3785
|
+
"Literal['COLLABORATOR', 'CONTRIBUTOR', 'FIRST_TIMER', 'FIRST_TIME_CONTRIBUTOR', 'MANNEQUIN', 'MEMBER', 'NONE', 'OWNER']"
|
|
3786
|
+
],
|
|
3787
|
+
"body": Required["str"],
|
|
3788
|
+
"category": Required["DiscussionCategory"],
|
|
3789
|
+
"comments": Required["int"],
|
|
3790
|
+
"created_at": Required["str"],
|
|
3791
|
+
"html_url": Required["str"],
|
|
3792
|
+
"id": Required["int"],
|
|
3793
|
+
"labels": NotRequired["list[Label]"],
|
|
3794
|
+
"locked": Required["bool"],
|
|
3795
|
+
"node_id": Required["str"],
|
|
3796
|
+
"number": Required["int"],
|
|
3797
|
+
"reactions": NotRequired["DiscussionReactions"],
|
|
3798
|
+
"repository_url": Required["str"],
|
|
3799
|
+
"state": Required["Literal['open', 'closed', 'locked', 'converting', 'transferring']"],
|
|
3800
|
+
"state_reason": Required["Literal['resolved', 'outdated', 'duplicate', 'reopened'] | None"],
|
|
3801
|
+
"timeline_url": NotRequired["str"],
|
|
3802
|
+
"title": Required["str"],
|
|
3803
|
+
"updated_at": Required["str"],
|
|
3804
|
+
"user": Required["DiscussionUserVariant0 | None"],
|
|
3805
|
+
},
|
|
3806
|
+
total=False,
|
|
3807
|
+
)
|
|
3808
|
+
DiscussionAnswerChosenByVariant0 = TypedDict(
|
|
3809
|
+
"DiscussionAnswerChosenByVariant0",
|
|
3810
|
+
{
|
|
3811
|
+
"avatar_url": NotRequired["str"],
|
|
3812
|
+
"deleted": NotRequired["bool"],
|
|
3813
|
+
"email": NotRequired["str | None"],
|
|
3814
|
+
"events_url": NotRequired["str"],
|
|
3815
|
+
"followers_url": NotRequired["str"],
|
|
3816
|
+
"following_url": NotRequired["str"],
|
|
3817
|
+
"gists_url": NotRequired["str"],
|
|
3818
|
+
"gravatar_id": NotRequired["str"],
|
|
3819
|
+
"html_url": NotRequired["str"],
|
|
3820
|
+
"id": Required["int"],
|
|
3821
|
+
"login": Required["str"],
|
|
3822
|
+
"name": NotRequired["str"],
|
|
3823
|
+
"node_id": NotRequired["str"],
|
|
3824
|
+
"organizations_url": NotRequired["str"],
|
|
3825
|
+
"received_events_url": NotRequired["str"],
|
|
3826
|
+
"repos_url": NotRequired["str"],
|
|
3827
|
+
"site_admin": NotRequired["bool"],
|
|
3828
|
+
"starred_url": NotRequired["str"],
|
|
3829
|
+
"subscriptions_url": NotRequired["str"],
|
|
3830
|
+
"type": NotRequired["Literal['Bot', 'User', 'Organization']"],
|
|
3831
|
+
"url": NotRequired["str"],
|
|
3832
|
+
"user_view_type": NotRequired["str"],
|
|
3833
|
+
},
|
|
3834
|
+
total=False,
|
|
3835
|
+
)
|
|
3836
|
+
DiscussionCategory = TypedDict(
|
|
3837
|
+
"DiscussionCategory",
|
|
3838
|
+
{
|
|
3839
|
+
"created_at": Required["str"],
|
|
3840
|
+
"description": Required["str"],
|
|
3841
|
+
"emoji": Required["str"],
|
|
3842
|
+
"id": Required["int"],
|
|
3843
|
+
"is_answerable": Required["bool"],
|
|
3844
|
+
"name": Required["str"],
|
|
3845
|
+
"node_id": NotRequired["str"],
|
|
3846
|
+
"repository_id": Required["int"],
|
|
3847
|
+
"slug": Required["str"],
|
|
3848
|
+
"updated_at": Required["str"],
|
|
3849
|
+
},
|
|
3850
|
+
total=False,
|
|
3851
|
+
)
|
|
3852
|
+
DiscussionEvent = TypedDict(
|
|
3853
|
+
"DiscussionEvent",
|
|
3854
|
+
{"action": Required["str"], "discussion": Required["Discussion"]},
|
|
3855
|
+
total=False,
|
|
3856
|
+
)
|
|
3857
|
+
DiscussionReactions = TypedDict(
|
|
3858
|
+
"DiscussionReactions",
|
|
3859
|
+
{
|
|
3860
|
+
"+1": Required["int"],
|
|
3861
|
+
"-1": Required["int"],
|
|
3862
|
+
"confused": Required["int"],
|
|
3863
|
+
"eyes": Required["int"],
|
|
3864
|
+
"heart": Required["int"],
|
|
3865
|
+
"hooray": Required["int"],
|
|
3866
|
+
"laugh": Required["int"],
|
|
3867
|
+
"rocket": Required["int"],
|
|
3868
|
+
"total_count": Required["int"],
|
|
3869
|
+
"url": Required["str"],
|
|
3870
|
+
},
|
|
3871
|
+
total=False,
|
|
3872
|
+
)
|
|
3873
|
+
DiscussionUserVariant0 = TypedDict(
|
|
3874
|
+
"DiscussionUserVariant0",
|
|
3875
|
+
{
|
|
3876
|
+
"avatar_url": NotRequired["str"],
|
|
3877
|
+
"deleted": NotRequired["bool"],
|
|
3878
|
+
"email": NotRequired["str | None"],
|
|
3879
|
+
"events_url": NotRequired["str"],
|
|
3880
|
+
"followers_url": NotRequired["str"],
|
|
3881
|
+
"following_url": NotRequired["str"],
|
|
3882
|
+
"gists_url": NotRequired["str"],
|
|
3883
|
+
"gravatar_id": NotRequired["str"],
|
|
3884
|
+
"html_url": NotRequired["str"],
|
|
3885
|
+
"id": Required["int"],
|
|
3886
|
+
"login": Required["str"],
|
|
3887
|
+
"name": NotRequired["str"],
|
|
3888
|
+
"node_id": NotRequired["str"],
|
|
3889
|
+
"organizations_url": NotRequired["str"],
|
|
3890
|
+
"received_events_url": NotRequired["str"],
|
|
3891
|
+
"repos_url": NotRequired["str"],
|
|
3892
|
+
"site_admin": NotRequired["bool"],
|
|
3893
|
+
"starred_url": NotRequired["str"],
|
|
3894
|
+
"subscriptions_url": NotRequired["str"],
|
|
3895
|
+
"type": NotRequired["Literal['Bot', 'User', 'Organization']"],
|
|
3896
|
+
"url": NotRequired["str"],
|
|
3897
|
+
"user_view_type": NotRequired["str"],
|
|
3898
|
+
},
|
|
3899
|
+
total=False,
|
|
3900
|
+
)
|
|
3901
|
+
Email = TypedDict(
|
|
3902
|
+
"Email",
|
|
3903
|
+
{
|
|
3904
|
+
"email": Required["str"],
|
|
3905
|
+
"primary": Required["bool"],
|
|
3906
|
+
"verified": Required["bool"],
|
|
3907
|
+
"visibility": Required["str | None"],
|
|
3908
|
+
},
|
|
3909
|
+
total=False,
|
|
3910
|
+
)
|
|
3911
|
+
EmptyObject = TypedDict("EmptyObject", {}, total=False)
|