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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,2183 @@
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_00 import DeploymentBranchPolicyNamePattern
9
+ from alter_sdk_github._github_models_13 import OrgRules
10
+ from alter_sdk_github._github_models_13 import OrgRulesetConditions
11
+ from alter_sdk_github._github_models_13 import Outputactivity
12
+ from alter_sdk_github._github_models_13 import Outputautolink
13
+ from alter_sdk_github._github_models_13 import OutputbranchShort
14
+ from alter_sdk_github._github_models_13 import OutputbranchWithProtection
15
+ from alter_sdk_github._github_models_13 import OutputcodeFrequencyStat
16
+ from alter_sdk_github._github_models_14 import OutputcodeSearchResultItem
17
+ from alter_sdk_github._github_models_14 import Outputcollaborator
18
+ from alter_sdk_github._github_models_14 import Outputcommit
19
+ from alter_sdk_github._github_models_14 import OutputcommitComment
20
+ from alter_sdk_github._github_models_14 import OutputcontentFile
21
+ from alter_sdk_github._github_models_14 import OutputcontentTraffic
22
+ from alter_sdk_github._github_models_14 import Outputcontributor
23
+ from alter_sdk_github._github_models_14 import OutputcustomDeploymentRuleApp
24
+ from alter_sdk_github._github_models_14 import OutputdeployKey
25
+ from alter_sdk_github._github_models_14 import Outputdeployment
26
+ from alter_sdk_github._github_models_14 import OutputdeploymentBranchPolicy
27
+ from alter_sdk_github._github_models_14 import OutputdeploymentStatus
28
+ from alter_sdk_github._github_models_14 import OutputemptyObject
29
+ from alter_sdk_github._github_models_14 import OutputfullRepository
30
+ from alter_sdk_github._github_models_14 import Outputhook
31
+ from alter_sdk_github._github_models_14 import OutputhookDelivery
32
+ from alter_sdk_github._github_models_14 import OutputhookDeliveryItem
33
+ from alter_sdk_github._github_models_14 import Outputintegration
34
+ from alter_sdk_github._github_models_14 import OutputissueType
35
+ from alter_sdk_github._github_models_14 import Outputlanguage
36
+ from alter_sdk_github._github_models_14 import OutputmergedUpstream
37
+ from alter_sdk_github._github_models_14 import OutputminimalRepository
38
+ from alter_sdk_github._github_models_15 import Outputpage
39
+ from alter_sdk_github._github_models_15 import OutputpageBuild
40
+ from alter_sdk_github._github_models_15 import OutputpageBuildStatus
41
+ from alter_sdk_github._github_models_15 import OutputpagesDeploymentStatus
42
+ from alter_sdk_github._github_models_15 import OutputpagesHealthCheck
43
+ from alter_sdk_github._github_models_15 import OutputparticipationStats
44
+ from alter_sdk_github._github_models_15 import OutputprotectedBranch
45
+ from alter_sdk_github._github_models_15 import OutputprotectedBranchAdminEnforced
46
+ from alter_sdk_github._github_models_15 import OutputprotectedBranchPullRequestReview
47
+ from alter_sdk_github._github_models_15 import OutputpullRequestSimple
48
+ from alter_sdk_github._github_models_15 import OutputreferrerTraffic
49
+ from alter_sdk_github._github_models_15 import Outputrelease
50
+ from alter_sdk_github._github_models_15 import OutputreleaseAsset
51
+ from alter_sdk_github._github_models_15 import Outputrepository
52
+ from alter_sdk_github._github_models_15 import OutputrepositoryInvitation
53
+ from alter_sdk_github._github_models_15 import OutputrepositoryRuleset
54
+ from alter_sdk_github._github_models_15 import OutputruleSuite
55
+ from alter_sdk_github._github_models_15 import OutputruleSuites
56
+ from alter_sdk_github._github_models_15 import OutputrulesetVersion
57
+ from alter_sdk_github._github_models_15 import OutputrulesetVersionWithState
58
+ from alter_sdk_github._github_models_15 import OutputshortBranch
59
+ from alter_sdk_github._github_models_15 import OutputsimpleUser
60
+ from alter_sdk_github._github_models_15 import Outputstatus
61
+ from alter_sdk_github._github_models_15 import OutputstatusCheckPolicy
62
+ from alter_sdk_github._github_models_15 import Outputtag
63
+ from alter_sdk_github._github_models_15 import Outputteam
64
+ from alter_sdk_github._github_models_15 import Outputtopic
65
+ from alter_sdk_github._github_models_15 import OutputviewTraffic
66
+ from alter_sdk_github._github_models_15 import OutputwebhookConfig
67
+ from alter_sdk_github._github_models_16 import RepositoryRule
68
+ from alter_sdk_github._github_models_16 import RepositoryRuleEnforcement
69
+ from alter_sdk_github._github_models_16 import RepositoryRulesetBypassActor
70
+ from alter_sdk_github._github_models_16 import RepositoryRulesetConditions
71
+ from alter_sdk_github._github_models_17 import WebhookConfig
72
+ from alter_sdk_github._github_models_17 import WebhookConfigContentType
73
+ from alter_sdk_github._github_models_17 import WebhookConfigInsecureSsl
74
+ from alter_sdk_github._github_models_17 import WebhookConfigSecret
75
+ from alter_sdk_github._github_models_17 import WebhookConfigUrl
76
+
77
+ GithubReposGetLatestReleaseInputPath = TypedDict(
78
+ "GithubReposGetLatestReleaseInputPath",
79
+ {"owner": Required["str"], "repo": Required["str"]},
80
+ total=False,
81
+ )
82
+ GithubReposGetLatestReleaseOutput: TypeAlias = "Outputrelease"
83
+ GithubReposGetOrgRuleSuiteInput = TypedDict(
84
+ "GithubReposGetOrgRuleSuiteInput",
85
+ {
86
+ "path": Required["GithubReposGetOrgRuleSuiteInputPath"],
87
+ "query": NotRequired["GithubReposGetOrgRuleSuiteInputQuery"],
88
+ },
89
+ total=False,
90
+ )
91
+ GithubReposGetOrgRuleSuiteInputPath = TypedDict(
92
+ "GithubReposGetOrgRuleSuiteInputPath",
93
+ {"org": Required["str"], "rule_suite_id": Required["int"]},
94
+ total=False,
95
+ )
96
+ GithubReposGetOrgRuleSuiteInputQuery = TypedDict(
97
+ "GithubReposGetOrgRuleSuiteInputQuery", {"include_metadata": NotRequired["bool"]}, total=False
98
+ )
99
+ GithubReposGetOrgRuleSuiteOutput: TypeAlias = "OutputruleSuite"
100
+ GithubReposGetOrgRuleSuitesInput = TypedDict(
101
+ "GithubReposGetOrgRuleSuitesInput",
102
+ {
103
+ "path": Required["GithubReposGetOrgRuleSuitesInputPath"],
104
+ "query": NotRequired["GithubReposGetOrgRuleSuitesInputQuery"],
105
+ },
106
+ total=False,
107
+ )
108
+ GithubReposGetOrgRuleSuitesInputPath = TypedDict(
109
+ "GithubReposGetOrgRuleSuitesInputPath", {"org": Required["str"]}, total=False
110
+ )
111
+ GithubReposGetOrgRuleSuitesInputQuery = TypedDict(
112
+ "GithubReposGetOrgRuleSuitesInputQuery",
113
+ {
114
+ "ref": NotRequired["str"],
115
+ "repository_name": NotRequired["str"],
116
+ "time_period": NotRequired["Literal['hour', 'day', 'week', 'month']"],
117
+ "actor_name": NotRequired["str"],
118
+ "rule_suite_result": NotRequired["Literal['pass', 'fail', 'bypass', 'all']"],
119
+ "evaluate_status": NotRequired["Literal['all', 'active', 'evaluate']"],
120
+ "per_page": NotRequired["int"],
121
+ "page": NotRequired["int"],
122
+ },
123
+ total=False,
124
+ )
125
+ GithubReposGetOrgRuleSuitesOutput: TypeAlias = "OutputruleSuites"
126
+ GithubReposGetOrgRulesetInput = TypedDict(
127
+ "GithubReposGetOrgRulesetInput",
128
+ {"path": Required["GithubReposGetOrgRulesetInputPath"]},
129
+ total=False,
130
+ )
131
+ GithubReposGetOrgRulesetInputPath = TypedDict(
132
+ "GithubReposGetOrgRulesetInputPath",
133
+ {"org": Required["str"], "ruleset_id": Required["int"]},
134
+ total=False,
135
+ )
136
+ GithubReposGetOrgRulesetOutput: TypeAlias = "OutputrepositoryRuleset"
137
+ GithubReposGetOrgRulesetsInput = TypedDict(
138
+ "GithubReposGetOrgRulesetsInput",
139
+ {
140
+ "path": Required["GithubReposGetOrgRulesetsInputPath"],
141
+ "query": NotRequired["GithubReposGetOrgRulesetsInputQuery"],
142
+ },
143
+ total=False,
144
+ )
145
+ GithubReposGetOrgRulesetsInputPath = TypedDict(
146
+ "GithubReposGetOrgRulesetsInputPath", {"org": Required["str"]}, total=False
147
+ )
148
+ GithubReposGetOrgRulesetsInputQuery = TypedDict(
149
+ "GithubReposGetOrgRulesetsInputQuery",
150
+ {"per_page": NotRequired["int"], "page": NotRequired["int"], "targets": NotRequired["str"]},
151
+ total=False,
152
+ )
153
+ GithubReposGetOrgRulesetsOutput: TypeAlias = "list[OutputrepositoryRuleset]"
154
+ GithubReposGetOutput: TypeAlias = "OutputfullRepository"
155
+ GithubReposGetPagesBuildInput = TypedDict(
156
+ "GithubReposGetPagesBuildInput",
157
+ {"path": Required["GithubReposGetPagesBuildInputPath"]},
158
+ total=False,
159
+ )
160
+ GithubReposGetPagesBuildInputPath = TypedDict(
161
+ "GithubReposGetPagesBuildInputPath",
162
+ {"owner": Required["str"], "repo": Required["str"], "build_id": Required["int"]},
163
+ total=False,
164
+ )
165
+ GithubReposGetPagesBuildOutput: TypeAlias = "OutputpageBuild"
166
+ GithubReposGetPagesDeploymentInput = TypedDict(
167
+ "GithubReposGetPagesDeploymentInput",
168
+ {"path": Required["GithubReposGetPagesDeploymentInputPath"]},
169
+ total=False,
170
+ )
171
+ GithubReposGetPagesDeploymentInputPath = TypedDict(
172
+ "GithubReposGetPagesDeploymentInputPath",
173
+ {
174
+ "owner": Required["str"],
175
+ "repo": Required["str"],
176
+ "pages_deployment_id": Required["int | str"],
177
+ },
178
+ total=False,
179
+ )
180
+ GithubReposGetPagesDeploymentOutput: TypeAlias = "OutputpagesDeploymentStatus"
181
+ GithubReposGetPagesHealthCheckInput = TypedDict(
182
+ "GithubReposGetPagesHealthCheckInput",
183
+ {"path": Required["GithubReposGetPagesHealthCheckInputPath"]},
184
+ total=False,
185
+ )
186
+ GithubReposGetPagesHealthCheckInputPath = TypedDict(
187
+ "GithubReposGetPagesHealthCheckInputPath",
188
+ {"owner": Required["str"], "repo": Required["str"]},
189
+ total=False,
190
+ )
191
+ GithubReposGetPagesHealthCheckOutput: TypeAlias = "Union[OutputpagesHealthCheck, OutputemptyObject]"
192
+ GithubReposGetPagesInput = TypedDict(
193
+ "GithubReposGetPagesInput", {"path": Required["GithubReposGetPagesInputPath"]}, total=False
194
+ )
195
+ GithubReposGetPagesInputPath = TypedDict(
196
+ "GithubReposGetPagesInputPath", {"owner": Required["str"], "repo": Required["str"]}, total=False
197
+ )
198
+ GithubReposGetPagesOutput: TypeAlias = "Outputpage"
199
+ GithubReposGetParticipationStatsInput = TypedDict(
200
+ "GithubReposGetParticipationStatsInput",
201
+ {"path": Required["GithubReposGetParticipationStatsInputPath"]},
202
+ total=False,
203
+ )
204
+ GithubReposGetParticipationStatsInputPath = TypedDict(
205
+ "GithubReposGetParticipationStatsInputPath",
206
+ {"owner": Required["str"], "repo": Required["str"]},
207
+ total=False,
208
+ )
209
+ GithubReposGetParticipationStatsOutput: TypeAlias = "OutputparticipationStats"
210
+ GithubReposGetPullRequestReviewProtectionInput = TypedDict(
211
+ "GithubReposGetPullRequestReviewProtectionInput",
212
+ {"path": Required["GithubReposGetPullRequestReviewProtectionInputPath"]},
213
+ total=False,
214
+ )
215
+ GithubReposGetPullRequestReviewProtectionInputPath = TypedDict(
216
+ "GithubReposGetPullRequestReviewProtectionInputPath",
217
+ {"owner": Required["str"], "repo": Required["str"], "branch": Required["str"]},
218
+ total=False,
219
+ )
220
+ GithubReposGetPullRequestReviewProtectionOutput: TypeAlias = (
221
+ "OutputprotectedBranchPullRequestReview"
222
+ )
223
+ GithubReposGetPunchCardStatsInput = TypedDict(
224
+ "GithubReposGetPunchCardStatsInput",
225
+ {"path": Required["GithubReposGetPunchCardStatsInputPath"]},
226
+ total=False,
227
+ )
228
+ GithubReposGetPunchCardStatsInputPath = TypedDict(
229
+ "GithubReposGetPunchCardStatsInputPath",
230
+ {"owner": Required["str"], "repo": Required["str"]},
231
+ total=False,
232
+ )
233
+ GithubReposGetPunchCardStatsOutput: TypeAlias = "list[OutputcodeFrequencyStat] | None"
234
+ GithubReposGetReadmeInDirectoryInput = TypedDict(
235
+ "GithubReposGetReadmeInDirectoryInput",
236
+ {
237
+ "path": Required["GithubReposGetReadmeInDirectoryInputPath"],
238
+ "query": NotRequired["GithubReposGetReadmeInDirectoryInputQuery"],
239
+ },
240
+ total=False,
241
+ )
242
+ GithubReposGetReadmeInDirectoryInputPath = TypedDict(
243
+ "GithubReposGetReadmeInDirectoryInputPath",
244
+ {"owner": Required["str"], "repo": Required["str"], "dir": Required["str"]},
245
+ total=False,
246
+ )
247
+ GithubReposGetReadmeInDirectoryInputQuery = TypedDict(
248
+ "GithubReposGetReadmeInDirectoryInputQuery", {"ref": NotRequired["str"]}, total=False
249
+ )
250
+ GithubReposGetReadmeInDirectoryOutput: TypeAlias = "OutputcontentFile"
251
+ GithubReposGetReadmeInput = TypedDict(
252
+ "GithubReposGetReadmeInput",
253
+ {
254
+ "path": Required["GithubReposGetReadmeInputPath"],
255
+ "query": NotRequired["GithubReposGetReadmeInputQuery"],
256
+ },
257
+ total=False,
258
+ )
259
+ GithubReposGetReadmeInputPath = TypedDict(
260
+ "GithubReposGetReadmeInputPath",
261
+ {"owner": Required["str"], "repo": Required["str"]},
262
+ total=False,
263
+ )
264
+ GithubReposGetReadmeInputQuery = TypedDict(
265
+ "GithubReposGetReadmeInputQuery", {"ref": NotRequired["str"]}, total=False
266
+ )
267
+ GithubReposGetReadmeOutput: TypeAlias = "OutputcontentFile"
268
+ GithubReposGetReleaseAssetInput = TypedDict(
269
+ "GithubReposGetReleaseAssetInput",
270
+ {"path": Required["GithubReposGetReleaseAssetInputPath"]},
271
+ total=False,
272
+ )
273
+ GithubReposGetReleaseAssetInputPath = TypedDict(
274
+ "GithubReposGetReleaseAssetInputPath",
275
+ {"owner": Required["str"], "repo": Required["str"], "asset_id": Required["int"]},
276
+ total=False,
277
+ )
278
+ GithubReposGetReleaseAssetOutput: TypeAlias = "OutputreleaseAsset"
279
+ GithubReposGetReleaseByTagInput = TypedDict(
280
+ "GithubReposGetReleaseByTagInput",
281
+ {"path": Required["GithubReposGetReleaseByTagInputPath"]},
282
+ total=False,
283
+ )
284
+ GithubReposGetReleaseByTagInputPath = TypedDict(
285
+ "GithubReposGetReleaseByTagInputPath",
286
+ {"owner": Required["str"], "repo": Required["str"], "tag": Required["str"]},
287
+ total=False,
288
+ )
289
+ GithubReposGetReleaseByTagOutput: TypeAlias = "Outputrelease"
290
+ GithubReposGetReleaseInput = TypedDict(
291
+ "GithubReposGetReleaseInput", {"path": Required["GithubReposGetReleaseInputPath"]}, total=False
292
+ )
293
+ GithubReposGetReleaseInputPath = TypedDict(
294
+ "GithubReposGetReleaseInputPath",
295
+ {"owner": Required["str"], "repo": Required["str"], "release_id": Required["int"]},
296
+ total=False,
297
+ )
298
+ GithubReposGetReleaseOutput: TypeAlias = "Outputrelease"
299
+ GithubReposGetRepoRuleSuiteInput = TypedDict(
300
+ "GithubReposGetRepoRuleSuiteInput",
301
+ {
302
+ "path": Required["GithubReposGetRepoRuleSuiteInputPath"],
303
+ "query": NotRequired["GithubReposGetRepoRuleSuiteInputQuery"],
304
+ },
305
+ total=False,
306
+ )
307
+ GithubReposGetRepoRuleSuiteInputPath = TypedDict(
308
+ "GithubReposGetRepoRuleSuiteInputPath",
309
+ {"owner": Required["str"], "repo": Required["str"], "rule_suite_id": Required["int"]},
310
+ total=False,
311
+ )
312
+ GithubReposGetRepoRuleSuiteInputQuery = TypedDict(
313
+ "GithubReposGetRepoRuleSuiteInputQuery", {"include_metadata": NotRequired["bool"]}, total=False
314
+ )
315
+ GithubReposGetRepoRuleSuiteOutput: TypeAlias = "OutputruleSuite"
316
+ GithubReposGetRepoRuleSuitesInput = TypedDict(
317
+ "GithubReposGetRepoRuleSuitesInput",
318
+ {
319
+ "path": Required["GithubReposGetRepoRuleSuitesInputPath"],
320
+ "query": NotRequired["GithubReposGetRepoRuleSuitesInputQuery"],
321
+ },
322
+ total=False,
323
+ )
324
+ GithubReposGetRepoRuleSuitesInputPath = TypedDict(
325
+ "GithubReposGetRepoRuleSuitesInputPath",
326
+ {"owner": Required["str"], "repo": Required["str"]},
327
+ total=False,
328
+ )
329
+ GithubReposGetRepoRuleSuitesInputQuery = TypedDict(
330
+ "GithubReposGetRepoRuleSuitesInputQuery",
331
+ {
332
+ "ref": NotRequired["str"],
333
+ "time_period": NotRequired["Literal['hour', 'day', 'week', 'month']"],
334
+ "actor_name": NotRequired["str"],
335
+ "rule_suite_result": NotRequired["Literal['pass', 'fail', 'bypass', 'all']"],
336
+ "evaluate_status": NotRequired["Literal['all', 'active', 'evaluate']"],
337
+ "per_page": NotRequired["int"],
338
+ "page": NotRequired["int"],
339
+ },
340
+ total=False,
341
+ )
342
+ GithubReposGetRepoRuleSuitesOutput: TypeAlias = "OutputruleSuites"
343
+ GithubReposGetRepoRulesetHistoryInput = TypedDict(
344
+ "GithubReposGetRepoRulesetHistoryInput",
345
+ {
346
+ "path": Required["GithubReposGetRepoRulesetHistoryInputPath"],
347
+ "query": NotRequired["GithubReposGetRepoRulesetHistoryInputQuery"],
348
+ },
349
+ total=False,
350
+ )
351
+ GithubReposGetRepoRulesetHistoryInputPath = TypedDict(
352
+ "GithubReposGetRepoRulesetHistoryInputPath",
353
+ {"owner": Required["str"], "repo": Required["str"], "ruleset_id": Required["int"]},
354
+ total=False,
355
+ )
356
+ GithubReposGetRepoRulesetHistoryInputQuery = TypedDict(
357
+ "GithubReposGetRepoRulesetHistoryInputQuery",
358
+ {"per_page": NotRequired["int"], "page": NotRequired["int"]},
359
+ total=False,
360
+ )
361
+ GithubReposGetRepoRulesetHistoryOutput: TypeAlias = "list[OutputrulesetVersion]"
362
+ GithubReposGetRepoRulesetInput = TypedDict(
363
+ "GithubReposGetRepoRulesetInput",
364
+ {
365
+ "path": Required["GithubReposGetRepoRulesetInputPath"],
366
+ "query": NotRequired["GithubReposGetRepoRulesetInputQuery"],
367
+ },
368
+ total=False,
369
+ )
370
+ GithubReposGetRepoRulesetInputPath = TypedDict(
371
+ "GithubReposGetRepoRulesetInputPath",
372
+ {"owner": Required["str"], "repo": Required["str"], "ruleset_id": Required["int"]},
373
+ total=False,
374
+ )
375
+ GithubReposGetRepoRulesetInputQuery = TypedDict(
376
+ "GithubReposGetRepoRulesetInputQuery", {"includes_parents": NotRequired["bool"]}, total=False
377
+ )
378
+ GithubReposGetRepoRulesetOutput: TypeAlias = "OutputrepositoryRuleset"
379
+ GithubReposGetRepoRulesetVersionInput = TypedDict(
380
+ "GithubReposGetRepoRulesetVersionInput",
381
+ {"path": Required["GithubReposGetRepoRulesetVersionInputPath"]},
382
+ total=False,
383
+ )
384
+ GithubReposGetRepoRulesetVersionInputPath = TypedDict(
385
+ "GithubReposGetRepoRulesetVersionInputPath",
386
+ {
387
+ "owner": Required["str"],
388
+ "repo": Required["str"],
389
+ "ruleset_id": Required["int"],
390
+ "version_id": Required["int"],
391
+ },
392
+ total=False,
393
+ )
394
+ GithubReposGetRepoRulesetVersionOutput: TypeAlias = "OutputrulesetVersionWithState"
395
+ GithubReposGetRepoRulesetsInput = TypedDict(
396
+ "GithubReposGetRepoRulesetsInput",
397
+ {
398
+ "path": Required["GithubReposGetRepoRulesetsInputPath"],
399
+ "query": NotRequired["GithubReposGetRepoRulesetsInputQuery"],
400
+ },
401
+ total=False,
402
+ )
403
+ GithubReposGetRepoRulesetsInputPath = TypedDict(
404
+ "GithubReposGetRepoRulesetsInputPath",
405
+ {"owner": Required["str"], "repo": Required["str"]},
406
+ total=False,
407
+ )
408
+ GithubReposGetRepoRulesetsInputQuery = TypedDict(
409
+ "GithubReposGetRepoRulesetsInputQuery",
410
+ {
411
+ "per_page": NotRequired["int"],
412
+ "page": NotRequired["int"],
413
+ "includes_parents": NotRequired["bool"],
414
+ "targets": NotRequired["str"],
415
+ },
416
+ total=False,
417
+ )
418
+ GithubReposGetRepoRulesetsOutput: TypeAlias = "list[OutputrepositoryRuleset]"
419
+ GithubReposGetStatusChecksProtectionInput = TypedDict(
420
+ "GithubReposGetStatusChecksProtectionInput",
421
+ {"path": Required["GithubReposGetStatusChecksProtectionInputPath"]},
422
+ total=False,
423
+ )
424
+ GithubReposGetStatusChecksProtectionInputPath = TypedDict(
425
+ "GithubReposGetStatusChecksProtectionInputPath",
426
+ {"owner": Required["str"], "repo": Required["str"], "branch": Required["str"]},
427
+ total=False,
428
+ )
429
+ GithubReposGetStatusChecksProtectionOutput: TypeAlias = "OutputstatusCheckPolicy"
430
+ GithubReposGetTeamsWithAccessToProtectedBranchInput = TypedDict(
431
+ "GithubReposGetTeamsWithAccessToProtectedBranchInput",
432
+ {"path": Required["GithubReposGetTeamsWithAccessToProtectedBranchInputPath"]},
433
+ total=False,
434
+ )
435
+ GithubReposGetTeamsWithAccessToProtectedBranchInputPath = TypedDict(
436
+ "GithubReposGetTeamsWithAccessToProtectedBranchInputPath",
437
+ {"owner": Required["str"], "repo": Required["str"], "branch": Required["str"]},
438
+ total=False,
439
+ )
440
+ GithubReposGetTeamsWithAccessToProtectedBranchOutput: TypeAlias = "list[Outputteam]"
441
+ GithubReposGetTopPathsInput = TypedDict(
442
+ "GithubReposGetTopPathsInput",
443
+ {"path": Required["GithubReposGetTopPathsInputPath"]},
444
+ total=False,
445
+ )
446
+ GithubReposGetTopPathsInputPath = TypedDict(
447
+ "GithubReposGetTopPathsInputPath",
448
+ {"owner": Required["str"], "repo": Required["str"]},
449
+ total=False,
450
+ )
451
+ GithubReposGetTopPathsOutput: TypeAlias = "list[OutputcontentTraffic]"
452
+ GithubReposGetTopReferrersInput = TypedDict(
453
+ "GithubReposGetTopReferrersInput",
454
+ {"path": Required["GithubReposGetTopReferrersInputPath"]},
455
+ total=False,
456
+ )
457
+ GithubReposGetTopReferrersInputPath = TypedDict(
458
+ "GithubReposGetTopReferrersInputPath",
459
+ {"owner": Required["str"], "repo": Required["str"]},
460
+ total=False,
461
+ )
462
+ GithubReposGetTopReferrersOutput: TypeAlias = "list[OutputreferrerTraffic]"
463
+ GithubReposGetUsersWithAccessToProtectedBranchInput = TypedDict(
464
+ "GithubReposGetUsersWithAccessToProtectedBranchInput",
465
+ {"path": Required["GithubReposGetUsersWithAccessToProtectedBranchInputPath"]},
466
+ total=False,
467
+ )
468
+ GithubReposGetUsersWithAccessToProtectedBranchInputPath = TypedDict(
469
+ "GithubReposGetUsersWithAccessToProtectedBranchInputPath",
470
+ {"owner": Required["str"], "repo": Required["str"], "branch": Required["str"]},
471
+ total=False,
472
+ )
473
+ GithubReposGetUsersWithAccessToProtectedBranchOutput: TypeAlias = "list[OutputsimpleUser]"
474
+ GithubReposGetViewsInput = TypedDict(
475
+ "GithubReposGetViewsInput",
476
+ {
477
+ "path": Required["GithubReposGetViewsInputPath"],
478
+ "query": NotRequired["GithubReposGetViewsInputQuery"],
479
+ },
480
+ total=False,
481
+ )
482
+ GithubReposGetViewsInputPath = TypedDict(
483
+ "GithubReposGetViewsInputPath", {"owner": Required["str"], "repo": Required["str"]}, total=False
484
+ )
485
+ GithubReposGetViewsInputQuery = TypedDict(
486
+ "GithubReposGetViewsInputQuery", {"per": NotRequired["Literal['day', 'week']"]}, total=False
487
+ )
488
+ GithubReposGetViewsOutput: TypeAlias = "OutputviewTraffic"
489
+ GithubReposGetWebhookConfigForRepoInput = TypedDict(
490
+ "GithubReposGetWebhookConfigForRepoInput",
491
+ {"path": Required["GithubReposGetWebhookConfigForRepoInputPath"]},
492
+ total=False,
493
+ )
494
+ GithubReposGetWebhookConfigForRepoInputPath = TypedDict(
495
+ "GithubReposGetWebhookConfigForRepoInputPath",
496
+ {"owner": Required["str"], "repo": Required["str"], "hook_id": Required["int"]},
497
+ total=False,
498
+ )
499
+ GithubReposGetWebhookConfigForRepoOutput: TypeAlias = "OutputwebhookConfig"
500
+ GithubReposGetWebhookDeliveryInput = TypedDict(
501
+ "GithubReposGetWebhookDeliveryInput",
502
+ {"path": Required["GithubReposGetWebhookDeliveryInputPath"]},
503
+ total=False,
504
+ )
505
+ GithubReposGetWebhookDeliveryInputPath = TypedDict(
506
+ "GithubReposGetWebhookDeliveryInputPath",
507
+ {
508
+ "owner": Required["str"],
509
+ "repo": Required["str"],
510
+ "hook_id": Required["int"],
511
+ "delivery_id": Required["int"],
512
+ },
513
+ total=False,
514
+ )
515
+ GithubReposGetWebhookDeliveryOutput: TypeAlias = "OutputhookDelivery"
516
+ GithubReposGetWebhookInput = TypedDict(
517
+ "GithubReposGetWebhookInput", {"path": Required["GithubReposGetWebhookInputPath"]}, total=False
518
+ )
519
+ GithubReposGetWebhookInputPath = TypedDict(
520
+ "GithubReposGetWebhookInputPath",
521
+ {"owner": Required["str"], "repo": Required["str"], "hook_id": Required["int"]},
522
+ total=False,
523
+ )
524
+ GithubReposGetWebhookOutput: TypeAlias = "Outputhook"
525
+ GithubReposListActivitiesInput = TypedDict(
526
+ "GithubReposListActivitiesInput",
527
+ {
528
+ "path": Required["GithubReposListActivitiesInputPath"],
529
+ "query": NotRequired["GithubReposListActivitiesInputQuery"],
530
+ },
531
+ total=False,
532
+ )
533
+ GithubReposListActivitiesInputPath = TypedDict(
534
+ "GithubReposListActivitiesInputPath",
535
+ {"owner": Required["str"], "repo": Required["str"]},
536
+ total=False,
537
+ )
538
+ GithubReposListActivitiesInputQuery = TypedDict(
539
+ "GithubReposListActivitiesInputQuery",
540
+ {
541
+ "direction": NotRequired["Literal['asc', 'desc']"],
542
+ "per_page": NotRequired["int"],
543
+ "before": NotRequired["str"],
544
+ "after": NotRequired["str"],
545
+ "ref": NotRequired["str"],
546
+ "actor": NotRequired["str"],
547
+ "time_period": NotRequired["Literal['day', 'week', 'month', 'quarter', 'year']"],
548
+ "activity_type": NotRequired[
549
+ "Literal['push', 'force_push', 'branch_creation', 'branch_deletion', 'pr_merge', 'merge_queue_merge']"
550
+ ],
551
+ },
552
+ total=False,
553
+ )
554
+ GithubReposListActivitiesOutput: TypeAlias = "list[Outputactivity]"
555
+ GithubReposListAttestationsInput = TypedDict(
556
+ "GithubReposListAttestationsInput",
557
+ {
558
+ "path": Required["GithubReposListAttestationsInputPath"],
559
+ "query": NotRequired["GithubReposListAttestationsInputQuery"],
560
+ },
561
+ total=False,
562
+ )
563
+ GithubReposListAttestationsInputPath = TypedDict(
564
+ "GithubReposListAttestationsInputPath",
565
+ {"owner": Required["str"], "repo": Required["str"], "subject_digest": Required["str"]},
566
+ total=False,
567
+ )
568
+ GithubReposListAttestationsInputQuery = TypedDict(
569
+ "GithubReposListAttestationsInputQuery",
570
+ {
571
+ "per_page": NotRequired["int"],
572
+ "before": NotRequired["str"],
573
+ "after": NotRequired["str"],
574
+ "predicate_type": NotRequired["str"],
575
+ },
576
+ total=False,
577
+ )
578
+ GithubReposListAttestationsOutput = TypedDict(
579
+ "GithubReposListAttestationsOutput",
580
+ {"attestations": NotRequired["list[GithubReposListAttestationsOutputAttestationsItem]"]},
581
+ total=False,
582
+ )
583
+ GithubReposListAttestationsOutputAttestationsItem = TypedDict(
584
+ "GithubReposListAttestationsOutputAttestationsItem",
585
+ {
586
+ "bundle_url": NotRequired["str"],
587
+ "initiator": NotRequired["str"],
588
+ "repository_id": NotRequired["int | str"],
589
+ },
590
+ total=False,
591
+ )
592
+ GithubReposListAutolinksInput = TypedDict(
593
+ "GithubReposListAutolinksInput",
594
+ {"path": Required["GithubReposListAutolinksInputPath"]},
595
+ total=False,
596
+ )
597
+ GithubReposListAutolinksInputPath = TypedDict(
598
+ "GithubReposListAutolinksInputPath",
599
+ {"owner": Required["str"], "repo": Required["str"]},
600
+ total=False,
601
+ )
602
+ GithubReposListAutolinksOutput: TypeAlias = "list[Outputautolink]"
603
+ GithubReposListBranchesForHeadCommitInput = TypedDict(
604
+ "GithubReposListBranchesForHeadCommitInput",
605
+ {"path": Required["GithubReposListBranchesForHeadCommitInputPath"]},
606
+ total=False,
607
+ )
608
+ GithubReposListBranchesForHeadCommitInputPath = TypedDict(
609
+ "GithubReposListBranchesForHeadCommitInputPath",
610
+ {"owner": Required["str"], "repo": Required["str"], "commit_sha": Required["str"]},
611
+ total=False,
612
+ )
613
+ GithubReposListBranchesForHeadCommitOutput: TypeAlias = "list[OutputbranchShort]"
614
+ GithubReposListBranchesInput = TypedDict(
615
+ "GithubReposListBranchesInput",
616
+ {
617
+ "path": Required["GithubReposListBranchesInputPath"],
618
+ "query": NotRequired["GithubReposListBranchesInputQuery"],
619
+ },
620
+ total=False,
621
+ )
622
+ GithubReposListBranchesInputPath = TypedDict(
623
+ "GithubReposListBranchesInputPath",
624
+ {"owner": Required["str"], "repo": Required["str"]},
625
+ total=False,
626
+ )
627
+ GithubReposListBranchesInputQuery = TypedDict(
628
+ "GithubReposListBranchesInputQuery",
629
+ {"protected": NotRequired["bool"], "per_page": NotRequired["int"], "page": NotRequired["int"]},
630
+ total=False,
631
+ )
632
+ GithubReposListBranchesOutput: TypeAlias = "list[OutputshortBranch]"
633
+ GithubReposListCollaboratorsInput = TypedDict(
634
+ "GithubReposListCollaboratorsInput",
635
+ {
636
+ "path": Required["GithubReposListCollaboratorsInputPath"],
637
+ "query": NotRequired["GithubReposListCollaboratorsInputQuery"],
638
+ },
639
+ total=False,
640
+ )
641
+ GithubReposListCollaboratorsInputPath = TypedDict(
642
+ "GithubReposListCollaboratorsInputPath",
643
+ {"owner": Required["str"], "repo": Required["str"]},
644
+ total=False,
645
+ )
646
+ GithubReposListCollaboratorsInputQuery = TypedDict(
647
+ "GithubReposListCollaboratorsInputQuery",
648
+ {
649
+ "affiliation": NotRequired["Literal['outside', 'direct', 'all']"],
650
+ "permission": NotRequired[
651
+ "Literal['pull', 'triage', 'triage_plus', 'push', 'maintain', 'admin']"
652
+ ],
653
+ "per_page": NotRequired["int"],
654
+ "page": NotRequired["int"],
655
+ },
656
+ total=False,
657
+ )
658
+ GithubReposListCollaboratorsOutput: TypeAlias = "list[Outputcollaborator]"
659
+ GithubReposListCommentsForCommitInput = TypedDict(
660
+ "GithubReposListCommentsForCommitInput",
661
+ {
662
+ "path": Required["GithubReposListCommentsForCommitInputPath"],
663
+ "query": NotRequired["GithubReposListCommentsForCommitInputQuery"],
664
+ },
665
+ total=False,
666
+ )
667
+ GithubReposListCommentsForCommitInputPath = TypedDict(
668
+ "GithubReposListCommentsForCommitInputPath",
669
+ {"owner": Required["str"], "repo": Required["str"], "commit_sha": Required["str"]},
670
+ total=False,
671
+ )
672
+ GithubReposListCommentsForCommitInputQuery = TypedDict(
673
+ "GithubReposListCommentsForCommitInputQuery",
674
+ {"per_page": NotRequired["int"], "page": NotRequired["int"]},
675
+ total=False,
676
+ )
677
+ GithubReposListCommentsForCommitOutput: TypeAlias = "list[OutputcommitComment]"
678
+ GithubReposListCommitCommentsForRepoInput = TypedDict(
679
+ "GithubReposListCommitCommentsForRepoInput",
680
+ {
681
+ "path": Required["GithubReposListCommitCommentsForRepoInputPath"],
682
+ "query": NotRequired["GithubReposListCommitCommentsForRepoInputQuery"],
683
+ },
684
+ total=False,
685
+ )
686
+ GithubReposListCommitCommentsForRepoInputPath = TypedDict(
687
+ "GithubReposListCommitCommentsForRepoInputPath",
688
+ {"owner": Required["str"], "repo": Required["str"]},
689
+ total=False,
690
+ )
691
+ GithubReposListCommitCommentsForRepoInputQuery = TypedDict(
692
+ "GithubReposListCommitCommentsForRepoInputQuery",
693
+ {"per_page": NotRequired["int"], "page": NotRequired["int"]},
694
+ total=False,
695
+ )
696
+ GithubReposListCommitCommentsForRepoOutput: TypeAlias = "list[OutputcommitComment]"
697
+ GithubReposListCommitStatusesForRefInput = TypedDict(
698
+ "GithubReposListCommitStatusesForRefInput",
699
+ {
700
+ "path": Required["GithubReposListCommitStatusesForRefInputPath"],
701
+ "query": NotRequired["GithubReposListCommitStatusesForRefInputQuery"],
702
+ },
703
+ total=False,
704
+ )
705
+ GithubReposListCommitStatusesForRefInputPath = TypedDict(
706
+ "GithubReposListCommitStatusesForRefInputPath",
707
+ {"owner": Required["str"], "repo": Required["str"], "ref": Required["str"]},
708
+ total=False,
709
+ )
710
+ GithubReposListCommitStatusesForRefInputQuery = TypedDict(
711
+ "GithubReposListCommitStatusesForRefInputQuery",
712
+ {"per_page": NotRequired["int"], "page": NotRequired["int"]},
713
+ total=False,
714
+ )
715
+ GithubReposListCommitStatusesForRefOutput: TypeAlias = "list[Outputstatus]"
716
+ GithubReposListCommitsInput = TypedDict(
717
+ "GithubReposListCommitsInput",
718
+ {
719
+ "path": Required["GithubReposListCommitsInputPath"],
720
+ "query": NotRequired["GithubReposListCommitsInputQuery"],
721
+ },
722
+ total=False,
723
+ )
724
+ GithubReposListCommitsInputPath = TypedDict(
725
+ "GithubReposListCommitsInputPath",
726
+ {"owner": Required["str"], "repo": Required["str"]},
727
+ total=False,
728
+ )
729
+ GithubReposListCommitsInputQuery = TypedDict(
730
+ "GithubReposListCommitsInputQuery",
731
+ {
732
+ "sha": NotRequired["str"],
733
+ "path": NotRequired["str"],
734
+ "author": NotRequired["str"],
735
+ "committer": NotRequired["str"],
736
+ "since": NotRequired["str"],
737
+ "until": NotRequired["str"],
738
+ "per_page": NotRequired["int"],
739
+ "page": NotRequired["int"],
740
+ },
741
+ total=False,
742
+ )
743
+ GithubReposListCommitsOutput: TypeAlias = "list[Outputcommit]"
744
+ GithubReposListContributorsInput = TypedDict(
745
+ "GithubReposListContributorsInput",
746
+ {
747
+ "path": Required["GithubReposListContributorsInputPath"],
748
+ "query": NotRequired["GithubReposListContributorsInputQuery"],
749
+ },
750
+ total=False,
751
+ )
752
+ GithubReposListContributorsInputPath = TypedDict(
753
+ "GithubReposListContributorsInputPath",
754
+ {"owner": Required["str"], "repo": Required["str"]},
755
+ total=False,
756
+ )
757
+ GithubReposListContributorsInputQuery = TypedDict(
758
+ "GithubReposListContributorsInputQuery",
759
+ {"anon": NotRequired["str"], "per_page": NotRequired["int"], "page": NotRequired["int"]},
760
+ total=False,
761
+ )
762
+ GithubReposListContributorsOutput: TypeAlias = "list[Outputcontributor] | None"
763
+ GithubReposListCustomDeploymentRuleIntegrationsInput = TypedDict(
764
+ "GithubReposListCustomDeploymentRuleIntegrationsInput",
765
+ {
766
+ "path": Required["GithubReposListCustomDeploymentRuleIntegrationsInputPath"],
767
+ "query": NotRequired["GithubReposListCustomDeploymentRuleIntegrationsInputQuery"],
768
+ },
769
+ total=False,
770
+ )
771
+ GithubReposListCustomDeploymentRuleIntegrationsInputPath = TypedDict(
772
+ "GithubReposListCustomDeploymentRuleIntegrationsInputPath",
773
+ {"environment_name": Required["str"], "repo": Required["str"], "owner": Required["str"]},
774
+ total=False,
775
+ )
776
+ GithubReposListCustomDeploymentRuleIntegrationsInputQuery = TypedDict(
777
+ "GithubReposListCustomDeploymentRuleIntegrationsInputQuery",
778
+ {"page": NotRequired["int"], "per_page": NotRequired["int"]},
779
+ total=False,
780
+ )
781
+ GithubReposListCustomDeploymentRuleIntegrationsOutput = TypedDict(
782
+ "GithubReposListCustomDeploymentRuleIntegrationsOutput",
783
+ {
784
+ "available_custom_deployment_protection_rule_integrations": NotRequired[
785
+ "list[OutputcustomDeploymentRuleApp]"
786
+ ],
787
+ "total_count": NotRequired["int | str"],
788
+ },
789
+ total=False,
790
+ )
791
+ GithubReposListDeployKeysInput = TypedDict(
792
+ "GithubReposListDeployKeysInput",
793
+ {
794
+ "path": Required["GithubReposListDeployKeysInputPath"],
795
+ "query": NotRequired["GithubReposListDeployKeysInputQuery"],
796
+ },
797
+ total=False,
798
+ )
799
+ GithubReposListDeployKeysInputPath = TypedDict(
800
+ "GithubReposListDeployKeysInputPath",
801
+ {"owner": Required["str"], "repo": Required["str"]},
802
+ total=False,
803
+ )
804
+ GithubReposListDeployKeysInputQuery = TypedDict(
805
+ "GithubReposListDeployKeysInputQuery",
806
+ {"per_page": NotRequired["int"], "page": NotRequired["int"]},
807
+ total=False,
808
+ )
809
+ GithubReposListDeployKeysOutput: TypeAlias = "list[OutputdeployKey]"
810
+ GithubReposListDeploymentBranchPoliciesInput = TypedDict(
811
+ "GithubReposListDeploymentBranchPoliciesInput",
812
+ {
813
+ "path": Required["GithubReposListDeploymentBranchPoliciesInputPath"],
814
+ "query": NotRequired["GithubReposListDeploymentBranchPoliciesInputQuery"],
815
+ },
816
+ total=False,
817
+ )
818
+ GithubReposListDeploymentBranchPoliciesInputPath = TypedDict(
819
+ "GithubReposListDeploymentBranchPoliciesInputPath",
820
+ {"owner": Required["str"], "repo": Required["str"], "environment_name": Required["str"]},
821
+ total=False,
822
+ )
823
+ GithubReposListDeploymentBranchPoliciesInputQuery = TypedDict(
824
+ "GithubReposListDeploymentBranchPoliciesInputQuery",
825
+ {"per_page": NotRequired["int"], "page": NotRequired["int"]},
826
+ total=False,
827
+ )
828
+ GithubReposListDeploymentBranchPoliciesOutput = TypedDict(
829
+ "GithubReposListDeploymentBranchPoliciesOutput",
830
+ {
831
+ "branch_policies": Required["list[OutputdeploymentBranchPolicy]"],
832
+ "total_count": Required["int | str"],
833
+ },
834
+ total=False,
835
+ )
836
+ GithubReposListDeploymentStatusesInput = TypedDict(
837
+ "GithubReposListDeploymentStatusesInput",
838
+ {
839
+ "path": Required["GithubReposListDeploymentStatusesInputPath"],
840
+ "query": NotRequired["GithubReposListDeploymentStatusesInputQuery"],
841
+ },
842
+ total=False,
843
+ )
844
+ GithubReposListDeploymentStatusesInputPath = TypedDict(
845
+ "GithubReposListDeploymentStatusesInputPath",
846
+ {"owner": Required["str"], "repo": Required["str"], "deployment_id": Required["int"]},
847
+ total=False,
848
+ )
849
+ GithubReposListDeploymentStatusesInputQuery = TypedDict(
850
+ "GithubReposListDeploymentStatusesInputQuery",
851
+ {"per_page": NotRequired["int"], "page": NotRequired["int"]},
852
+ total=False,
853
+ )
854
+ GithubReposListDeploymentStatusesOutput: TypeAlias = "list[OutputdeploymentStatus]"
855
+ GithubReposListDeploymentsInput = TypedDict(
856
+ "GithubReposListDeploymentsInput",
857
+ {
858
+ "path": Required["GithubReposListDeploymentsInputPath"],
859
+ "query": NotRequired["GithubReposListDeploymentsInputQuery"],
860
+ },
861
+ total=False,
862
+ )
863
+ GithubReposListDeploymentsInputPath = TypedDict(
864
+ "GithubReposListDeploymentsInputPath",
865
+ {"owner": Required["str"], "repo": Required["str"]},
866
+ total=False,
867
+ )
868
+ GithubReposListDeploymentsInputQuery = TypedDict(
869
+ "GithubReposListDeploymentsInputQuery",
870
+ {
871
+ "sha": NotRequired["str"],
872
+ "ref": NotRequired["str"],
873
+ "task": NotRequired["str"],
874
+ "environment": NotRequired["str | None"],
875
+ "per_page": NotRequired["int"],
876
+ "page": NotRequired["int"],
877
+ },
878
+ total=False,
879
+ )
880
+ GithubReposListDeploymentsOutput: TypeAlias = "list[Outputdeployment]"
881
+ GithubReposListForAuthenticatedUserInput = TypedDict(
882
+ "GithubReposListForAuthenticatedUserInput",
883
+ {"query": NotRequired["GithubReposListForAuthenticatedUserInputQuery"]},
884
+ total=False,
885
+ )
886
+ GithubReposListForAuthenticatedUserInputQuery = TypedDict(
887
+ "GithubReposListForAuthenticatedUserInputQuery",
888
+ {
889
+ "visibility": NotRequired["Literal['all', 'public', 'private']"],
890
+ "affiliation": NotRequired["str"],
891
+ "type": NotRequired["Literal['all', 'owner', 'public', 'private', 'member']"],
892
+ "sort": NotRequired["Literal['created', 'updated', 'pushed', 'full_name']"],
893
+ "direction": NotRequired["Literal['asc', 'desc']"],
894
+ "per_page": NotRequired["int"],
895
+ "page": NotRequired["int"],
896
+ "since": NotRequired["str"],
897
+ "before": NotRequired["str"],
898
+ },
899
+ total=False,
900
+ )
901
+ GithubReposListForAuthenticatedUserOutput: TypeAlias = "list[Outputrepository]"
902
+ GithubReposListForOrgInput = TypedDict(
903
+ "GithubReposListForOrgInput",
904
+ {
905
+ "path": Required["GithubReposListForOrgInputPath"],
906
+ "query": NotRequired["GithubReposListForOrgInputQuery"],
907
+ },
908
+ total=False,
909
+ )
910
+ GithubReposListForOrgInputPath = TypedDict(
911
+ "GithubReposListForOrgInputPath", {"org": Required["str"]}, total=False
912
+ )
913
+ GithubReposListForOrgInputQuery = TypedDict(
914
+ "GithubReposListForOrgInputQuery",
915
+ {
916
+ "type": NotRequired["Literal['all', 'public', 'private', 'forks', 'sources', 'member']"],
917
+ "sort": NotRequired["Literal['created', 'updated', 'pushed', 'full_name']"],
918
+ "direction": NotRequired["Literal['asc', 'desc']"],
919
+ "per_page": NotRequired["int"],
920
+ "page": NotRequired["int"],
921
+ },
922
+ total=False,
923
+ )
924
+ GithubReposListForOrgOutput: TypeAlias = "list[OutputminimalRepository]"
925
+ GithubReposListForUserInput = TypedDict(
926
+ "GithubReposListForUserInput",
927
+ {
928
+ "path": Required["GithubReposListForUserInputPath"],
929
+ "query": NotRequired["GithubReposListForUserInputQuery"],
930
+ },
931
+ total=False,
932
+ )
933
+ GithubReposListForUserInputPath = TypedDict(
934
+ "GithubReposListForUserInputPath", {"username": Required["str"]}, total=False
935
+ )
936
+ GithubReposListForUserInputQuery = TypedDict(
937
+ "GithubReposListForUserInputQuery",
938
+ {
939
+ "type": NotRequired["Literal['all', 'owner', 'member']"],
940
+ "sort": NotRequired["Literal['created', 'updated', 'pushed', 'full_name']"],
941
+ "direction": NotRequired["Literal['asc', 'desc']"],
942
+ "per_page": NotRequired["int"],
943
+ "page": NotRequired["int"],
944
+ },
945
+ total=False,
946
+ )
947
+ GithubReposListForUserOutput: TypeAlias = "list[OutputminimalRepository]"
948
+ GithubReposListForksInput = TypedDict(
949
+ "GithubReposListForksInput",
950
+ {
951
+ "path": Required["GithubReposListForksInputPath"],
952
+ "query": NotRequired["GithubReposListForksInputQuery"],
953
+ },
954
+ total=False,
955
+ )
956
+ GithubReposListForksInputPath = TypedDict(
957
+ "GithubReposListForksInputPath",
958
+ {"owner": Required["str"], "repo": Required["str"]},
959
+ total=False,
960
+ )
961
+ GithubReposListForksInputQuery = TypedDict(
962
+ "GithubReposListForksInputQuery",
963
+ {
964
+ "sort": NotRequired["Literal['newest', 'oldest', 'stargazers', 'watchers']"],
965
+ "per_page": NotRequired["int"],
966
+ "page": NotRequired["int"],
967
+ },
968
+ total=False,
969
+ )
970
+ GithubReposListForksOutput: TypeAlias = "list[OutputminimalRepository]"
971
+ GithubReposListInvitationsForAuthenticatedUserInput = TypedDict(
972
+ "GithubReposListInvitationsForAuthenticatedUserInput",
973
+ {"query": NotRequired["GithubReposListInvitationsForAuthenticatedUserInputQuery"]},
974
+ total=False,
975
+ )
976
+ GithubReposListInvitationsForAuthenticatedUserInputQuery = TypedDict(
977
+ "GithubReposListInvitationsForAuthenticatedUserInputQuery",
978
+ {"per_page": NotRequired["int"], "page": NotRequired["int"]},
979
+ total=False,
980
+ )
981
+ GithubReposListInvitationsForAuthenticatedUserOutput: TypeAlias = "list[OutputrepositoryInvitation]"
982
+ GithubReposListInvitationsInput = TypedDict(
983
+ "GithubReposListInvitationsInput",
984
+ {
985
+ "path": Required["GithubReposListInvitationsInputPath"],
986
+ "query": NotRequired["GithubReposListInvitationsInputQuery"],
987
+ },
988
+ total=False,
989
+ )
990
+ GithubReposListInvitationsInputPath = TypedDict(
991
+ "GithubReposListInvitationsInputPath",
992
+ {"owner": Required["str"], "repo": Required["str"]},
993
+ total=False,
994
+ )
995
+ GithubReposListInvitationsInputQuery = TypedDict(
996
+ "GithubReposListInvitationsInputQuery",
997
+ {"per_page": NotRequired["int"], "page": NotRequired["int"]},
998
+ total=False,
999
+ )
1000
+ GithubReposListInvitationsOutput: TypeAlias = "list[OutputrepositoryInvitation]"
1001
+ GithubReposListIssueTypesInput = TypedDict(
1002
+ "GithubReposListIssueTypesInput",
1003
+ {"path": Required["GithubReposListIssueTypesInputPath"]},
1004
+ total=False,
1005
+ )
1006
+ GithubReposListIssueTypesInputPath = TypedDict(
1007
+ "GithubReposListIssueTypesInputPath",
1008
+ {"owner": Required["str"], "repo": Required["str"]},
1009
+ total=False,
1010
+ )
1011
+ GithubReposListIssueTypesOutput: TypeAlias = "list[OutputissueType]"
1012
+ GithubReposListLanguagesInput = TypedDict(
1013
+ "GithubReposListLanguagesInput",
1014
+ {"path": Required["GithubReposListLanguagesInputPath"]},
1015
+ total=False,
1016
+ )
1017
+ GithubReposListLanguagesInputPath = TypedDict(
1018
+ "GithubReposListLanguagesInputPath",
1019
+ {"owner": Required["str"], "repo": Required["str"]},
1020
+ total=False,
1021
+ )
1022
+ GithubReposListLanguagesOutput: TypeAlias = "Outputlanguage"
1023
+ GithubReposListPagesBuildsInput = TypedDict(
1024
+ "GithubReposListPagesBuildsInput",
1025
+ {
1026
+ "path": Required["GithubReposListPagesBuildsInputPath"],
1027
+ "query": NotRequired["GithubReposListPagesBuildsInputQuery"],
1028
+ },
1029
+ total=False,
1030
+ )
1031
+ GithubReposListPagesBuildsInputPath = TypedDict(
1032
+ "GithubReposListPagesBuildsInputPath",
1033
+ {"owner": Required["str"], "repo": Required["str"]},
1034
+ total=False,
1035
+ )
1036
+ GithubReposListPagesBuildsInputQuery = TypedDict(
1037
+ "GithubReposListPagesBuildsInputQuery",
1038
+ {"per_page": NotRequired["int"], "page": NotRequired["int"]},
1039
+ total=False,
1040
+ )
1041
+ GithubReposListPagesBuildsOutput: TypeAlias = "list[OutputpageBuild]"
1042
+ GithubReposListPublicInput = TypedDict(
1043
+ "GithubReposListPublicInput",
1044
+ {"query": NotRequired["GithubReposListPublicInputQuery"]},
1045
+ total=False,
1046
+ )
1047
+ GithubReposListPublicInputQuery = TypedDict(
1048
+ "GithubReposListPublicInputQuery", {"since": NotRequired["int"]}, total=False
1049
+ )
1050
+ GithubReposListPublicOutput: TypeAlias = "list[OutputminimalRepository]"
1051
+ GithubReposListPullRequestsAssociatedWithCommitInput = TypedDict(
1052
+ "GithubReposListPullRequestsAssociatedWithCommitInput",
1053
+ {
1054
+ "path": Required["GithubReposListPullRequestsAssociatedWithCommitInputPath"],
1055
+ "query": NotRequired["GithubReposListPullRequestsAssociatedWithCommitInputQuery"],
1056
+ },
1057
+ total=False,
1058
+ )
1059
+ GithubReposListPullRequestsAssociatedWithCommitInputPath = TypedDict(
1060
+ "GithubReposListPullRequestsAssociatedWithCommitInputPath",
1061
+ {"owner": Required["str"], "repo": Required["str"], "commit_sha": Required["str"]},
1062
+ total=False,
1063
+ )
1064
+ GithubReposListPullRequestsAssociatedWithCommitInputQuery = TypedDict(
1065
+ "GithubReposListPullRequestsAssociatedWithCommitInputQuery",
1066
+ {"per_page": NotRequired["int"], "page": NotRequired["int"]},
1067
+ total=False,
1068
+ )
1069
+ GithubReposListPullRequestsAssociatedWithCommitOutput: TypeAlias = "list[OutputpullRequestSimple]"
1070
+ GithubReposListReleaseAssetsInput = TypedDict(
1071
+ "GithubReposListReleaseAssetsInput",
1072
+ {
1073
+ "path": Required["GithubReposListReleaseAssetsInputPath"],
1074
+ "query": NotRequired["GithubReposListReleaseAssetsInputQuery"],
1075
+ },
1076
+ total=False,
1077
+ )
1078
+ GithubReposListReleaseAssetsInputPath = TypedDict(
1079
+ "GithubReposListReleaseAssetsInputPath",
1080
+ {"owner": Required["str"], "repo": Required["str"], "release_id": Required["int"]},
1081
+ total=False,
1082
+ )
1083
+ GithubReposListReleaseAssetsInputQuery = TypedDict(
1084
+ "GithubReposListReleaseAssetsInputQuery",
1085
+ {"per_page": NotRequired["int"], "page": NotRequired["int"]},
1086
+ total=False,
1087
+ )
1088
+ GithubReposListReleaseAssetsOutput: TypeAlias = "list[OutputreleaseAsset]"
1089
+ GithubReposListReleasesInput = TypedDict(
1090
+ "GithubReposListReleasesInput",
1091
+ {
1092
+ "path": Required["GithubReposListReleasesInputPath"],
1093
+ "query": NotRequired["GithubReposListReleasesInputQuery"],
1094
+ },
1095
+ total=False,
1096
+ )
1097
+ GithubReposListReleasesInputPath = TypedDict(
1098
+ "GithubReposListReleasesInputPath",
1099
+ {"owner": Required["str"], "repo": Required["str"]},
1100
+ total=False,
1101
+ )
1102
+ GithubReposListReleasesInputQuery = TypedDict(
1103
+ "GithubReposListReleasesInputQuery",
1104
+ {"per_page": NotRequired["int"], "page": NotRequired["int"]},
1105
+ total=False,
1106
+ )
1107
+ GithubReposListReleasesOutput: TypeAlias = "list[Outputrelease]"
1108
+ GithubReposListTagsInput = TypedDict(
1109
+ "GithubReposListTagsInput",
1110
+ {
1111
+ "path": Required["GithubReposListTagsInputPath"],
1112
+ "query": NotRequired["GithubReposListTagsInputQuery"],
1113
+ },
1114
+ total=False,
1115
+ )
1116
+ GithubReposListTagsInputPath = TypedDict(
1117
+ "GithubReposListTagsInputPath", {"owner": Required["str"], "repo": Required["str"]}, total=False
1118
+ )
1119
+ GithubReposListTagsInputQuery = TypedDict(
1120
+ "GithubReposListTagsInputQuery",
1121
+ {"per_page": NotRequired["int"], "page": NotRequired["int"]},
1122
+ total=False,
1123
+ )
1124
+ GithubReposListTagsOutput: TypeAlias = "list[Outputtag]"
1125
+ GithubReposListTeamsInput = TypedDict(
1126
+ "GithubReposListTeamsInput",
1127
+ {
1128
+ "path": Required["GithubReposListTeamsInputPath"],
1129
+ "query": NotRequired["GithubReposListTeamsInputQuery"],
1130
+ },
1131
+ total=False,
1132
+ )
1133
+ GithubReposListTeamsInputPath = TypedDict(
1134
+ "GithubReposListTeamsInputPath",
1135
+ {"owner": Required["str"], "repo": Required["str"]},
1136
+ total=False,
1137
+ )
1138
+ GithubReposListTeamsInputQuery = TypedDict(
1139
+ "GithubReposListTeamsInputQuery",
1140
+ {"per_page": NotRequired["int"], "page": NotRequired["int"]},
1141
+ total=False,
1142
+ )
1143
+ GithubReposListTeamsOutput: TypeAlias = "list[Outputteam]"
1144
+ GithubReposListWebhookDeliveriesInput = TypedDict(
1145
+ "GithubReposListWebhookDeliveriesInput",
1146
+ {
1147
+ "path": Required["GithubReposListWebhookDeliveriesInputPath"],
1148
+ "query": NotRequired["GithubReposListWebhookDeliveriesInputQuery"],
1149
+ },
1150
+ total=False,
1151
+ )
1152
+ GithubReposListWebhookDeliveriesInputPath = TypedDict(
1153
+ "GithubReposListWebhookDeliveriesInputPath",
1154
+ {"owner": Required["str"], "repo": Required["str"], "hook_id": Required["int"]},
1155
+ total=False,
1156
+ )
1157
+ GithubReposListWebhookDeliveriesInputQuery = TypedDict(
1158
+ "GithubReposListWebhookDeliveriesInputQuery",
1159
+ {
1160
+ "per_page": NotRequired["int"],
1161
+ "cursor": NotRequired["str"],
1162
+ "status": NotRequired["Literal['success', 'failure']"],
1163
+ },
1164
+ total=False,
1165
+ )
1166
+ GithubReposListWebhookDeliveriesOutput: TypeAlias = "list[OutputhookDeliveryItem]"
1167
+ GithubReposListWebhooksInput = TypedDict(
1168
+ "GithubReposListWebhooksInput",
1169
+ {
1170
+ "path": Required["GithubReposListWebhooksInputPath"],
1171
+ "query": NotRequired["GithubReposListWebhooksInputQuery"],
1172
+ },
1173
+ total=False,
1174
+ )
1175
+ GithubReposListWebhooksInputPath = TypedDict(
1176
+ "GithubReposListWebhooksInputPath",
1177
+ {"owner": Required["str"], "repo": Required["str"]},
1178
+ total=False,
1179
+ )
1180
+ GithubReposListWebhooksInputQuery = TypedDict(
1181
+ "GithubReposListWebhooksInputQuery",
1182
+ {"per_page": NotRequired["int"], "page": NotRequired["int"]},
1183
+ total=False,
1184
+ )
1185
+ GithubReposListWebhooksOutput: TypeAlias = "list[Outputhook]"
1186
+ GithubReposMergeInput = TypedDict(
1187
+ "GithubReposMergeInput",
1188
+ {"path": Required["GithubReposMergeInputPath"], "body": Required["GithubReposMergeInputBody"]},
1189
+ total=False,
1190
+ )
1191
+ GithubReposMergeInputBody = TypedDict(
1192
+ "GithubReposMergeInputBody",
1193
+ {"base": Required["str"], "commit_message": NotRequired["str"], "head": Required["str"]},
1194
+ total=False,
1195
+ )
1196
+ GithubReposMergeInputPath = TypedDict(
1197
+ "GithubReposMergeInputPath", {"owner": Required["str"], "repo": Required["str"]}, total=False
1198
+ )
1199
+ GithubReposMergeOutput: TypeAlias = "Outputcommit | None"
1200
+ GithubReposMergeUpstreamInput = TypedDict(
1201
+ "GithubReposMergeUpstreamInput",
1202
+ {
1203
+ "path": Required["GithubReposMergeUpstreamInputPath"],
1204
+ "body": Required["GithubReposMergeUpstreamInputBody"],
1205
+ },
1206
+ total=False,
1207
+ )
1208
+ GithubReposMergeUpstreamInputBody = TypedDict(
1209
+ "GithubReposMergeUpstreamInputBody", {"branch": Required["str"]}, total=False
1210
+ )
1211
+ GithubReposMergeUpstreamInputPath = TypedDict(
1212
+ "GithubReposMergeUpstreamInputPath",
1213
+ {"owner": Required["str"], "repo": Required["str"]},
1214
+ total=False,
1215
+ )
1216
+ GithubReposMergeUpstreamOutput: TypeAlias = "OutputmergedUpstream"
1217
+ GithubReposPingWebhookInput = TypedDict(
1218
+ "GithubReposPingWebhookInput",
1219
+ {"path": Required["GithubReposPingWebhookInputPath"]},
1220
+ total=False,
1221
+ )
1222
+ GithubReposPingWebhookInputPath = TypedDict(
1223
+ "GithubReposPingWebhookInputPath",
1224
+ {"owner": Required["str"], "repo": Required["str"], "hook_id": Required["int"]},
1225
+ total=False,
1226
+ )
1227
+ GithubReposPingWebhookOutput: TypeAlias = "None"
1228
+ GithubReposRedeliverWebhookDeliveryInput = TypedDict(
1229
+ "GithubReposRedeliverWebhookDeliveryInput",
1230
+ {"path": Required["GithubReposRedeliverWebhookDeliveryInputPath"]},
1231
+ total=False,
1232
+ )
1233
+ GithubReposRedeliverWebhookDeliveryInputPath = TypedDict(
1234
+ "GithubReposRedeliverWebhookDeliveryInputPath",
1235
+ {
1236
+ "owner": Required["str"],
1237
+ "repo": Required["str"],
1238
+ "hook_id": Required["int"],
1239
+ "delivery_id": Required["int"],
1240
+ },
1241
+ total=False,
1242
+ )
1243
+ GithubReposRedeliverWebhookDeliveryOutput: TypeAlias = "dict[str, object]"
1244
+ GithubReposRemoveAppAccessRestrictionsInput = TypedDict(
1245
+ "GithubReposRemoveAppAccessRestrictionsInput",
1246
+ {
1247
+ "path": Required["GithubReposRemoveAppAccessRestrictionsInputPath"],
1248
+ "body": Required["GithubReposRemoveAppAccessRestrictionsInputBody"],
1249
+ },
1250
+ total=False,
1251
+ )
1252
+ GithubReposRemoveAppAccessRestrictionsInputBody = TypedDict(
1253
+ "GithubReposRemoveAppAccessRestrictionsInputBody", {"apps": Required["list[str]"]}, total=False
1254
+ )
1255
+ GithubReposRemoveAppAccessRestrictionsInputPath = TypedDict(
1256
+ "GithubReposRemoveAppAccessRestrictionsInputPath",
1257
+ {"owner": Required["str"], "repo": Required["str"], "branch": Required["str"]},
1258
+ total=False,
1259
+ )
1260
+ GithubReposRemoveAppAccessRestrictionsOutput: TypeAlias = "list[Outputintegration]"
1261
+ GithubReposRemoveCollaboratorInput = TypedDict(
1262
+ "GithubReposRemoveCollaboratorInput",
1263
+ {"path": Required["GithubReposRemoveCollaboratorInputPath"]},
1264
+ total=False,
1265
+ )
1266
+ GithubReposRemoveCollaboratorInputPath = TypedDict(
1267
+ "GithubReposRemoveCollaboratorInputPath",
1268
+ {"owner": Required["str"], "repo": Required["str"], "username": Required["str"]},
1269
+ total=False,
1270
+ )
1271
+ GithubReposRemoveCollaboratorOutput: TypeAlias = "None"
1272
+ GithubReposRemoveStatusCheckContextsInput = TypedDict(
1273
+ "GithubReposRemoveStatusCheckContextsInput",
1274
+ {
1275
+ "path": Required["GithubReposRemoveStatusCheckContextsInputPath"],
1276
+ "body": NotRequired["GithubReposRemoveStatusCheckContextsInputBodyVariant0 | list[str]"],
1277
+ },
1278
+ total=False,
1279
+ )
1280
+ GithubReposRemoveStatusCheckContextsInputBodyVariant0 = TypedDict(
1281
+ "GithubReposRemoveStatusCheckContextsInputBodyVariant0",
1282
+ {"contexts": Required["list[str]"]},
1283
+ total=False,
1284
+ )
1285
+ GithubReposRemoveStatusCheckContextsInputPath = TypedDict(
1286
+ "GithubReposRemoveStatusCheckContextsInputPath",
1287
+ {"owner": Required["str"], "repo": Required["str"], "branch": Required["str"]},
1288
+ total=False,
1289
+ )
1290
+ GithubReposRemoveStatusCheckContextsOutput: TypeAlias = "list[str]"
1291
+ GithubReposRemoveStatusCheckProtectionInput = TypedDict(
1292
+ "GithubReposRemoveStatusCheckProtectionInput",
1293
+ {"path": Required["GithubReposRemoveStatusCheckProtectionInputPath"]},
1294
+ total=False,
1295
+ )
1296
+ GithubReposRemoveStatusCheckProtectionInputPath = TypedDict(
1297
+ "GithubReposRemoveStatusCheckProtectionInputPath",
1298
+ {"owner": Required["str"], "repo": Required["str"], "branch": Required["str"]},
1299
+ total=False,
1300
+ )
1301
+ GithubReposRemoveStatusCheckProtectionOutput: TypeAlias = "None"
1302
+ GithubReposRemoveTeamAccessRestrictionsInput = TypedDict(
1303
+ "GithubReposRemoveTeamAccessRestrictionsInput",
1304
+ {
1305
+ "path": Required["GithubReposRemoveTeamAccessRestrictionsInputPath"],
1306
+ "body": NotRequired["GithubReposRemoveTeamAccessRestrictionsInputBodyVariant0 | list[str]"],
1307
+ },
1308
+ total=False,
1309
+ )
1310
+ GithubReposRemoveTeamAccessRestrictionsInputBodyVariant0 = TypedDict(
1311
+ "GithubReposRemoveTeamAccessRestrictionsInputBodyVariant0",
1312
+ {"teams": Required["list[str]"]},
1313
+ total=False,
1314
+ )
1315
+ GithubReposRemoveTeamAccessRestrictionsInputPath = TypedDict(
1316
+ "GithubReposRemoveTeamAccessRestrictionsInputPath",
1317
+ {"owner": Required["str"], "repo": Required["str"], "branch": Required["str"]},
1318
+ total=False,
1319
+ )
1320
+ GithubReposRemoveTeamAccessRestrictionsOutput: TypeAlias = "list[Outputteam]"
1321
+ GithubReposRemoveUserAccessRestrictionsInput = TypedDict(
1322
+ "GithubReposRemoveUserAccessRestrictionsInput",
1323
+ {
1324
+ "path": Required["GithubReposRemoveUserAccessRestrictionsInputPath"],
1325
+ "body": Required["GithubReposRemoveUserAccessRestrictionsInputBody"],
1326
+ },
1327
+ total=False,
1328
+ )
1329
+ GithubReposRemoveUserAccessRestrictionsInputBody = TypedDict(
1330
+ "GithubReposRemoveUserAccessRestrictionsInputBody",
1331
+ {"users": Required["list[str]"]},
1332
+ total=False,
1333
+ )
1334
+ GithubReposRemoveUserAccessRestrictionsInputPath = TypedDict(
1335
+ "GithubReposRemoveUserAccessRestrictionsInputPath",
1336
+ {"owner": Required["str"], "repo": Required["str"], "branch": Required["str"]},
1337
+ total=False,
1338
+ )
1339
+ GithubReposRemoveUserAccessRestrictionsOutput: TypeAlias = "list[OutputsimpleUser]"
1340
+ GithubReposRenameBranchInput = TypedDict(
1341
+ "GithubReposRenameBranchInput",
1342
+ {
1343
+ "path": Required["GithubReposRenameBranchInputPath"],
1344
+ "body": Required["GithubReposRenameBranchInputBody"],
1345
+ },
1346
+ total=False,
1347
+ )
1348
+ GithubReposRenameBranchInputBody = TypedDict(
1349
+ "GithubReposRenameBranchInputBody", {"new_name": Required["str"]}, total=False
1350
+ )
1351
+ GithubReposRenameBranchInputPath = TypedDict(
1352
+ "GithubReposRenameBranchInputPath",
1353
+ {"owner": Required["str"], "repo": Required["str"], "branch": Required["str"]},
1354
+ total=False,
1355
+ )
1356
+ GithubReposRenameBranchOutput: TypeAlias = "OutputbranchWithProtection"
1357
+ GithubReposReplaceAllTopicsInput = TypedDict(
1358
+ "GithubReposReplaceAllTopicsInput",
1359
+ {
1360
+ "path": Required["GithubReposReplaceAllTopicsInputPath"],
1361
+ "body": Required["GithubReposReplaceAllTopicsInputBody"],
1362
+ },
1363
+ total=False,
1364
+ )
1365
+ GithubReposReplaceAllTopicsInputBody = TypedDict(
1366
+ "GithubReposReplaceAllTopicsInputBody", {"names": Required["list[str]"]}, total=False
1367
+ )
1368
+ GithubReposReplaceAllTopicsInputPath = TypedDict(
1369
+ "GithubReposReplaceAllTopicsInputPath",
1370
+ {"owner": Required["str"], "repo": Required["str"]},
1371
+ total=False,
1372
+ )
1373
+ GithubReposReplaceAllTopicsOutput: TypeAlias = "Outputtopic"
1374
+ GithubReposRequestPagesBuildInput = TypedDict(
1375
+ "GithubReposRequestPagesBuildInput",
1376
+ {"path": Required["GithubReposRequestPagesBuildInputPath"]},
1377
+ total=False,
1378
+ )
1379
+ GithubReposRequestPagesBuildInputPath = TypedDict(
1380
+ "GithubReposRequestPagesBuildInputPath",
1381
+ {"owner": Required["str"], "repo": Required["str"]},
1382
+ total=False,
1383
+ )
1384
+ GithubReposRequestPagesBuildOutput: TypeAlias = "OutputpageBuildStatus"
1385
+ GithubReposSetAdminBranchProtectionInput = TypedDict(
1386
+ "GithubReposSetAdminBranchProtectionInput",
1387
+ {"path": Required["GithubReposSetAdminBranchProtectionInputPath"]},
1388
+ total=False,
1389
+ )
1390
+ GithubReposSetAdminBranchProtectionInputPath = TypedDict(
1391
+ "GithubReposSetAdminBranchProtectionInputPath",
1392
+ {"owner": Required["str"], "repo": Required["str"], "branch": Required["str"]},
1393
+ total=False,
1394
+ )
1395
+ GithubReposSetAdminBranchProtectionOutput: TypeAlias = "OutputprotectedBranchAdminEnforced"
1396
+ GithubReposSetAppAccessRestrictionsInput = TypedDict(
1397
+ "GithubReposSetAppAccessRestrictionsInput",
1398
+ {
1399
+ "path": Required["GithubReposSetAppAccessRestrictionsInputPath"],
1400
+ "body": Required["GithubReposSetAppAccessRestrictionsInputBody"],
1401
+ },
1402
+ total=False,
1403
+ )
1404
+ GithubReposSetAppAccessRestrictionsInputBody = TypedDict(
1405
+ "GithubReposSetAppAccessRestrictionsInputBody", {"apps": Required["list[str]"]}, total=False
1406
+ )
1407
+ GithubReposSetAppAccessRestrictionsInputPath = TypedDict(
1408
+ "GithubReposSetAppAccessRestrictionsInputPath",
1409
+ {"owner": Required["str"], "repo": Required["str"], "branch": Required["str"]},
1410
+ total=False,
1411
+ )
1412
+ GithubReposSetAppAccessRestrictionsOutput: TypeAlias = "list[Outputintegration]"
1413
+ GithubReposSetStatusCheckContextsInput = TypedDict(
1414
+ "GithubReposSetStatusCheckContextsInput",
1415
+ {
1416
+ "path": Required["GithubReposSetStatusCheckContextsInputPath"],
1417
+ "body": NotRequired["GithubReposSetStatusCheckContextsInputBodyVariant0 | list[str]"],
1418
+ },
1419
+ total=False,
1420
+ )
1421
+ GithubReposSetStatusCheckContextsInputBodyVariant0 = TypedDict(
1422
+ "GithubReposSetStatusCheckContextsInputBodyVariant0",
1423
+ {"contexts": Required["list[str]"]},
1424
+ total=False,
1425
+ )
1426
+ GithubReposSetStatusCheckContextsInputPath = TypedDict(
1427
+ "GithubReposSetStatusCheckContextsInputPath",
1428
+ {"owner": Required["str"], "repo": Required["str"], "branch": Required["str"]},
1429
+ total=False,
1430
+ )
1431
+ GithubReposSetStatusCheckContextsOutput: TypeAlias = "list[str]"
1432
+ GithubReposSetTeamAccessRestrictionsInput = TypedDict(
1433
+ "GithubReposSetTeamAccessRestrictionsInput",
1434
+ {
1435
+ "path": Required["GithubReposSetTeamAccessRestrictionsInputPath"],
1436
+ "body": NotRequired["GithubReposSetTeamAccessRestrictionsInputBodyVariant0 | list[str]"],
1437
+ },
1438
+ total=False,
1439
+ )
1440
+ GithubReposSetTeamAccessRestrictionsInputBodyVariant0 = TypedDict(
1441
+ "GithubReposSetTeamAccessRestrictionsInputBodyVariant0",
1442
+ {"teams": Required["list[str]"]},
1443
+ total=False,
1444
+ )
1445
+ GithubReposSetTeamAccessRestrictionsInputPath = TypedDict(
1446
+ "GithubReposSetTeamAccessRestrictionsInputPath",
1447
+ {"owner": Required["str"], "repo": Required["str"], "branch": Required["str"]},
1448
+ total=False,
1449
+ )
1450
+ GithubReposSetTeamAccessRestrictionsOutput: TypeAlias = "list[Outputteam]"
1451
+ GithubReposSetUserAccessRestrictionsInput = TypedDict(
1452
+ "GithubReposSetUserAccessRestrictionsInput",
1453
+ {
1454
+ "path": Required["GithubReposSetUserAccessRestrictionsInputPath"],
1455
+ "body": Required["GithubReposSetUserAccessRestrictionsInputBody"],
1456
+ },
1457
+ total=False,
1458
+ )
1459
+ GithubReposSetUserAccessRestrictionsInputBody = TypedDict(
1460
+ "GithubReposSetUserAccessRestrictionsInputBody", {"users": Required["list[str]"]}, total=False
1461
+ )
1462
+ GithubReposSetUserAccessRestrictionsInputPath = TypedDict(
1463
+ "GithubReposSetUserAccessRestrictionsInputPath",
1464
+ {"owner": Required["str"], "repo": Required["str"], "branch": Required["str"]},
1465
+ total=False,
1466
+ )
1467
+ GithubReposSetUserAccessRestrictionsOutput: TypeAlias = "list[OutputsimpleUser]"
1468
+ GithubReposTestPushWebhookInput = TypedDict(
1469
+ "GithubReposTestPushWebhookInput",
1470
+ {"path": Required["GithubReposTestPushWebhookInputPath"]},
1471
+ total=False,
1472
+ )
1473
+ GithubReposTestPushWebhookInputPath = TypedDict(
1474
+ "GithubReposTestPushWebhookInputPath",
1475
+ {"owner": Required["str"], "repo": Required["str"], "hook_id": Required["int"]},
1476
+ total=False,
1477
+ )
1478
+ GithubReposTestPushWebhookOutput: TypeAlias = "None"
1479
+ GithubReposTransferInput = TypedDict(
1480
+ "GithubReposTransferInput",
1481
+ {
1482
+ "path": Required["GithubReposTransferInputPath"],
1483
+ "body": Required["GithubReposTransferInputBody"],
1484
+ },
1485
+ total=False,
1486
+ )
1487
+ GithubReposTransferInputBody = TypedDict(
1488
+ "GithubReposTransferInputBody",
1489
+ {
1490
+ "new_name": NotRequired["str"],
1491
+ "new_owner": Required["str"],
1492
+ "team_ids": NotRequired["list[int]"],
1493
+ },
1494
+ total=False,
1495
+ )
1496
+ GithubReposTransferInputPath = TypedDict(
1497
+ "GithubReposTransferInputPath", {"owner": Required["str"], "repo": Required["str"]}, total=False
1498
+ )
1499
+ GithubReposTransferOutput: TypeAlias = "OutputminimalRepository"
1500
+ GithubReposUpdateBranchProtectionInput = TypedDict(
1501
+ "GithubReposUpdateBranchProtectionInput",
1502
+ {
1503
+ "path": Required["GithubReposUpdateBranchProtectionInputPath"],
1504
+ "body": Required["GithubReposUpdateBranchProtectionInputBody"],
1505
+ },
1506
+ total=False,
1507
+ )
1508
+ GithubReposUpdateBranchProtectionInputBody = TypedDict(
1509
+ "GithubReposUpdateBranchProtectionInputBody",
1510
+ {
1511
+ "allow_deletions": NotRequired["bool"],
1512
+ "allow_force_pushes": NotRequired["bool | None"],
1513
+ "allow_fork_syncing": NotRequired["bool"],
1514
+ "block_creations": NotRequired["bool"],
1515
+ "enforce_admins": Required["bool | None"],
1516
+ "lock_branch": NotRequired["bool"],
1517
+ "required_conversation_resolution": NotRequired["bool"],
1518
+ "required_linear_history": NotRequired["bool"],
1519
+ "required_pull_request_reviews": Required[
1520
+ "GithubReposUpdateBranchProtectionInputBodyRequiredPullRequestReviewsVariant0 | None"
1521
+ ],
1522
+ "required_status_checks": Required[
1523
+ "GithubReposUpdateBranchProtectionInputBodyRequiredStatusChecksVariant0 | None"
1524
+ ],
1525
+ "restrictions": Required[
1526
+ "GithubReposUpdateBranchProtectionInputBodyRestrictionsVariant0 | None"
1527
+ ],
1528
+ },
1529
+ total=False,
1530
+ )
1531
+ GithubReposUpdateBranchProtectionInputBodyRequiredPullRequestReviewsVariant0 = TypedDict(
1532
+ "GithubReposUpdateBranchProtectionInputBodyRequiredPullRequestReviewsVariant0",
1533
+ {
1534
+ "bypass_pull_request_allowances": NotRequired[
1535
+ "GithubReposUpdateBranchProtectionInputBodyRequiredPullRequestReviewsVariant0BypassPullRequestAllowances"
1536
+ ],
1537
+ "dismiss_stale_reviews": NotRequired["bool"],
1538
+ "dismissal_restrictions": NotRequired[
1539
+ "GithubReposUpdateBranchProtectionInputBodyRequiredPullRequestReviewsVariant0DismissalRestrictions"
1540
+ ],
1541
+ "require_code_owner_reviews": NotRequired["bool"],
1542
+ "require_last_push_approval": NotRequired["bool"],
1543
+ "required_approving_review_count": NotRequired["int"],
1544
+ },
1545
+ total=False,
1546
+ )
1547
+ GithubReposUpdateBranchProtectionInputBodyRequiredPullRequestReviewsVariant0BypassPullRequestAllowances = TypedDict(
1548
+ "GithubReposUpdateBranchProtectionInputBodyRequiredPullRequestReviewsVariant0BypassPullRequestAllowances",
1549
+ {
1550
+ "apps": NotRequired["list[str]"],
1551
+ "teams": NotRequired["list[str]"],
1552
+ "users": NotRequired["list[str]"],
1553
+ },
1554
+ total=False,
1555
+ )
1556
+ GithubReposUpdateBranchProtectionInputBodyRequiredPullRequestReviewsVariant0DismissalRestrictions = TypedDict(
1557
+ "GithubReposUpdateBranchProtectionInputBodyRequiredPullRequestReviewsVariant0DismissalRestrictions",
1558
+ {
1559
+ "apps": NotRequired["list[str]"],
1560
+ "teams": NotRequired["list[str]"],
1561
+ "users": NotRequired["list[str]"],
1562
+ },
1563
+ total=False,
1564
+ )
1565
+ GithubReposUpdateBranchProtectionInputBodyRequiredStatusChecksVariant0 = TypedDict(
1566
+ "GithubReposUpdateBranchProtectionInputBodyRequiredStatusChecksVariant0",
1567
+ {
1568
+ "checks": NotRequired[
1569
+ "list[GithubReposUpdateBranchProtectionInputBodyRequiredStatusChecksVariant0ChecksItem]"
1570
+ ],
1571
+ "contexts": Required["list[str]"],
1572
+ "strict": Required["bool"],
1573
+ },
1574
+ total=False,
1575
+ )
1576
+ GithubReposUpdateBranchProtectionInputBodyRequiredStatusChecksVariant0ChecksItem = TypedDict(
1577
+ "GithubReposUpdateBranchProtectionInputBodyRequiredStatusChecksVariant0ChecksItem",
1578
+ {"app_id": NotRequired["int"], "context": Required["str"]},
1579
+ total=False,
1580
+ )
1581
+ GithubReposUpdateBranchProtectionInputBodyRestrictionsVariant0 = TypedDict(
1582
+ "GithubReposUpdateBranchProtectionInputBodyRestrictionsVariant0",
1583
+ {
1584
+ "apps": NotRequired["list[str]"],
1585
+ "teams": Required["list[str]"],
1586
+ "users": Required["list[str]"],
1587
+ },
1588
+ total=False,
1589
+ )
1590
+ GithubReposUpdateBranchProtectionInputPath = TypedDict(
1591
+ "GithubReposUpdateBranchProtectionInputPath",
1592
+ {"owner": Required["str"], "repo": Required["str"], "branch": Required["str"]},
1593
+ total=False,
1594
+ )
1595
+ GithubReposUpdateBranchProtectionOutput: TypeAlias = "OutputprotectedBranch"
1596
+ GithubReposUpdateCommitCommentInput = TypedDict(
1597
+ "GithubReposUpdateCommitCommentInput",
1598
+ {
1599
+ "path": Required["GithubReposUpdateCommitCommentInputPath"],
1600
+ "body": Required["GithubReposUpdateCommitCommentInputBody"],
1601
+ },
1602
+ total=False,
1603
+ )
1604
+ GithubReposUpdateCommitCommentInputBody = TypedDict(
1605
+ "GithubReposUpdateCommitCommentInputBody", {"body": Required["str"]}, total=False
1606
+ )
1607
+ GithubReposUpdateCommitCommentInputPath = TypedDict(
1608
+ "GithubReposUpdateCommitCommentInputPath",
1609
+ {"owner": Required["str"], "repo": Required["str"], "comment_id": Required["int"]},
1610
+ total=False,
1611
+ )
1612
+ GithubReposUpdateCommitCommentOutput: TypeAlias = "OutputcommitComment"
1613
+ GithubReposUpdateDeploymentBranchPolicyInput = TypedDict(
1614
+ "GithubReposUpdateDeploymentBranchPolicyInput",
1615
+ {
1616
+ "path": Required["GithubReposUpdateDeploymentBranchPolicyInputPath"],
1617
+ "body": Required["DeploymentBranchPolicyNamePattern"],
1618
+ },
1619
+ total=False,
1620
+ )
1621
+ GithubReposUpdateDeploymentBranchPolicyInputPath = TypedDict(
1622
+ "GithubReposUpdateDeploymentBranchPolicyInputPath",
1623
+ {
1624
+ "owner": Required["str"],
1625
+ "repo": Required["str"],
1626
+ "environment_name": Required["str"],
1627
+ "branch_policy_id": Required["int"],
1628
+ },
1629
+ total=False,
1630
+ )
1631
+ GithubReposUpdateDeploymentBranchPolicyOutput: TypeAlias = "OutputdeploymentBranchPolicy"
1632
+ GithubReposUpdateInformationAboutPagesSiteInput = TypedDict(
1633
+ "GithubReposUpdateInformationAboutPagesSiteInput",
1634
+ {
1635
+ "path": Required["GithubReposUpdateInformationAboutPagesSiteInputPath"],
1636
+ "body": Required[
1637
+ "GithubReposUpdateInformationAboutPagesSiteInputBodyVariant0 | GithubReposUpdateInformationAboutPagesSiteInputBodyVariant1 | GithubReposUpdateInformationAboutPagesSiteInputBodyVariant2 | GithubReposUpdateInformationAboutPagesSiteInputBodyVariant3 | GithubReposUpdateInformationAboutPagesSiteInputBodyVariant4"
1638
+ ],
1639
+ },
1640
+ total=False,
1641
+ )
1642
+ GithubReposUpdateInformationAboutPagesSiteInputBodyVariant0 = TypedDict(
1643
+ "GithubReposUpdateInformationAboutPagesSiteInputBodyVariant0",
1644
+ {
1645
+ "build_type": Required["Literal['legacy', 'workflow']"],
1646
+ "cname": NotRequired["str | None"],
1647
+ "https_enforced": NotRequired["bool"],
1648
+ "source": NotRequired[
1649
+ "Literal['gh-pages', 'master', 'master /docs'] | GithubReposUpdateInformationAboutPagesSiteInputBodyVariant0SourceVariant1"
1650
+ ],
1651
+ },
1652
+ total=False,
1653
+ )
1654
+ GithubReposUpdateInformationAboutPagesSiteInputBodyVariant0SourceVariant1 = TypedDict(
1655
+ "GithubReposUpdateInformationAboutPagesSiteInputBodyVariant0SourceVariant1",
1656
+ {"branch": Required["str"], "path": Required["Literal['/', '/docs']"]},
1657
+ total=False,
1658
+ )
1659
+ GithubReposUpdateInformationAboutPagesSiteInputBodyVariant1 = TypedDict(
1660
+ "GithubReposUpdateInformationAboutPagesSiteInputBodyVariant1",
1661
+ {
1662
+ "build_type": NotRequired["Literal['legacy', 'workflow']"],
1663
+ "cname": NotRequired["str | None"],
1664
+ "https_enforced": NotRequired["bool"],
1665
+ "source": Required[
1666
+ "Literal['gh-pages', 'master', 'master /docs'] | GithubReposUpdateInformationAboutPagesSiteInputBodyVariant1SourceVariant1"
1667
+ ],
1668
+ },
1669
+ total=False,
1670
+ )
1671
+ GithubReposUpdateInformationAboutPagesSiteInputBodyVariant1SourceVariant1 = TypedDict(
1672
+ "GithubReposUpdateInformationAboutPagesSiteInputBodyVariant1SourceVariant1",
1673
+ {"branch": Required["str"], "path": Required["Literal['/', '/docs']"]},
1674
+ total=False,
1675
+ )
1676
+ GithubReposUpdateInformationAboutPagesSiteInputBodyVariant2 = TypedDict(
1677
+ "GithubReposUpdateInformationAboutPagesSiteInputBodyVariant2",
1678
+ {
1679
+ "build_type": NotRequired["Literal['legacy', 'workflow']"],
1680
+ "cname": Required["str | None"],
1681
+ "https_enforced": NotRequired["bool"],
1682
+ "source": NotRequired[
1683
+ "Literal['gh-pages', 'master', 'master /docs'] | GithubReposUpdateInformationAboutPagesSiteInputBodyVariant2SourceVariant1"
1684
+ ],
1685
+ },
1686
+ total=False,
1687
+ )
1688
+ GithubReposUpdateInformationAboutPagesSiteInputBodyVariant2SourceVariant1 = TypedDict(
1689
+ "GithubReposUpdateInformationAboutPagesSiteInputBodyVariant2SourceVariant1",
1690
+ {"branch": Required["str"], "path": Required["Literal['/', '/docs']"]},
1691
+ total=False,
1692
+ )
1693
+ GithubReposUpdateInformationAboutPagesSiteInputBodyVariant3 = TypedDict(
1694
+ "GithubReposUpdateInformationAboutPagesSiteInputBodyVariant3",
1695
+ {
1696
+ "build_type": NotRequired["Literal['legacy', 'workflow']"],
1697
+ "cname": NotRequired["str | None"],
1698
+ "https_enforced": NotRequired["bool"],
1699
+ "source": NotRequired[
1700
+ "Literal['gh-pages', 'master', 'master /docs'] | GithubReposUpdateInformationAboutPagesSiteInputBodyVariant3SourceVariant1"
1701
+ ],
1702
+ },
1703
+ total=False,
1704
+ )
1705
+ GithubReposUpdateInformationAboutPagesSiteInputBodyVariant3SourceVariant1 = TypedDict(
1706
+ "GithubReposUpdateInformationAboutPagesSiteInputBodyVariant3SourceVariant1",
1707
+ {"branch": Required["str"], "path": Required["Literal['/', '/docs']"]},
1708
+ total=False,
1709
+ )
1710
+ GithubReposUpdateInformationAboutPagesSiteInputBodyVariant4 = TypedDict(
1711
+ "GithubReposUpdateInformationAboutPagesSiteInputBodyVariant4",
1712
+ {
1713
+ "build_type": NotRequired["Literal['legacy', 'workflow']"],
1714
+ "cname": NotRequired["str | None"],
1715
+ "https_enforced": Required["bool"],
1716
+ "source": NotRequired[
1717
+ "Literal['gh-pages', 'master', 'master /docs'] | GithubReposUpdateInformationAboutPagesSiteInputBodyVariant4SourceVariant1"
1718
+ ],
1719
+ },
1720
+ total=False,
1721
+ )
1722
+ GithubReposUpdateInformationAboutPagesSiteInputBodyVariant4SourceVariant1 = TypedDict(
1723
+ "GithubReposUpdateInformationAboutPagesSiteInputBodyVariant4SourceVariant1",
1724
+ {"branch": Required["str"], "path": Required["Literal['/', '/docs']"]},
1725
+ total=False,
1726
+ )
1727
+ GithubReposUpdateInformationAboutPagesSiteInputPath = TypedDict(
1728
+ "GithubReposUpdateInformationAboutPagesSiteInputPath",
1729
+ {"owner": Required["str"], "repo": Required["str"]},
1730
+ total=False,
1731
+ )
1732
+ GithubReposUpdateInformationAboutPagesSiteOutput: TypeAlias = "None"
1733
+ GithubReposUpdateInput = TypedDict(
1734
+ "GithubReposUpdateInput",
1735
+ {
1736
+ "path": Required["GithubReposUpdateInputPath"],
1737
+ "body": NotRequired["GithubReposUpdateInputBody"],
1738
+ },
1739
+ total=False,
1740
+ )
1741
+ GithubReposUpdateInputBody = TypedDict(
1742
+ "GithubReposUpdateInputBody",
1743
+ {
1744
+ "allow_auto_merge": NotRequired["bool"],
1745
+ "allow_forking": NotRequired["bool"],
1746
+ "allow_merge_commit": NotRequired["bool"],
1747
+ "allow_rebase_merge": NotRequired["bool"],
1748
+ "allow_squash_merge": NotRequired["bool"],
1749
+ "allow_update_branch": NotRequired["bool"],
1750
+ "archived": NotRequired["bool"],
1751
+ "default_branch": NotRequired["str"],
1752
+ "delete_branch_on_merge": NotRequired["bool"],
1753
+ "description": NotRequired["str"],
1754
+ "has_issues": NotRequired["bool"],
1755
+ "has_projects": NotRequired["bool"],
1756
+ "has_pull_requests": NotRequired["bool"],
1757
+ "has_wiki": NotRequired["bool"],
1758
+ "homepage": NotRequired["str"],
1759
+ "is_template": NotRequired["bool"],
1760
+ "merge_commit_message": NotRequired["Literal['PR_BODY', 'PR_TITLE', 'BLANK']"],
1761
+ "merge_commit_title": NotRequired["Literal['PR_TITLE', 'MERGE_MESSAGE']"],
1762
+ "name": NotRequired["str"],
1763
+ "private": NotRequired["bool"],
1764
+ "pull_request_creation_policy": NotRequired["Literal['all', 'collaborators_only']"],
1765
+ "security_and_analysis": NotRequired[
1766
+ "GithubReposUpdateInputBodySecurityAndAnalysisVariant0 | None"
1767
+ ],
1768
+ "squash_merge_commit_message": NotRequired[
1769
+ "Literal['PR_BODY', 'COMMIT_MESSAGES', 'BLANK']"
1770
+ ],
1771
+ "squash_merge_commit_title": NotRequired["Literal['PR_TITLE', 'COMMIT_OR_PR_TITLE']"],
1772
+ "use_squash_pr_title_as_default": NotRequired["bool"],
1773
+ "visibility": NotRequired["Literal['public', 'private']"],
1774
+ "web_commit_signoff_required": NotRequired["bool"],
1775
+ },
1776
+ total=False,
1777
+ )
1778
+ GithubReposUpdateInputBodySecurityAndAnalysisVariant0 = TypedDict(
1779
+ "GithubReposUpdateInputBodySecurityAndAnalysisVariant0",
1780
+ {
1781
+ "advanced_security": NotRequired[
1782
+ "GithubReposUpdateInputBodySecurityAndAnalysisVariant0AdvancedSecurity"
1783
+ ],
1784
+ "code_security": NotRequired[
1785
+ "GithubReposUpdateInputBodySecurityAndAnalysisVariant0CodeSecurity"
1786
+ ],
1787
+ "secret_scanning": NotRequired[
1788
+ "GithubReposUpdateInputBodySecurityAndAnalysisVariant0SecretScanning"
1789
+ ],
1790
+ "secret_scanning_ai_detection": NotRequired[
1791
+ "GithubReposUpdateInputBodySecurityAndAnalysisVariant0SecretScanningAiDetection"
1792
+ ],
1793
+ "secret_scanning_delegated_alert_dismissal": NotRequired[
1794
+ "GithubReposUpdateInputBodySecurityAndAnalysisVariant0SecretScanningDelegatedAlertDismissal"
1795
+ ],
1796
+ "secret_scanning_delegated_bypass": NotRequired[
1797
+ "GithubReposUpdateInputBodySecurityAndAnalysisVariant0SecretScanningDelegatedBypass"
1798
+ ],
1799
+ "secret_scanning_delegated_bypass_options": NotRequired[
1800
+ "GithubReposUpdateInputBodySecurityAndAnalysisVariant0SecretScanningDelegatedBypassOptions"
1801
+ ],
1802
+ "secret_scanning_non_provider_patterns": NotRequired[
1803
+ "GithubReposUpdateInputBodySecurityAndAnalysisVariant0SecretScanningNonProviderPatterns"
1804
+ ],
1805
+ "secret_scanning_push_protection": NotRequired[
1806
+ "GithubReposUpdateInputBodySecurityAndAnalysisVariant0SecretScanningPushProtection"
1807
+ ],
1808
+ },
1809
+ total=False,
1810
+ )
1811
+ GithubReposUpdateInputBodySecurityAndAnalysisVariant0AdvancedSecurity = TypedDict(
1812
+ "GithubReposUpdateInputBodySecurityAndAnalysisVariant0AdvancedSecurity",
1813
+ {"status": NotRequired["str"]},
1814
+ total=False,
1815
+ )
1816
+ GithubReposUpdateInputBodySecurityAndAnalysisVariant0CodeSecurity = TypedDict(
1817
+ "GithubReposUpdateInputBodySecurityAndAnalysisVariant0CodeSecurity",
1818
+ {"status": NotRequired["str"]},
1819
+ total=False,
1820
+ )
1821
+ GithubReposUpdateInputBodySecurityAndAnalysisVariant0SecretScanning = TypedDict(
1822
+ "GithubReposUpdateInputBodySecurityAndAnalysisVariant0SecretScanning",
1823
+ {"status": NotRequired["str"]},
1824
+ total=False,
1825
+ )
1826
+ GithubReposUpdateInputBodySecurityAndAnalysisVariant0SecretScanningAiDetection = TypedDict(
1827
+ "GithubReposUpdateInputBodySecurityAndAnalysisVariant0SecretScanningAiDetection",
1828
+ {"status": NotRequired["str"]},
1829
+ total=False,
1830
+ )
1831
+ GithubReposUpdateInputBodySecurityAndAnalysisVariant0SecretScanningDelegatedAlertDismissal = TypedDict(
1832
+ "GithubReposUpdateInputBodySecurityAndAnalysisVariant0SecretScanningDelegatedAlertDismissal",
1833
+ {"status": NotRequired["str"]},
1834
+ total=False,
1835
+ )
1836
+ GithubReposUpdateInputBodySecurityAndAnalysisVariant0SecretScanningDelegatedBypass = TypedDict(
1837
+ "GithubReposUpdateInputBodySecurityAndAnalysisVariant0SecretScanningDelegatedBypass",
1838
+ {"status": NotRequired["str"]},
1839
+ total=False,
1840
+ )
1841
+ GithubReposUpdateInputBodySecurityAndAnalysisVariant0SecretScanningDelegatedBypassOptions = TypedDict(
1842
+ "GithubReposUpdateInputBodySecurityAndAnalysisVariant0SecretScanningDelegatedBypassOptions",
1843
+ {
1844
+ "reviewers": NotRequired[
1845
+ "list[GithubReposUpdateInputBodySecurityAndAnalysisVariant0SecretScanningDelegatedBypassOptionsReviewersItem]"
1846
+ ]
1847
+ },
1848
+ total=False,
1849
+ )
1850
+ GithubReposUpdateInputBodySecurityAndAnalysisVariant0SecretScanningDelegatedBypassOptionsReviewersItem = TypedDict(
1851
+ "GithubReposUpdateInputBodySecurityAndAnalysisVariant0SecretScanningDelegatedBypassOptionsReviewersItem",
1852
+ {
1853
+ "mode": NotRequired["Literal['ALWAYS', 'EXEMPT']"],
1854
+ "reviewer_id": Required["int"],
1855
+ "reviewer_type": Required["Literal['TEAM', 'ROLE']"],
1856
+ },
1857
+ total=False,
1858
+ )
1859
+ GithubReposUpdateInputBodySecurityAndAnalysisVariant0SecretScanningNonProviderPatterns = TypedDict(
1860
+ "GithubReposUpdateInputBodySecurityAndAnalysisVariant0SecretScanningNonProviderPatterns",
1861
+ {"status": NotRequired["str"]},
1862
+ total=False,
1863
+ )
1864
+ GithubReposUpdateInputBodySecurityAndAnalysisVariant0SecretScanningPushProtection = TypedDict(
1865
+ "GithubReposUpdateInputBodySecurityAndAnalysisVariant0SecretScanningPushProtection",
1866
+ {"status": NotRequired["str"]},
1867
+ total=False,
1868
+ )
1869
+ GithubReposUpdateInputPath = TypedDict(
1870
+ "GithubReposUpdateInputPath", {"owner": Required["str"], "repo": Required["str"]}, total=False
1871
+ )
1872
+ GithubReposUpdateInvitationInput = TypedDict(
1873
+ "GithubReposUpdateInvitationInput",
1874
+ {
1875
+ "path": Required["GithubReposUpdateInvitationInputPath"],
1876
+ "body": NotRequired["GithubReposUpdateInvitationInputBody"],
1877
+ },
1878
+ total=False,
1879
+ )
1880
+ GithubReposUpdateInvitationInputBody = TypedDict(
1881
+ "GithubReposUpdateInvitationInputBody",
1882
+ {"permissions": NotRequired["Literal['read', 'write', 'maintain', 'triage', 'admin']"]},
1883
+ total=False,
1884
+ )
1885
+ GithubReposUpdateInvitationInputPath = TypedDict(
1886
+ "GithubReposUpdateInvitationInputPath",
1887
+ {"owner": Required["str"], "repo": Required["str"], "invitation_id": Required["int"]},
1888
+ total=False,
1889
+ )
1890
+ GithubReposUpdateInvitationOutput: TypeAlias = "OutputrepositoryInvitation"
1891
+ GithubReposUpdateOrgRulesetInput = TypedDict(
1892
+ "GithubReposUpdateOrgRulesetInput",
1893
+ {
1894
+ "path": Required["GithubReposUpdateOrgRulesetInputPath"],
1895
+ "body": NotRequired["GithubReposUpdateOrgRulesetInputBody"],
1896
+ },
1897
+ total=False,
1898
+ )
1899
+ GithubReposUpdateOrgRulesetInputBody = TypedDict(
1900
+ "GithubReposUpdateOrgRulesetInputBody",
1901
+ {
1902
+ "bypass_actors": NotRequired["list[RepositoryRulesetBypassActor]"],
1903
+ "conditions": NotRequired["OrgRulesetConditions"],
1904
+ "enforcement": NotRequired["RepositoryRuleEnforcement"],
1905
+ "name": NotRequired["str"],
1906
+ "rules": NotRequired["list[OrgRules]"],
1907
+ "target": NotRequired["Literal['branch', 'tag', 'push', 'repository']"],
1908
+ },
1909
+ total=False,
1910
+ )
1911
+ GithubReposUpdateOrgRulesetInputPath = TypedDict(
1912
+ "GithubReposUpdateOrgRulesetInputPath",
1913
+ {"org": Required["str"], "ruleset_id": Required["int"]},
1914
+ total=False,
1915
+ )
1916
+ GithubReposUpdateOrgRulesetOutput: TypeAlias = "OutputrepositoryRuleset"
1917
+ GithubReposUpdateOutput: TypeAlias = "OutputfullRepository"
1918
+ GithubReposUpdatePullRequestReviewProtectionInput = TypedDict(
1919
+ "GithubReposUpdatePullRequestReviewProtectionInput",
1920
+ {
1921
+ "path": Required["GithubReposUpdatePullRequestReviewProtectionInputPath"],
1922
+ "body": NotRequired["GithubReposUpdatePullRequestReviewProtectionInputBody"],
1923
+ },
1924
+ total=False,
1925
+ )
1926
+ GithubReposUpdatePullRequestReviewProtectionInputBody = TypedDict(
1927
+ "GithubReposUpdatePullRequestReviewProtectionInputBody",
1928
+ {
1929
+ "bypass_pull_request_allowances": NotRequired[
1930
+ "GithubReposUpdatePullRequestReviewProtectionInputBodyBypassPullRequestAllowances"
1931
+ ],
1932
+ "dismiss_stale_reviews": NotRequired["bool"],
1933
+ "dismissal_restrictions": NotRequired[
1934
+ "GithubReposUpdatePullRequestReviewProtectionInputBodyDismissalRestrictions"
1935
+ ],
1936
+ "require_code_owner_reviews": NotRequired["bool"],
1937
+ "require_last_push_approval": NotRequired["bool"],
1938
+ "required_approving_review_count": NotRequired["int"],
1939
+ },
1940
+ total=False,
1941
+ )
1942
+ GithubReposUpdatePullRequestReviewProtectionInputBodyBypassPullRequestAllowances = TypedDict(
1943
+ "GithubReposUpdatePullRequestReviewProtectionInputBodyBypassPullRequestAllowances",
1944
+ {
1945
+ "apps": NotRequired["list[str]"],
1946
+ "teams": NotRequired["list[str]"],
1947
+ "users": NotRequired["list[str]"],
1948
+ },
1949
+ total=False,
1950
+ )
1951
+ GithubReposUpdatePullRequestReviewProtectionInputBodyDismissalRestrictions = TypedDict(
1952
+ "GithubReposUpdatePullRequestReviewProtectionInputBodyDismissalRestrictions",
1953
+ {
1954
+ "apps": NotRequired["list[str]"],
1955
+ "teams": NotRequired["list[str]"],
1956
+ "users": NotRequired["list[str]"],
1957
+ },
1958
+ total=False,
1959
+ )
1960
+ GithubReposUpdatePullRequestReviewProtectionInputPath = TypedDict(
1961
+ "GithubReposUpdatePullRequestReviewProtectionInputPath",
1962
+ {"owner": Required["str"], "repo": Required["str"], "branch": Required["str"]},
1963
+ total=False,
1964
+ )
1965
+ GithubReposUpdatePullRequestReviewProtectionOutput: TypeAlias = (
1966
+ "OutputprotectedBranchPullRequestReview"
1967
+ )
1968
+ GithubReposUpdateReleaseAssetInput = TypedDict(
1969
+ "GithubReposUpdateReleaseAssetInput",
1970
+ {
1971
+ "path": Required["GithubReposUpdateReleaseAssetInputPath"],
1972
+ "body": NotRequired["GithubReposUpdateReleaseAssetInputBody"],
1973
+ },
1974
+ total=False,
1975
+ )
1976
+ GithubReposUpdateReleaseAssetInputBody = TypedDict(
1977
+ "GithubReposUpdateReleaseAssetInputBody",
1978
+ {"label": NotRequired["str"], "name": NotRequired["str"], "state": NotRequired["str"]},
1979
+ total=False,
1980
+ )
1981
+ GithubReposUpdateReleaseAssetInputPath = TypedDict(
1982
+ "GithubReposUpdateReleaseAssetInputPath",
1983
+ {"owner": Required["str"], "repo": Required["str"], "asset_id": Required["int"]},
1984
+ total=False,
1985
+ )
1986
+ GithubReposUpdateReleaseAssetOutput: TypeAlias = "OutputreleaseAsset"
1987
+ GithubReposUpdateReleaseInput = TypedDict(
1988
+ "GithubReposUpdateReleaseInput",
1989
+ {
1990
+ "path": Required["GithubReposUpdateReleaseInputPath"],
1991
+ "body": NotRequired["GithubReposUpdateReleaseInputBody"],
1992
+ },
1993
+ total=False,
1994
+ )
1995
+ GithubReposUpdateReleaseInputBody = TypedDict(
1996
+ "GithubReposUpdateReleaseInputBody",
1997
+ {
1998
+ "body": NotRequired["str"],
1999
+ "discussion_category_name": NotRequired["str"],
2000
+ "draft": NotRequired["bool"],
2001
+ "make_latest": NotRequired["Literal['true', 'false', 'legacy']"],
2002
+ "name": NotRequired["str"],
2003
+ "prerelease": NotRequired["bool"],
2004
+ "tag_name": NotRequired["str"],
2005
+ "target_commitish": NotRequired["str"],
2006
+ },
2007
+ total=False,
2008
+ )
2009
+ GithubReposUpdateReleaseInputPath = TypedDict(
2010
+ "GithubReposUpdateReleaseInputPath",
2011
+ {"owner": Required["str"], "repo": Required["str"], "release_id": Required["int"]},
2012
+ total=False,
2013
+ )
2014
+ GithubReposUpdateReleaseOutput: TypeAlias = "Outputrelease"
2015
+ GithubReposUpdateRepoRulesetInput = TypedDict(
2016
+ "GithubReposUpdateRepoRulesetInput",
2017
+ {
2018
+ "path": Required["GithubReposUpdateRepoRulesetInputPath"],
2019
+ "body": NotRequired["GithubReposUpdateRepoRulesetInputBody"],
2020
+ },
2021
+ total=False,
2022
+ )
2023
+ GithubReposUpdateRepoRulesetInputBody = TypedDict(
2024
+ "GithubReposUpdateRepoRulesetInputBody",
2025
+ {
2026
+ "bypass_actors": NotRequired["list[RepositoryRulesetBypassActor]"],
2027
+ "conditions": NotRequired["RepositoryRulesetConditions"],
2028
+ "enforcement": NotRequired["RepositoryRuleEnforcement"],
2029
+ "name": NotRequired["str"],
2030
+ "rules": NotRequired["list[RepositoryRule]"],
2031
+ "target": NotRequired["Literal['branch', 'tag', 'push']"],
2032
+ },
2033
+ total=False,
2034
+ )
2035
+ GithubReposUpdateRepoRulesetInputPath = TypedDict(
2036
+ "GithubReposUpdateRepoRulesetInputPath",
2037
+ {"owner": Required["str"], "repo": Required["str"], "ruleset_id": Required["int"]},
2038
+ total=False,
2039
+ )
2040
+ GithubReposUpdateRepoRulesetOutput: TypeAlias = "OutputrepositoryRuleset"
2041
+ GithubReposUpdateStatusCheckProtectionInput = TypedDict(
2042
+ "GithubReposUpdateStatusCheckProtectionInput",
2043
+ {
2044
+ "path": Required["GithubReposUpdateStatusCheckProtectionInputPath"],
2045
+ "body": NotRequired["GithubReposUpdateStatusCheckProtectionInputBody"],
2046
+ },
2047
+ total=False,
2048
+ )
2049
+ GithubReposUpdateStatusCheckProtectionInputBody = TypedDict(
2050
+ "GithubReposUpdateStatusCheckProtectionInputBody",
2051
+ {
2052
+ "checks": NotRequired["list[GithubReposUpdateStatusCheckProtectionInputBodyChecksItem]"],
2053
+ "contexts": NotRequired["list[str]"],
2054
+ "strict": NotRequired["bool"],
2055
+ },
2056
+ total=False,
2057
+ )
2058
+ GithubReposUpdateStatusCheckProtectionInputBodyChecksItem = TypedDict(
2059
+ "GithubReposUpdateStatusCheckProtectionInputBodyChecksItem",
2060
+ {"app_id": NotRequired["int"], "context": Required["str"]},
2061
+ total=False,
2062
+ )
2063
+ GithubReposUpdateStatusCheckProtectionInputPath = TypedDict(
2064
+ "GithubReposUpdateStatusCheckProtectionInputPath",
2065
+ {"owner": Required["str"], "repo": Required["str"], "branch": Required["str"]},
2066
+ total=False,
2067
+ )
2068
+ GithubReposUpdateStatusCheckProtectionOutput: TypeAlias = "OutputstatusCheckPolicy"
2069
+ GithubReposUpdateWebhookConfigForRepoInput = TypedDict(
2070
+ "GithubReposUpdateWebhookConfigForRepoInput",
2071
+ {
2072
+ "path": Required["GithubReposUpdateWebhookConfigForRepoInputPath"],
2073
+ "body": NotRequired["GithubReposUpdateWebhookConfigForRepoInputBody"],
2074
+ },
2075
+ total=False,
2076
+ )
2077
+ GithubReposUpdateWebhookConfigForRepoInputBody = TypedDict(
2078
+ "GithubReposUpdateWebhookConfigForRepoInputBody",
2079
+ {
2080
+ "content_type": NotRequired["WebhookConfigContentType"],
2081
+ "insecure_ssl": NotRequired["WebhookConfigInsecureSsl"],
2082
+ "secret": NotRequired["WebhookConfigSecret"],
2083
+ "url": NotRequired["WebhookConfigUrl"],
2084
+ },
2085
+ total=False,
2086
+ )
2087
+ GithubReposUpdateWebhookConfigForRepoInputPath = TypedDict(
2088
+ "GithubReposUpdateWebhookConfigForRepoInputPath",
2089
+ {"owner": Required["str"], "repo": Required["str"], "hook_id": Required["int"]},
2090
+ total=False,
2091
+ )
2092
+ GithubReposUpdateWebhookConfigForRepoOutput: TypeAlias = "OutputwebhookConfig"
2093
+ GithubReposUpdateWebhookInput = TypedDict(
2094
+ "GithubReposUpdateWebhookInput",
2095
+ {
2096
+ "path": Required["GithubReposUpdateWebhookInputPath"],
2097
+ "body": Required["GithubReposUpdateWebhookInputBody"],
2098
+ },
2099
+ total=False,
2100
+ )
2101
+ GithubReposUpdateWebhookInputBody = TypedDict(
2102
+ "GithubReposUpdateWebhookInputBody",
2103
+ {
2104
+ "active": NotRequired["bool"],
2105
+ "add_events": NotRequired["list[str]"],
2106
+ "config": NotRequired["WebhookConfig"],
2107
+ "events": NotRequired["list[str]"],
2108
+ "remove_events": NotRequired["list[str]"],
2109
+ },
2110
+ total=False,
2111
+ )
2112
+ GithubReposUpdateWebhookInputPath = TypedDict(
2113
+ "GithubReposUpdateWebhookInputPath",
2114
+ {"owner": Required["str"], "repo": Required["str"], "hook_id": Required["int"]},
2115
+ total=False,
2116
+ )
2117
+ GithubReposUpdateWebhookOutput: TypeAlias = "Outputhook"
2118
+ GithubReposUploadReleaseAssetInput = TypedDict(
2119
+ "GithubReposUploadReleaseAssetInput",
2120
+ {
2121
+ "path": Required["GithubReposUploadReleaseAssetInputPath"],
2122
+ "query": Required["GithubReposUploadReleaseAssetInputQuery"],
2123
+ "body": Required["GithubReposUploadReleaseAssetInputBody"],
2124
+ },
2125
+ total=False,
2126
+ )
2127
+ GithubReposUploadReleaseAssetInputBody = TypedDict(
2128
+ "GithubReposUploadReleaseAssetInputBody",
2129
+ {
2130
+ "filename": Required["str"],
2131
+ "content_type": Required["str"],
2132
+ "content_base64": Required["str"],
2133
+ },
2134
+ total=False,
2135
+ )
2136
+ GithubReposUploadReleaseAssetInputPath = TypedDict(
2137
+ "GithubReposUploadReleaseAssetInputPath",
2138
+ {"owner": Required["str"], "repo": Required["str"], "release_id": Required["int"]},
2139
+ total=False,
2140
+ )
2141
+ GithubReposUploadReleaseAssetInputQuery = TypedDict(
2142
+ "GithubReposUploadReleaseAssetInputQuery",
2143
+ {"name": Required["str"], "label": NotRequired["str"]},
2144
+ total=False,
2145
+ )
2146
+ GithubReposUploadReleaseAssetOutput: TypeAlias = "OutputreleaseAsset"
2147
+ GithubSearchCodeInput = TypedDict(
2148
+ "GithubSearchCodeInput", {"query": Required["GithubSearchCodeInputQuery"]}, total=False
2149
+ )
2150
+ GithubSearchCodeInputQuery = TypedDict(
2151
+ "GithubSearchCodeInputQuery",
2152
+ {
2153
+ "q": Required["str"],
2154
+ "sort": NotRequired["Literal['indexed']"],
2155
+ "order": NotRequired["Literal['desc', 'asc']"],
2156
+ "per_page": NotRequired["int"],
2157
+ "page": NotRequired["int"],
2158
+ },
2159
+ total=False,
2160
+ )
2161
+ GithubSearchCodeOutput = TypedDict(
2162
+ "GithubSearchCodeOutput",
2163
+ {
2164
+ "incomplete_results": Required["bool"],
2165
+ "items": Required["list[OutputcodeSearchResultItem]"],
2166
+ "total_count": Required["int | str"],
2167
+ },
2168
+ total=False,
2169
+ )
2170
+ GithubSearchCommitsInput = TypedDict(
2171
+ "GithubSearchCommitsInput", {"query": Required["GithubSearchCommitsInputQuery"]}, total=False
2172
+ )
2173
+ GithubSearchCommitsInputQuery = TypedDict(
2174
+ "GithubSearchCommitsInputQuery",
2175
+ {
2176
+ "q": Required["str"],
2177
+ "sort": NotRequired["Literal['author-date', 'committer-date']"],
2178
+ "order": NotRequired["Literal['desc', 'asc']"],
2179
+ "per_page": NotRequired["int"],
2180
+ "page": NotRequired["int"],
2181
+ },
2182
+ total=False,
2183
+ )