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,2023 @@
1
+ """Generated native provider models. Do not edit."""
2
+
3
+ # ruff: noqa: E501 - native provider model names cannot be shortened without changing public types
4
+ from __future__ import annotations
5
+ from typing import TYPE_CHECKING, Any, Literal, NotRequired, Required, TypedDict, TypeAlias, Union
6
+
7
+ if TYPE_CHECKING:
8
+ from alter_sdk_github._github_models_00 import CustomPropertyValue
9
+ from alter_sdk_github._github_models_00 import DeploymentBranchPolicyNamePatternWithType
10
+ from alter_sdk_github._github_models_00 import DeploymentBranchPolicySettings
11
+ from alter_sdk_github._github_models_00 import DeploymentReviewerType
12
+ from alter_sdk_github._github_models_11 import GithubReposGetLatestReleaseInputPath
13
+ from alter_sdk_github._github_models_13 import OrgRules
14
+ from alter_sdk_github._github_models_13 import OrgRulesetConditions
15
+ from alter_sdk_github._github_models_13 import Outputautolink
16
+ from alter_sdk_github._github_models_13 import OutputbranchProtection
17
+ from alter_sdk_github._github_models_13 import OutputbranchRestrictionPolicy
18
+ from alter_sdk_github._github_models_13 import OutputbranchWithProtection
19
+ from alter_sdk_github._github_models_13 import OutputcheckAutomatedSecurityFixes
20
+ from alter_sdk_github._github_models_13 import OutputcheckImmutableReleases
21
+ from alter_sdk_github._github_models_13 import OutputcloneTraffic
22
+ from alter_sdk_github._github_models_13 import OutputcodeFrequencyStat
23
+ from alter_sdk_github._github_models_14 import OutputcodeownersErrors
24
+ from alter_sdk_github._github_models_14 import OutputcombinedCommitStatus
25
+ from alter_sdk_github._github_models_14 import Outputcommit
26
+ from alter_sdk_github._github_models_14 import OutputcommitActivity
27
+ from alter_sdk_github._github_models_14 import OutputcommitComment
28
+ from alter_sdk_github._github_models_14 import OutputcommitComparison
29
+ from alter_sdk_github._github_models_14 import OutputcommunityProfile
30
+ from alter_sdk_github._github_models_14 import OutputcontentDirectory
31
+ from alter_sdk_github._github_models_14 import OutputcontentFile
32
+ from alter_sdk_github._github_models_14 import OutputcontentSubmodule
33
+ from alter_sdk_github._github_models_14 import OutputcontentSymlink
34
+ from alter_sdk_github._github_models_14 import OutputcontributorActivity
35
+ from alter_sdk_github._github_models_14 import OutputcustomPropertyValue
36
+ from alter_sdk_github._github_models_14 import OutputdeployKey
37
+ from alter_sdk_github._github_models_14 import Outputdeployment
38
+ from alter_sdk_github._github_models_14 import OutputdeploymentBranchPolicy
39
+ from alter_sdk_github._github_models_14 import OutputdeploymentProtectionRule
40
+ from alter_sdk_github._github_models_14 import OutputdeploymentStatus
41
+ from alter_sdk_github._github_models_14 import Outputenvironment
42
+ from alter_sdk_github._github_models_14 import OutputfileCommit
43
+ from alter_sdk_github._github_models_14 import OutputfullRepository
44
+ from alter_sdk_github._github_models_14 import Outputhook
45
+ from alter_sdk_github._github_models_14 import Outputintegration
46
+ from alter_sdk_github._github_models_15 import Outputpage
47
+ from alter_sdk_github._github_models_15 import OutputpageBuild
48
+ from alter_sdk_github._github_models_15 import OutputpageDeployment
49
+ from alter_sdk_github._github_models_15 import OutputprotectedBranchAdminEnforced
50
+ from alter_sdk_github._github_models_15 import Outputreaction
51
+ from alter_sdk_github._github_models_15 import Outputrelease
52
+ from alter_sdk_github._github_models_15 import OutputreleaseNotesContent
53
+ from alter_sdk_github._github_models_15 import OutputrepositoryCollaboratorPermission
54
+ from alter_sdk_github._github_models_15 import OutputrepositoryHashAlgorithm
55
+ from alter_sdk_github._github_models_15 import OutputrepositoryInvitation
56
+ from alter_sdk_github._github_models_15 import OutputrepositoryRuleDetailed
57
+ from alter_sdk_github._github_models_15 import OutputrepositoryRuleset
58
+ from alter_sdk_github._github_models_15 import OutputsimpleUser
59
+ from alter_sdk_github._github_models_15 import Outputstatus
60
+ from alter_sdk_github._github_models_15 import Outputteam
61
+ from alter_sdk_github._github_models_15 import Outputtopic
62
+ from alter_sdk_github._github_models_16 import PreventSelfReview
63
+ from alter_sdk_github._github_models_16 import RepositoryRule
64
+ from alter_sdk_github._github_models_16 import RepositoryRuleEnforcement
65
+ from alter_sdk_github._github_models_16 import RepositoryRulesetBypassActor
66
+ from alter_sdk_github._github_models_16 import RepositoryRulesetConditions
67
+ from alter_sdk_github._github_models_17 import WaitTimer
68
+ from alter_sdk_github._github_models_17 import WebhookConfigContentType
69
+ from alter_sdk_github._github_models_17 import WebhookConfigInsecureSsl
70
+ from alter_sdk_github._github_models_17 import WebhookConfigSecret
71
+ from alter_sdk_github._github_models_17 import WebhookConfigUrl
72
+
73
+ GithubReactionsCreateForPullRequestReviewCommentInput = TypedDict(
74
+ "GithubReactionsCreateForPullRequestReviewCommentInput",
75
+ {
76
+ "path": Required["GithubReactionsCreateForPullRequestReviewCommentInputPath"],
77
+ "body": Required["GithubReactionsCreateForPullRequestReviewCommentInputBody"],
78
+ },
79
+ total=False,
80
+ )
81
+ GithubReactionsCreateForPullRequestReviewCommentInputBody = TypedDict(
82
+ "GithubReactionsCreateForPullRequestReviewCommentInputBody",
83
+ {
84
+ "content": Required[
85
+ "Literal['+1', '-1', 'laugh', 'confused', 'heart', 'hooray', 'rocket', 'eyes']"
86
+ ]
87
+ },
88
+ total=False,
89
+ )
90
+ GithubReactionsCreateForPullRequestReviewCommentInputPath = TypedDict(
91
+ "GithubReactionsCreateForPullRequestReviewCommentInputPath",
92
+ {"owner": Required["str"], "repo": Required["str"], "comment_id": Required["int"]},
93
+ total=False,
94
+ )
95
+ GithubReactionsCreateForPullRequestReviewCommentOutput: TypeAlias = "Outputreaction"
96
+ GithubReactionsCreateForReleaseInput = TypedDict(
97
+ "GithubReactionsCreateForReleaseInput",
98
+ {
99
+ "path": Required["GithubReactionsCreateForReleaseInputPath"],
100
+ "body": Required["GithubReactionsCreateForReleaseInputBody"],
101
+ },
102
+ total=False,
103
+ )
104
+ GithubReactionsCreateForReleaseInputBody = TypedDict(
105
+ "GithubReactionsCreateForReleaseInputBody",
106
+ {"content": Required["Literal['+1', 'laugh', 'heart', 'hooray', 'rocket', 'eyes']"]},
107
+ total=False,
108
+ )
109
+ GithubReactionsCreateForReleaseInputPath = TypedDict(
110
+ "GithubReactionsCreateForReleaseInputPath",
111
+ {"owner": Required["str"], "repo": Required["str"], "release_id": Required["int"]},
112
+ total=False,
113
+ )
114
+ GithubReactionsCreateForReleaseOutput: TypeAlias = "Outputreaction"
115
+ GithubReactionsDeleteForCommitCommentInput = TypedDict(
116
+ "GithubReactionsDeleteForCommitCommentInput",
117
+ {"path": Required["GithubReactionsDeleteForCommitCommentInputPath"]},
118
+ total=False,
119
+ )
120
+ GithubReactionsDeleteForCommitCommentInputPath = TypedDict(
121
+ "GithubReactionsDeleteForCommitCommentInputPath",
122
+ {
123
+ "owner": Required["str"],
124
+ "repo": Required["str"],
125
+ "comment_id": Required["int"],
126
+ "reaction_id": Required["int"],
127
+ },
128
+ total=False,
129
+ )
130
+ GithubReactionsDeleteForCommitCommentOutput: TypeAlias = "None"
131
+ GithubReactionsDeleteForIssueCommentInput = TypedDict(
132
+ "GithubReactionsDeleteForIssueCommentInput",
133
+ {"path": Required["GithubReactionsDeleteForIssueCommentInputPath"]},
134
+ total=False,
135
+ )
136
+ GithubReactionsDeleteForIssueCommentInputPath = TypedDict(
137
+ "GithubReactionsDeleteForIssueCommentInputPath",
138
+ {
139
+ "owner": Required["str"],
140
+ "repo": Required["str"],
141
+ "comment_id": Required["int"],
142
+ "reaction_id": Required["int"],
143
+ },
144
+ total=False,
145
+ )
146
+ GithubReactionsDeleteForIssueCommentOutput: TypeAlias = "None"
147
+ GithubReactionsDeleteForIssueInput = TypedDict(
148
+ "GithubReactionsDeleteForIssueInput",
149
+ {"path": Required["GithubReactionsDeleteForIssueInputPath"]},
150
+ total=False,
151
+ )
152
+ GithubReactionsDeleteForIssueInputPath = TypedDict(
153
+ "GithubReactionsDeleteForIssueInputPath",
154
+ {
155
+ "owner": Required["str"],
156
+ "repo": Required["str"],
157
+ "issue_number": Required["int"],
158
+ "reaction_id": Required["int"],
159
+ },
160
+ total=False,
161
+ )
162
+ GithubReactionsDeleteForIssueOutput: TypeAlias = "None"
163
+ GithubReactionsDeleteForPullRequestCommentInput = TypedDict(
164
+ "GithubReactionsDeleteForPullRequestCommentInput",
165
+ {"path": Required["GithubReactionsDeleteForPullRequestCommentInputPath"]},
166
+ total=False,
167
+ )
168
+ GithubReactionsDeleteForPullRequestCommentInputPath = TypedDict(
169
+ "GithubReactionsDeleteForPullRequestCommentInputPath",
170
+ {
171
+ "owner": Required["str"],
172
+ "repo": Required["str"],
173
+ "comment_id": Required["int"],
174
+ "reaction_id": Required["int"],
175
+ },
176
+ total=False,
177
+ )
178
+ GithubReactionsDeleteForPullRequestCommentOutput: TypeAlias = "None"
179
+ GithubReactionsDeleteForReleaseInput = TypedDict(
180
+ "GithubReactionsDeleteForReleaseInput",
181
+ {"path": Required["GithubReactionsDeleteForReleaseInputPath"]},
182
+ total=False,
183
+ )
184
+ GithubReactionsDeleteForReleaseInputPath = TypedDict(
185
+ "GithubReactionsDeleteForReleaseInputPath",
186
+ {
187
+ "owner": Required["str"],
188
+ "repo": Required["str"],
189
+ "release_id": Required["int"],
190
+ "reaction_id": Required["int"],
191
+ },
192
+ total=False,
193
+ )
194
+ GithubReactionsDeleteForReleaseOutput: TypeAlias = "None"
195
+ GithubReactionsListForCommitCommentInput = TypedDict(
196
+ "GithubReactionsListForCommitCommentInput",
197
+ {
198
+ "path": Required["GithubReactionsListForCommitCommentInputPath"],
199
+ "query": NotRequired["GithubReactionsListForCommitCommentInputQuery"],
200
+ },
201
+ total=False,
202
+ )
203
+ GithubReactionsListForCommitCommentInputPath = TypedDict(
204
+ "GithubReactionsListForCommitCommentInputPath",
205
+ {"owner": Required["str"], "repo": Required["str"], "comment_id": Required["int"]},
206
+ total=False,
207
+ )
208
+ GithubReactionsListForCommitCommentInputQuery = TypedDict(
209
+ "GithubReactionsListForCommitCommentInputQuery",
210
+ {
211
+ "content": NotRequired[
212
+ "Literal['+1', '-1', 'laugh', 'confused', 'heart', 'hooray', 'rocket', 'eyes']"
213
+ ],
214
+ "per_page": NotRequired["int"],
215
+ "page": NotRequired["int"],
216
+ },
217
+ total=False,
218
+ )
219
+ GithubReactionsListForCommitCommentOutput: TypeAlias = "list[Outputreaction]"
220
+ GithubReactionsListForIssueCommentInput = TypedDict(
221
+ "GithubReactionsListForIssueCommentInput",
222
+ {
223
+ "path": Required["GithubReactionsListForIssueCommentInputPath"],
224
+ "query": NotRequired["GithubReactionsListForIssueCommentInputQuery"],
225
+ },
226
+ total=False,
227
+ )
228
+ GithubReactionsListForIssueCommentInputPath = TypedDict(
229
+ "GithubReactionsListForIssueCommentInputPath",
230
+ {"owner": Required["str"], "repo": Required["str"], "comment_id": Required["int"]},
231
+ total=False,
232
+ )
233
+ GithubReactionsListForIssueCommentInputQuery = TypedDict(
234
+ "GithubReactionsListForIssueCommentInputQuery",
235
+ {
236
+ "content": NotRequired[
237
+ "Literal['+1', '-1', 'laugh', 'confused', 'heart', 'hooray', 'rocket', 'eyes']"
238
+ ],
239
+ "per_page": NotRequired["int"],
240
+ "page": NotRequired["int"],
241
+ },
242
+ total=False,
243
+ )
244
+ GithubReactionsListForIssueCommentOutput: TypeAlias = "list[Outputreaction]"
245
+ GithubReactionsListForIssueInput = TypedDict(
246
+ "GithubReactionsListForIssueInput",
247
+ {
248
+ "path": Required["GithubReactionsListForIssueInputPath"],
249
+ "query": NotRequired["GithubReactionsListForIssueInputQuery"],
250
+ },
251
+ total=False,
252
+ )
253
+ GithubReactionsListForIssueInputPath = TypedDict(
254
+ "GithubReactionsListForIssueInputPath",
255
+ {"owner": Required["str"], "repo": Required["str"], "issue_number": Required["int"]},
256
+ total=False,
257
+ )
258
+ GithubReactionsListForIssueInputQuery = TypedDict(
259
+ "GithubReactionsListForIssueInputQuery",
260
+ {
261
+ "content": NotRequired[
262
+ "Literal['+1', '-1', 'laugh', 'confused', 'heart', 'hooray', 'rocket', 'eyes']"
263
+ ],
264
+ "per_page": NotRequired["int"],
265
+ "page": NotRequired["int"],
266
+ },
267
+ total=False,
268
+ )
269
+ GithubReactionsListForIssueOutput: TypeAlias = "list[Outputreaction]"
270
+ GithubReactionsListForPullRequestReviewCommentInput = TypedDict(
271
+ "GithubReactionsListForPullRequestReviewCommentInput",
272
+ {
273
+ "path": Required["GithubReactionsListForPullRequestReviewCommentInputPath"],
274
+ "query": NotRequired["GithubReactionsListForPullRequestReviewCommentInputQuery"],
275
+ },
276
+ total=False,
277
+ )
278
+ GithubReactionsListForPullRequestReviewCommentInputPath = TypedDict(
279
+ "GithubReactionsListForPullRequestReviewCommentInputPath",
280
+ {"owner": Required["str"], "repo": Required["str"], "comment_id": Required["int"]},
281
+ total=False,
282
+ )
283
+ GithubReactionsListForPullRequestReviewCommentInputQuery = TypedDict(
284
+ "GithubReactionsListForPullRequestReviewCommentInputQuery",
285
+ {
286
+ "content": NotRequired[
287
+ "Literal['+1', '-1', 'laugh', 'confused', 'heart', 'hooray', 'rocket', 'eyes']"
288
+ ],
289
+ "per_page": NotRequired["int"],
290
+ "page": NotRequired["int"],
291
+ },
292
+ total=False,
293
+ )
294
+ GithubReactionsListForPullRequestReviewCommentOutput: TypeAlias = "list[Outputreaction]"
295
+ GithubReactionsListForReleaseInput = TypedDict(
296
+ "GithubReactionsListForReleaseInput",
297
+ {
298
+ "path": Required["GithubReactionsListForReleaseInputPath"],
299
+ "query": NotRequired["GithubReactionsListForReleaseInputQuery"],
300
+ },
301
+ total=False,
302
+ )
303
+ GithubReactionsListForReleaseInputPath = TypedDict(
304
+ "GithubReactionsListForReleaseInputPath",
305
+ {"owner": Required["str"], "repo": Required["str"], "release_id": Required["int"]},
306
+ total=False,
307
+ )
308
+ GithubReactionsListForReleaseInputQuery = TypedDict(
309
+ "GithubReactionsListForReleaseInputQuery",
310
+ {
311
+ "content": NotRequired["Literal['+1', 'laugh', 'heart', 'hooray', 'rocket', 'eyes']"],
312
+ "per_page": NotRequired["int"],
313
+ "page": NotRequired["int"],
314
+ },
315
+ total=False,
316
+ )
317
+ GithubReactionsListForReleaseOutput: TypeAlias = "list[Outputreaction]"
318
+ GithubReposAcceptInvitationForAuthenticatedUserInput = TypedDict(
319
+ "GithubReposAcceptInvitationForAuthenticatedUserInput",
320
+ {"path": Required["GithubReposAcceptInvitationForAuthenticatedUserInputPath"]},
321
+ total=False,
322
+ )
323
+ GithubReposAcceptInvitationForAuthenticatedUserInputPath = TypedDict(
324
+ "GithubReposAcceptInvitationForAuthenticatedUserInputPath",
325
+ {"invitation_id": Required["int"]},
326
+ total=False,
327
+ )
328
+ GithubReposAcceptInvitationForAuthenticatedUserOutput: TypeAlias = "None"
329
+ GithubReposAddAppAccessRestrictionsInput = TypedDict(
330
+ "GithubReposAddAppAccessRestrictionsInput",
331
+ {
332
+ "path": Required["GithubReposAddAppAccessRestrictionsInputPath"],
333
+ "body": Required["GithubReposAddAppAccessRestrictionsInputBody"],
334
+ },
335
+ total=False,
336
+ )
337
+ GithubReposAddAppAccessRestrictionsInputBody = TypedDict(
338
+ "GithubReposAddAppAccessRestrictionsInputBody", {"apps": Required["list[str]"]}, total=False
339
+ )
340
+ GithubReposAddAppAccessRestrictionsInputPath = TypedDict(
341
+ "GithubReposAddAppAccessRestrictionsInputPath",
342
+ {"owner": Required["str"], "repo": Required["str"], "branch": Required["str"]},
343
+ total=False,
344
+ )
345
+ GithubReposAddAppAccessRestrictionsOutput: TypeAlias = "list[Outputintegration]"
346
+ GithubReposAddCollaboratorInput = TypedDict(
347
+ "GithubReposAddCollaboratorInput",
348
+ {
349
+ "path": Required["GithubReposAddCollaboratorInputPath"],
350
+ "body": NotRequired["GithubReposAddCollaboratorInputBody"],
351
+ },
352
+ total=False,
353
+ )
354
+ GithubReposAddCollaboratorInputBody = TypedDict(
355
+ "GithubReposAddCollaboratorInputBody", {"permission": NotRequired["str"]}, total=False
356
+ )
357
+ GithubReposAddCollaboratorInputPath = TypedDict(
358
+ "GithubReposAddCollaboratorInputPath",
359
+ {"owner": Required["str"], "repo": Required["str"], "username": Required["str"]},
360
+ total=False,
361
+ )
362
+ GithubReposAddCollaboratorOutput: TypeAlias = "OutputrepositoryInvitation | None"
363
+ GithubReposAddStatusCheckContextsInput = TypedDict(
364
+ "GithubReposAddStatusCheckContextsInput",
365
+ {
366
+ "path": Required["GithubReposAddStatusCheckContextsInputPath"],
367
+ "body": NotRequired["GithubReposAddStatusCheckContextsInputBodyVariant0 | list[str]"],
368
+ },
369
+ total=False,
370
+ )
371
+ GithubReposAddStatusCheckContextsInputBodyVariant0 = TypedDict(
372
+ "GithubReposAddStatusCheckContextsInputBodyVariant0",
373
+ {"contexts": Required["list[str]"]},
374
+ total=False,
375
+ )
376
+ GithubReposAddStatusCheckContextsInputPath = TypedDict(
377
+ "GithubReposAddStatusCheckContextsInputPath",
378
+ {"owner": Required["str"], "repo": Required["str"], "branch": Required["str"]},
379
+ total=False,
380
+ )
381
+ GithubReposAddStatusCheckContextsOutput: TypeAlias = "list[str]"
382
+ GithubReposAddTeamAccessRestrictionsInput = TypedDict(
383
+ "GithubReposAddTeamAccessRestrictionsInput",
384
+ {
385
+ "path": Required["GithubReposAddTeamAccessRestrictionsInputPath"],
386
+ "body": NotRequired["GithubReposAddTeamAccessRestrictionsInputBodyVariant0 | list[str]"],
387
+ },
388
+ total=False,
389
+ )
390
+ GithubReposAddTeamAccessRestrictionsInputBodyVariant0 = TypedDict(
391
+ "GithubReposAddTeamAccessRestrictionsInputBodyVariant0",
392
+ {"teams": Required["list[str]"]},
393
+ total=False,
394
+ )
395
+ GithubReposAddTeamAccessRestrictionsInputPath = TypedDict(
396
+ "GithubReposAddTeamAccessRestrictionsInputPath",
397
+ {"owner": Required["str"], "repo": Required["str"], "branch": Required["str"]},
398
+ total=False,
399
+ )
400
+ GithubReposAddTeamAccessRestrictionsOutput: TypeAlias = "list[Outputteam]"
401
+ GithubReposAddUserAccessRestrictionsInput = TypedDict(
402
+ "GithubReposAddUserAccessRestrictionsInput",
403
+ {
404
+ "path": Required["GithubReposAddUserAccessRestrictionsInputPath"],
405
+ "body": Required["GithubReposAddUserAccessRestrictionsInputBody"],
406
+ },
407
+ total=False,
408
+ )
409
+ GithubReposAddUserAccessRestrictionsInputBody = TypedDict(
410
+ "GithubReposAddUserAccessRestrictionsInputBody", {"users": Required["list[str]"]}, total=False
411
+ )
412
+ GithubReposAddUserAccessRestrictionsInputPath = TypedDict(
413
+ "GithubReposAddUserAccessRestrictionsInputPath",
414
+ {"owner": Required["str"], "repo": Required["str"], "branch": Required["str"]},
415
+ total=False,
416
+ )
417
+ GithubReposAddUserAccessRestrictionsOutput: TypeAlias = "list[OutputsimpleUser]"
418
+ GithubReposCancelPagesDeploymentInput = TypedDict(
419
+ "GithubReposCancelPagesDeploymentInput",
420
+ {"path": Required["GithubReposCancelPagesDeploymentInputPath"]},
421
+ total=False,
422
+ )
423
+ GithubReposCancelPagesDeploymentInputPath = TypedDict(
424
+ "GithubReposCancelPagesDeploymentInputPath",
425
+ {
426
+ "owner": Required["str"],
427
+ "repo": Required["str"],
428
+ "pages_deployment_id": Required["int | str"],
429
+ },
430
+ total=False,
431
+ )
432
+ GithubReposCancelPagesDeploymentOutput: TypeAlias = "None"
433
+ GithubReposCheckAutomatedSecurityFixesInput = TypedDict(
434
+ "GithubReposCheckAutomatedSecurityFixesInput",
435
+ {"path": Required["GithubReposCheckAutomatedSecurityFixesInputPath"]},
436
+ total=False,
437
+ )
438
+ GithubReposCheckAutomatedSecurityFixesInputPath = TypedDict(
439
+ "GithubReposCheckAutomatedSecurityFixesInputPath",
440
+ {"owner": Required["str"], "repo": Required["str"]},
441
+ total=False,
442
+ )
443
+ GithubReposCheckAutomatedSecurityFixesOutput: TypeAlias = "OutputcheckAutomatedSecurityFixes"
444
+ GithubReposCheckCollaboratorInput = TypedDict(
445
+ "GithubReposCheckCollaboratorInput",
446
+ {"path": Required["GithubReposCheckCollaboratorInputPath"]},
447
+ total=False,
448
+ )
449
+ GithubReposCheckCollaboratorInputPath = TypedDict(
450
+ "GithubReposCheckCollaboratorInputPath",
451
+ {"owner": Required["str"], "repo": Required["str"], "username": Required["str"]},
452
+ total=False,
453
+ )
454
+ GithubReposCheckCollaboratorOutput: TypeAlias = "None"
455
+ GithubReposCheckImmutableReleasesInput = TypedDict(
456
+ "GithubReposCheckImmutableReleasesInput",
457
+ {"path": Required["GithubReposCheckImmutableReleasesInputPath"]},
458
+ total=False,
459
+ )
460
+ GithubReposCheckImmutableReleasesInputPath = TypedDict(
461
+ "GithubReposCheckImmutableReleasesInputPath",
462
+ {"owner": Required["str"], "repo": Required["str"]},
463
+ total=False,
464
+ )
465
+ GithubReposCheckImmutableReleasesOutput: TypeAlias = "OutputcheckImmutableReleases"
466
+ GithubReposCheckPrivateVulnerabilityReportingInput = TypedDict(
467
+ "GithubReposCheckPrivateVulnerabilityReportingInput",
468
+ {"path": Required["GithubReposCheckPrivateVulnerabilityReportingInputPath"]},
469
+ total=False,
470
+ )
471
+ GithubReposCheckPrivateVulnerabilityReportingInputPath = TypedDict(
472
+ "GithubReposCheckPrivateVulnerabilityReportingInputPath",
473
+ {"owner": Required["str"], "repo": Required["str"]},
474
+ total=False,
475
+ )
476
+ GithubReposCheckPrivateVulnerabilityReportingOutput = TypedDict(
477
+ "GithubReposCheckPrivateVulnerabilityReportingOutput",
478
+ {"enabled": Required["bool"]},
479
+ total=False,
480
+ )
481
+ GithubReposCheckVulnerabilityAlertsInput = TypedDict(
482
+ "GithubReposCheckVulnerabilityAlertsInput",
483
+ {"path": Required["GithubReposCheckVulnerabilityAlertsInputPath"]},
484
+ total=False,
485
+ )
486
+ GithubReposCheckVulnerabilityAlertsInputPath = TypedDict(
487
+ "GithubReposCheckVulnerabilityAlertsInputPath",
488
+ {"owner": Required["str"], "repo": Required["str"]},
489
+ total=False,
490
+ )
491
+ GithubReposCheckVulnerabilityAlertsOutput: TypeAlias = "None"
492
+ GithubReposCodeownersErrorsInput = TypedDict(
493
+ "GithubReposCodeownersErrorsInput",
494
+ {
495
+ "path": Required["GithubReposCodeownersErrorsInputPath"],
496
+ "query": NotRequired["GithubReposCodeownersErrorsInputQuery"],
497
+ },
498
+ total=False,
499
+ )
500
+ GithubReposCodeownersErrorsInputPath = TypedDict(
501
+ "GithubReposCodeownersErrorsInputPath",
502
+ {"owner": Required["str"], "repo": Required["str"]},
503
+ total=False,
504
+ )
505
+ GithubReposCodeownersErrorsInputQuery = TypedDict(
506
+ "GithubReposCodeownersErrorsInputQuery", {"ref": NotRequired["str"]}, total=False
507
+ )
508
+ GithubReposCodeownersErrorsOutput: TypeAlias = "OutputcodeownersErrors"
509
+ GithubReposCompareCommitsInput = TypedDict(
510
+ "GithubReposCompareCommitsInput",
511
+ {
512
+ "path": Required["GithubReposCompareCommitsInputPath"],
513
+ "query": NotRequired["GithubReposCompareCommitsInputQuery"],
514
+ },
515
+ total=False,
516
+ )
517
+ GithubReposCompareCommitsInputPath = TypedDict(
518
+ "GithubReposCompareCommitsInputPath",
519
+ {"owner": Required["str"], "repo": Required["str"], "basehead": Required["str"]},
520
+ total=False,
521
+ )
522
+ GithubReposCompareCommitsInputQuery = TypedDict(
523
+ "GithubReposCompareCommitsInputQuery",
524
+ {"page": NotRequired["int"], "per_page": NotRequired["int"]},
525
+ total=False,
526
+ )
527
+ GithubReposCompareCommitsOutput: TypeAlias = "OutputcommitComparison"
528
+ GithubReposCreateAttestationInput = TypedDict(
529
+ "GithubReposCreateAttestationInput",
530
+ {
531
+ "path": Required["GithubReposCreateAttestationInputPath"],
532
+ "body": Required["GithubReposCreateAttestationInputBody"],
533
+ },
534
+ total=False,
535
+ )
536
+ GithubReposCreateAttestationInputBody = TypedDict(
537
+ "GithubReposCreateAttestationInputBody",
538
+ {"bundle": Required["GithubReposCreateAttestationInputBodyBundle"]},
539
+ total=False,
540
+ )
541
+ GithubReposCreateAttestationInputBodyBundle = TypedDict(
542
+ "GithubReposCreateAttestationInputBodyBundle",
543
+ {
544
+ "dsseEnvelope": NotRequired["dict[str, object]"],
545
+ "mediaType": NotRequired["str"],
546
+ "verificationMaterial": NotRequired["dict[str, object]"],
547
+ },
548
+ total=False,
549
+ )
550
+ GithubReposCreateAttestationInputPath = TypedDict(
551
+ "GithubReposCreateAttestationInputPath",
552
+ {"owner": Required["str"], "repo": Required["str"]},
553
+ total=False,
554
+ )
555
+ GithubReposCreateAttestationOutput = TypedDict(
556
+ "GithubReposCreateAttestationOutput", {"id": NotRequired["int | str"]}, total=False
557
+ )
558
+ GithubReposCreateAutolinkInput = TypedDict(
559
+ "GithubReposCreateAutolinkInput",
560
+ {
561
+ "path": Required["GithubReposCreateAutolinkInputPath"],
562
+ "body": Required["GithubReposCreateAutolinkInputBody"],
563
+ },
564
+ total=False,
565
+ )
566
+ GithubReposCreateAutolinkInputBody = TypedDict(
567
+ "GithubReposCreateAutolinkInputBody",
568
+ {
569
+ "is_alphanumeric": NotRequired["bool"],
570
+ "key_prefix": Required["str"],
571
+ "url_template": Required["str"],
572
+ },
573
+ total=False,
574
+ )
575
+ GithubReposCreateAutolinkInputPath = TypedDict(
576
+ "GithubReposCreateAutolinkInputPath",
577
+ {"owner": Required["str"], "repo": Required["str"]},
578
+ total=False,
579
+ )
580
+ GithubReposCreateAutolinkOutput: TypeAlias = "Outputautolink"
581
+ GithubReposCreateCommitCommentInput = TypedDict(
582
+ "GithubReposCreateCommitCommentInput",
583
+ {
584
+ "path": Required["GithubReposCreateCommitCommentInputPath"],
585
+ "body": Required["GithubReposCreateCommitCommentInputBody"],
586
+ },
587
+ total=False,
588
+ )
589
+ GithubReposCreateCommitCommentInputBody = TypedDict(
590
+ "GithubReposCreateCommitCommentInputBody",
591
+ {
592
+ "body": Required["str"],
593
+ "line": NotRequired["int"],
594
+ "path": NotRequired["str"],
595
+ "position": NotRequired["int"],
596
+ },
597
+ total=False,
598
+ )
599
+ GithubReposCreateCommitCommentInputPath = TypedDict(
600
+ "GithubReposCreateCommitCommentInputPath",
601
+ {"owner": Required["str"], "repo": Required["str"], "commit_sha": Required["str"]},
602
+ total=False,
603
+ )
604
+ GithubReposCreateCommitCommentOutput: TypeAlias = "OutputcommitComment"
605
+ GithubReposCreateCommitSignatureProtectionInput = TypedDict(
606
+ "GithubReposCreateCommitSignatureProtectionInput",
607
+ {"path": Required["GithubReposCreateCommitSignatureProtectionInputPath"]},
608
+ total=False,
609
+ )
610
+ GithubReposCreateCommitSignatureProtectionInputPath = TypedDict(
611
+ "GithubReposCreateCommitSignatureProtectionInputPath",
612
+ {"owner": Required["str"], "repo": Required["str"], "branch": Required["str"]},
613
+ total=False,
614
+ )
615
+ GithubReposCreateCommitSignatureProtectionOutput: TypeAlias = "OutputprotectedBranchAdminEnforced"
616
+ GithubReposCreateCommitStatusInput = TypedDict(
617
+ "GithubReposCreateCommitStatusInput",
618
+ {
619
+ "path": Required["GithubReposCreateCommitStatusInputPath"],
620
+ "body": Required["GithubReposCreateCommitStatusInputBody"],
621
+ },
622
+ total=False,
623
+ )
624
+ GithubReposCreateCommitStatusInputBody = TypedDict(
625
+ "GithubReposCreateCommitStatusInputBody",
626
+ {
627
+ "context": NotRequired["str"],
628
+ "description": NotRequired["str | None"],
629
+ "state": Required["Literal['error', 'failure', 'pending', 'success']"],
630
+ "target_url": NotRequired["str | None"],
631
+ },
632
+ total=False,
633
+ )
634
+ GithubReposCreateCommitStatusInputPath = TypedDict(
635
+ "GithubReposCreateCommitStatusInputPath",
636
+ {"owner": Required["str"], "repo": Required["str"], "sha": Required["str"]},
637
+ total=False,
638
+ )
639
+ GithubReposCreateCommitStatusOutput: TypeAlias = "Outputstatus"
640
+ GithubReposCreateDeployKeyInput = TypedDict(
641
+ "GithubReposCreateDeployKeyInput",
642
+ {
643
+ "path": Required["GithubReposCreateDeployKeyInputPath"],
644
+ "body": Required["GithubReposCreateDeployKeyInputBody"],
645
+ },
646
+ total=False,
647
+ )
648
+ GithubReposCreateDeployKeyInputBody = TypedDict(
649
+ "GithubReposCreateDeployKeyInputBody",
650
+ {"key": Required["str"], "read_only": NotRequired["bool"], "title": NotRequired["str"]},
651
+ total=False,
652
+ )
653
+ GithubReposCreateDeployKeyInputPath = TypedDict(
654
+ "GithubReposCreateDeployKeyInputPath",
655
+ {"owner": Required["str"], "repo": Required["str"]},
656
+ total=False,
657
+ )
658
+ GithubReposCreateDeployKeyOutput: TypeAlias = "OutputdeployKey"
659
+ GithubReposCreateDeploymentBranchPolicyInput = TypedDict(
660
+ "GithubReposCreateDeploymentBranchPolicyInput",
661
+ {
662
+ "path": Required["GithubReposCreateDeploymentBranchPolicyInputPath"],
663
+ "body": Required["DeploymentBranchPolicyNamePatternWithType"],
664
+ },
665
+ total=False,
666
+ )
667
+ GithubReposCreateDeploymentBranchPolicyInputPath = TypedDict(
668
+ "GithubReposCreateDeploymentBranchPolicyInputPath",
669
+ {"owner": Required["str"], "repo": Required["str"], "environment_name": Required["str"]},
670
+ total=False,
671
+ )
672
+ GithubReposCreateDeploymentBranchPolicyOutput: TypeAlias = "OutputdeploymentBranchPolicy"
673
+ GithubReposCreateDeploymentInput = TypedDict(
674
+ "GithubReposCreateDeploymentInput",
675
+ {
676
+ "path": Required["GithubReposCreateDeploymentInputPath"],
677
+ "body": Required["GithubReposCreateDeploymentInputBody"],
678
+ },
679
+ total=False,
680
+ )
681
+ GithubReposCreateDeploymentInputBody = TypedDict(
682
+ "GithubReposCreateDeploymentInputBody",
683
+ {
684
+ "auto_merge": NotRequired["bool"],
685
+ "description": NotRequired["str | None"],
686
+ "environment": NotRequired["str"],
687
+ "payload": NotRequired["dict[str, object] | str"],
688
+ "production_environment": NotRequired["bool"],
689
+ "ref": Required["str"],
690
+ "required_contexts": NotRequired["list[str]"],
691
+ "task": NotRequired["str"],
692
+ "transient_environment": NotRequired["bool"],
693
+ },
694
+ total=False,
695
+ )
696
+ GithubReposCreateDeploymentInputPath = TypedDict(
697
+ "GithubReposCreateDeploymentInputPath",
698
+ {"owner": Required["str"], "repo": Required["str"]},
699
+ total=False,
700
+ )
701
+ GithubReposCreateDeploymentOutput: TypeAlias = (
702
+ "Outputdeployment | GithubReposCreateDeploymentOutputVariant1"
703
+ )
704
+ GithubReposCreateDeploymentOutputVariant1 = TypedDict(
705
+ "GithubReposCreateDeploymentOutputVariant1", {"message": NotRequired["str"]}, total=False
706
+ )
707
+ GithubReposCreateDeploymentProtectionRuleInput = TypedDict(
708
+ "GithubReposCreateDeploymentProtectionRuleInput",
709
+ {
710
+ "path": Required["GithubReposCreateDeploymentProtectionRuleInputPath"],
711
+ "body": Required["GithubReposCreateDeploymentProtectionRuleInputBody"],
712
+ },
713
+ total=False,
714
+ )
715
+ GithubReposCreateDeploymentProtectionRuleInputBody = TypedDict(
716
+ "GithubReposCreateDeploymentProtectionRuleInputBody",
717
+ {"integration_id": NotRequired["int"]},
718
+ total=False,
719
+ )
720
+ GithubReposCreateDeploymentProtectionRuleInputPath = TypedDict(
721
+ "GithubReposCreateDeploymentProtectionRuleInputPath",
722
+ {"environment_name": Required["str"], "repo": Required["str"], "owner": Required["str"]},
723
+ total=False,
724
+ )
725
+ GithubReposCreateDeploymentProtectionRuleOutput: TypeAlias = "OutputdeploymentProtectionRule"
726
+ GithubReposCreateDeploymentStatusInput = TypedDict(
727
+ "GithubReposCreateDeploymentStatusInput",
728
+ {
729
+ "path": Required["GithubReposCreateDeploymentStatusInputPath"],
730
+ "body": Required["GithubReposCreateDeploymentStatusInputBody"],
731
+ },
732
+ total=False,
733
+ )
734
+ GithubReposCreateDeploymentStatusInputBody = TypedDict(
735
+ "GithubReposCreateDeploymentStatusInputBody",
736
+ {
737
+ "auto_inactive": NotRequired["bool"],
738
+ "description": NotRequired["str"],
739
+ "environment": NotRequired["str"],
740
+ "environment_url": NotRequired["str"],
741
+ "log_url": NotRequired["str"],
742
+ "state": Required[
743
+ "Literal['error', 'failure', 'inactive', 'in_progress', 'queued', 'pending', 'success']"
744
+ ],
745
+ "target_url": NotRequired["str"],
746
+ },
747
+ total=False,
748
+ )
749
+ GithubReposCreateDeploymentStatusInputPath = TypedDict(
750
+ "GithubReposCreateDeploymentStatusInputPath",
751
+ {"owner": Required["str"], "repo": Required["str"], "deployment_id": Required["int"]},
752
+ total=False,
753
+ )
754
+ GithubReposCreateDeploymentStatusOutput: TypeAlias = "OutputdeploymentStatus"
755
+ GithubReposCreateDispatchEventInput = TypedDict(
756
+ "GithubReposCreateDispatchEventInput",
757
+ {
758
+ "path": Required["GithubReposCreateDispatchEventInputPath"],
759
+ "body": Required["GithubReposCreateDispatchEventInputBody"],
760
+ },
761
+ total=False,
762
+ )
763
+ GithubReposCreateDispatchEventInputBody = TypedDict(
764
+ "GithubReposCreateDispatchEventInputBody",
765
+ {"client_payload": NotRequired["dict[str, object]"], "event_type": Required["str"]},
766
+ total=False,
767
+ )
768
+ GithubReposCreateDispatchEventInputPath = TypedDict(
769
+ "GithubReposCreateDispatchEventInputPath",
770
+ {"owner": Required["str"], "repo": Required["str"]},
771
+ total=False,
772
+ )
773
+ GithubReposCreateDispatchEventOutput: TypeAlias = "None"
774
+ GithubReposCreateForAuthenticatedUserInput = TypedDict(
775
+ "GithubReposCreateForAuthenticatedUserInput",
776
+ {"body": Required["GithubReposCreateForAuthenticatedUserInputBody"]},
777
+ total=False,
778
+ )
779
+ GithubReposCreateForAuthenticatedUserInputBody = TypedDict(
780
+ "GithubReposCreateForAuthenticatedUserInputBody",
781
+ {
782
+ "allow_auto_merge": NotRequired["bool"],
783
+ "allow_merge_commit": NotRequired["bool"],
784
+ "allow_rebase_merge": NotRequired["bool"],
785
+ "allow_squash_merge": NotRequired["bool"],
786
+ "auto_init": NotRequired["bool"],
787
+ "delete_branch_on_merge": NotRequired["bool"],
788
+ "description": NotRequired["str"],
789
+ "gitignore_template": NotRequired["str"],
790
+ "has_discussions": NotRequired["bool"],
791
+ "has_downloads": NotRequired["bool"],
792
+ "has_issues": NotRequired["bool"],
793
+ "has_projects": NotRequired["bool"],
794
+ "has_wiki": NotRequired["bool"],
795
+ "homepage": NotRequired["str"],
796
+ "is_template": NotRequired["bool"],
797
+ "license_template": NotRequired["str"],
798
+ "merge_commit_message": NotRequired["Literal['PR_BODY', 'PR_TITLE', 'BLANK']"],
799
+ "merge_commit_title": NotRequired["Literal['PR_TITLE', 'MERGE_MESSAGE']"],
800
+ "name": Required["str"],
801
+ "private": NotRequired["bool"],
802
+ "squash_merge_commit_message": NotRequired[
803
+ "Literal['PR_BODY', 'COMMIT_MESSAGES', 'BLANK']"
804
+ ],
805
+ "squash_merge_commit_title": NotRequired["Literal['PR_TITLE', 'COMMIT_OR_PR_TITLE']"],
806
+ "team_id": NotRequired["int"],
807
+ },
808
+ total=False,
809
+ )
810
+ GithubReposCreateForAuthenticatedUserOutput: TypeAlias = "OutputfullRepository"
811
+ GithubReposCreateForkInput = TypedDict(
812
+ "GithubReposCreateForkInput",
813
+ {
814
+ "path": Required["GithubReposCreateForkInputPath"],
815
+ "body": NotRequired["GithubReposCreateForkInputBodyVariant0 | None"],
816
+ },
817
+ total=False,
818
+ )
819
+ GithubReposCreateForkInputBodyVariant0 = TypedDict(
820
+ "GithubReposCreateForkInputBodyVariant0",
821
+ {
822
+ "default_branch_only": NotRequired["bool"],
823
+ "name": NotRequired["str"],
824
+ "organization": NotRequired["str"],
825
+ },
826
+ total=False,
827
+ )
828
+ GithubReposCreateForkInputPath = TypedDict(
829
+ "GithubReposCreateForkInputPath",
830
+ {"owner": Required["str"], "repo": Required["str"]},
831
+ total=False,
832
+ )
833
+ GithubReposCreateForkOutput: TypeAlias = "OutputfullRepository"
834
+ GithubReposCreateInOrgInput = TypedDict(
835
+ "GithubReposCreateInOrgInput",
836
+ {
837
+ "path": Required["GithubReposCreateInOrgInputPath"],
838
+ "body": Required["GithubReposCreateInOrgInputBody"],
839
+ },
840
+ total=False,
841
+ )
842
+ GithubReposCreateInOrgInputBody = TypedDict(
843
+ "GithubReposCreateInOrgInputBody",
844
+ {
845
+ "allow_auto_merge": NotRequired["bool"],
846
+ "allow_merge_commit": NotRequired["bool"],
847
+ "allow_rebase_merge": NotRequired["bool"],
848
+ "allow_squash_merge": NotRequired["bool"],
849
+ "auto_init": NotRequired["bool"],
850
+ "custom_properties": NotRequired["dict[str, object]"],
851
+ "delete_branch_on_merge": NotRequired["bool"],
852
+ "description": NotRequired["str"],
853
+ "gitignore_template": NotRequired["str"],
854
+ "has_downloads": NotRequired["bool"],
855
+ "has_issues": NotRequired["bool"],
856
+ "has_projects": NotRequired["bool"],
857
+ "has_wiki": NotRequired["bool"],
858
+ "homepage": NotRequired["str"],
859
+ "is_template": NotRequired["bool"],
860
+ "license_template": NotRequired["str"],
861
+ "merge_commit_message": NotRequired["Literal['PR_BODY', 'PR_TITLE', 'BLANK']"],
862
+ "merge_commit_title": NotRequired["Literal['PR_TITLE', 'MERGE_MESSAGE']"],
863
+ "name": Required["str"],
864
+ "private": NotRequired["bool"],
865
+ "squash_merge_commit_message": NotRequired[
866
+ "Literal['PR_BODY', 'COMMIT_MESSAGES', 'BLANK']"
867
+ ],
868
+ "squash_merge_commit_title": NotRequired["Literal['PR_TITLE', 'COMMIT_OR_PR_TITLE']"],
869
+ "team_id": NotRequired["int"],
870
+ "use_squash_pr_title_as_default": NotRequired["bool"],
871
+ "visibility": NotRequired["Literal['public', 'private']"],
872
+ },
873
+ total=False,
874
+ )
875
+ GithubReposCreateInOrgInputPath = TypedDict(
876
+ "GithubReposCreateInOrgInputPath", {"org": Required["str"]}, total=False
877
+ )
878
+ GithubReposCreateInOrgOutput: TypeAlias = "OutputfullRepository"
879
+ GithubReposCreateOrUpdateEnvironmentInput = TypedDict(
880
+ "GithubReposCreateOrUpdateEnvironmentInput",
881
+ {
882
+ "path": Required["GithubReposCreateOrUpdateEnvironmentInputPath"],
883
+ "body": NotRequired["GithubReposCreateOrUpdateEnvironmentInputBodyVariant0 | None"],
884
+ },
885
+ total=False,
886
+ )
887
+ GithubReposCreateOrUpdateEnvironmentInputBodyVariant0 = TypedDict(
888
+ "GithubReposCreateOrUpdateEnvironmentInputBodyVariant0",
889
+ {
890
+ "deployment_branch_policy": NotRequired["DeploymentBranchPolicySettings"],
891
+ "prevent_self_review": NotRequired["PreventSelfReview"],
892
+ "reviewers": NotRequired[
893
+ "list[GithubReposCreateOrUpdateEnvironmentInputBodyVariant0ReviewersVariant0Item] | None"
894
+ ],
895
+ "wait_timer": NotRequired["WaitTimer"],
896
+ },
897
+ total=False,
898
+ )
899
+ GithubReposCreateOrUpdateEnvironmentInputBodyVariant0ReviewersVariant0Item = TypedDict(
900
+ "GithubReposCreateOrUpdateEnvironmentInputBodyVariant0ReviewersVariant0Item",
901
+ {"id": NotRequired["int"], "type": NotRequired["DeploymentReviewerType"]},
902
+ total=False,
903
+ )
904
+ GithubReposCreateOrUpdateEnvironmentInputPath = TypedDict(
905
+ "GithubReposCreateOrUpdateEnvironmentInputPath",
906
+ {"owner": Required["str"], "repo": Required["str"], "environment_name": Required["str"]},
907
+ total=False,
908
+ )
909
+ GithubReposCreateOrUpdateEnvironmentOutput: TypeAlias = "Outputenvironment"
910
+ GithubReposCreateOrUpdateFileContentsInput = TypedDict(
911
+ "GithubReposCreateOrUpdateFileContentsInput",
912
+ {
913
+ "path": Required["GithubReposCreateOrUpdateFileContentsInputPath"],
914
+ "body": Required["GithubReposCreateOrUpdateFileContentsInputBody"],
915
+ },
916
+ total=False,
917
+ )
918
+ GithubReposCreateOrUpdateFileContentsInputBody = TypedDict(
919
+ "GithubReposCreateOrUpdateFileContentsInputBody",
920
+ {
921
+ "author": NotRequired["GithubReposCreateOrUpdateFileContentsInputBodyAuthor"],
922
+ "branch": NotRequired["str"],
923
+ "committer": NotRequired["GithubReposCreateOrUpdateFileContentsInputBodyCommitter"],
924
+ "content": Required["str"],
925
+ "message": Required["str"],
926
+ "sha": NotRequired["str"],
927
+ },
928
+ total=False,
929
+ )
930
+ GithubReposCreateOrUpdateFileContentsInputBodyAuthor = TypedDict(
931
+ "GithubReposCreateOrUpdateFileContentsInputBodyAuthor",
932
+ {"date": NotRequired["str"], "email": Required["str"], "name": Required["str"]},
933
+ total=False,
934
+ )
935
+ GithubReposCreateOrUpdateFileContentsInputBodyCommitter = TypedDict(
936
+ "GithubReposCreateOrUpdateFileContentsInputBodyCommitter",
937
+ {"date": NotRequired["str"], "email": Required["str"], "name": Required["str"]},
938
+ total=False,
939
+ )
940
+ GithubReposCreateOrUpdateFileContentsInputPath = TypedDict(
941
+ "GithubReposCreateOrUpdateFileContentsInputPath",
942
+ {"owner": Required["str"], "repo": Required["str"], "path": Required["str"]},
943
+ total=False,
944
+ )
945
+ GithubReposCreateOrUpdateFileContentsOutput: TypeAlias = "OutputfileCommit"
946
+ GithubReposCreateOrgRulesetInput = TypedDict(
947
+ "GithubReposCreateOrgRulesetInput",
948
+ {
949
+ "path": Required["GithubReposCreateOrgRulesetInputPath"],
950
+ "body": Required["GithubReposCreateOrgRulesetInputBody"],
951
+ },
952
+ total=False,
953
+ )
954
+ GithubReposCreateOrgRulesetInputBody = TypedDict(
955
+ "GithubReposCreateOrgRulesetInputBody",
956
+ {
957
+ "bypass_actors": NotRequired["list[RepositoryRulesetBypassActor]"],
958
+ "conditions": NotRequired["OrgRulesetConditions"],
959
+ "enforcement": Required["RepositoryRuleEnforcement"],
960
+ "name": Required["str"],
961
+ "rules": NotRequired["list[OrgRules]"],
962
+ "target": NotRequired["Literal['branch', 'tag', 'push', 'repository']"],
963
+ },
964
+ total=False,
965
+ )
966
+ GithubReposCreateOrgRulesetInputPath = TypedDict(
967
+ "GithubReposCreateOrgRulesetInputPath", {"org": Required["str"]}, total=False
968
+ )
969
+ GithubReposCreateOrgRulesetOutput: TypeAlias = "OutputrepositoryRuleset"
970
+ GithubReposCreatePagesDeploymentInput = TypedDict(
971
+ "GithubReposCreatePagesDeploymentInput",
972
+ {
973
+ "path": Required["GithubReposCreatePagesDeploymentInputPath"],
974
+ "body": Required["GithubReposCreatePagesDeploymentInputBody"],
975
+ },
976
+ total=False,
977
+ )
978
+ GithubReposCreatePagesDeploymentInputBody = TypedDict(
979
+ "GithubReposCreatePagesDeploymentInputBody",
980
+ {
981
+ "artifact_id": NotRequired["float"],
982
+ "artifact_url": NotRequired["str"],
983
+ "environment": NotRequired["str"],
984
+ "oidc_token": Required["str"],
985
+ "pages_build_version": Required["str"],
986
+ },
987
+ total=False,
988
+ )
989
+ GithubReposCreatePagesDeploymentInputPath = TypedDict(
990
+ "GithubReposCreatePagesDeploymentInputPath",
991
+ {"owner": Required["str"], "repo": Required["str"]},
992
+ total=False,
993
+ )
994
+ GithubReposCreatePagesDeploymentOutput: TypeAlias = "OutputpageDeployment"
995
+ GithubReposCreatePagesSiteInput = TypedDict(
996
+ "GithubReposCreatePagesSiteInput",
997
+ {
998
+ "path": Required["GithubReposCreatePagesSiteInputPath"],
999
+ "body": Required[
1000
+ "Union[GithubReposCreatePagesSiteInputBodyVariant0Variant0 | GithubReposCreatePagesSiteInputBodyVariant0Variant1, None]"
1001
+ ],
1002
+ },
1003
+ total=False,
1004
+ )
1005
+ GithubReposCreatePagesSiteInputBodyVariant0Variant0 = TypedDict(
1006
+ "GithubReposCreatePagesSiteInputBodyVariant0Variant0",
1007
+ {
1008
+ "build_type": NotRequired["Literal['legacy', 'workflow']"],
1009
+ "source": Required["GithubReposCreatePagesSiteInputBodyVariant0Variant0Source"],
1010
+ },
1011
+ total=False,
1012
+ )
1013
+ GithubReposCreatePagesSiteInputBodyVariant0Variant0Source = TypedDict(
1014
+ "GithubReposCreatePagesSiteInputBodyVariant0Variant0Source",
1015
+ {"branch": Required["str"], "path": NotRequired["Literal['/', '/docs']"]},
1016
+ total=False,
1017
+ )
1018
+ GithubReposCreatePagesSiteInputBodyVariant0Variant1 = TypedDict(
1019
+ "GithubReposCreatePagesSiteInputBodyVariant0Variant1",
1020
+ {
1021
+ "build_type": Required["Literal['legacy', 'workflow']"],
1022
+ "source": NotRequired["GithubReposCreatePagesSiteInputBodyVariant0Variant1Source"],
1023
+ },
1024
+ total=False,
1025
+ )
1026
+ GithubReposCreatePagesSiteInputBodyVariant0Variant1Source = TypedDict(
1027
+ "GithubReposCreatePagesSiteInputBodyVariant0Variant1Source",
1028
+ {"branch": Required["str"], "path": NotRequired["Literal['/', '/docs']"]},
1029
+ total=False,
1030
+ )
1031
+ GithubReposCreatePagesSiteInputPath = TypedDict(
1032
+ "GithubReposCreatePagesSiteInputPath",
1033
+ {"owner": Required["str"], "repo": Required["str"]},
1034
+ total=False,
1035
+ )
1036
+ GithubReposCreatePagesSiteOutput: TypeAlias = "Outputpage"
1037
+ GithubReposCreateReleaseInput = TypedDict(
1038
+ "GithubReposCreateReleaseInput",
1039
+ {
1040
+ "path": Required["GithubReposCreateReleaseInputPath"],
1041
+ "body": Required["GithubReposCreateReleaseInputBody"],
1042
+ },
1043
+ total=False,
1044
+ )
1045
+ GithubReposCreateReleaseInputBody = TypedDict(
1046
+ "GithubReposCreateReleaseInputBody",
1047
+ {
1048
+ "body": NotRequired["str"],
1049
+ "discussion_category_name": NotRequired["str"],
1050
+ "draft": NotRequired["bool"],
1051
+ "generate_release_notes": NotRequired["bool"],
1052
+ "make_latest": NotRequired["Literal['true', 'false', 'legacy']"],
1053
+ "name": NotRequired["str"],
1054
+ "prerelease": NotRequired["bool"],
1055
+ "tag_name": Required["str"],
1056
+ "target_commitish": NotRequired["str"],
1057
+ },
1058
+ total=False,
1059
+ )
1060
+ GithubReposCreateReleaseInputPath = TypedDict(
1061
+ "GithubReposCreateReleaseInputPath",
1062
+ {"owner": Required["str"], "repo": Required["str"]},
1063
+ total=False,
1064
+ )
1065
+ GithubReposCreateReleaseOutput: TypeAlias = "Outputrelease"
1066
+ GithubReposCreateRepoRulesetInput = TypedDict(
1067
+ "GithubReposCreateRepoRulesetInput",
1068
+ {
1069
+ "path": Required["GithubReposCreateRepoRulesetInputPath"],
1070
+ "body": Required["GithubReposCreateRepoRulesetInputBody"],
1071
+ },
1072
+ total=False,
1073
+ )
1074
+ GithubReposCreateRepoRulesetInputBody = TypedDict(
1075
+ "GithubReposCreateRepoRulesetInputBody",
1076
+ {
1077
+ "bypass_actors": NotRequired["list[RepositoryRulesetBypassActor]"],
1078
+ "conditions": NotRequired["RepositoryRulesetConditions"],
1079
+ "enforcement": Required["RepositoryRuleEnforcement"],
1080
+ "name": Required["str"],
1081
+ "rules": NotRequired["list[RepositoryRule]"],
1082
+ "target": NotRequired["Literal['branch', 'tag', 'push']"],
1083
+ },
1084
+ total=False,
1085
+ )
1086
+ GithubReposCreateRepoRulesetInputPath = TypedDict(
1087
+ "GithubReposCreateRepoRulesetInputPath",
1088
+ {"owner": Required["str"], "repo": Required["str"]},
1089
+ total=False,
1090
+ )
1091
+ GithubReposCreateRepoRulesetOutput: TypeAlias = "OutputrepositoryRuleset"
1092
+ GithubReposCreateUsingTemplateInput = TypedDict(
1093
+ "GithubReposCreateUsingTemplateInput",
1094
+ {
1095
+ "path": Required["GithubReposCreateUsingTemplateInputPath"],
1096
+ "body": Required["GithubReposCreateUsingTemplateInputBody"],
1097
+ },
1098
+ total=False,
1099
+ )
1100
+ GithubReposCreateUsingTemplateInputBody = TypedDict(
1101
+ "GithubReposCreateUsingTemplateInputBody",
1102
+ {
1103
+ "description": NotRequired["str"],
1104
+ "include_all_branches": NotRequired["bool"],
1105
+ "name": Required["str"],
1106
+ "owner": NotRequired["str"],
1107
+ "private": NotRequired["bool"],
1108
+ },
1109
+ total=False,
1110
+ )
1111
+ GithubReposCreateUsingTemplateInputPath = TypedDict(
1112
+ "GithubReposCreateUsingTemplateInputPath",
1113
+ {"template_owner": Required["str"], "template_repo": Required["str"]},
1114
+ total=False,
1115
+ )
1116
+ GithubReposCreateUsingTemplateOutput: TypeAlias = "OutputfullRepository"
1117
+ GithubReposCreateWebhookInput = TypedDict(
1118
+ "GithubReposCreateWebhookInput",
1119
+ {
1120
+ "path": Required["GithubReposCreateWebhookInputPath"],
1121
+ "body": NotRequired["GithubReposCreateWebhookInputBodyVariant0 | None"],
1122
+ },
1123
+ total=False,
1124
+ )
1125
+ GithubReposCreateWebhookInputBodyVariant0 = TypedDict(
1126
+ "GithubReposCreateWebhookInputBodyVariant0",
1127
+ {
1128
+ "active": NotRequired["bool"],
1129
+ "config": NotRequired["GithubReposCreateWebhookInputBodyVariant0Config"],
1130
+ "events": NotRequired["list[str]"],
1131
+ "name": NotRequired["str"],
1132
+ },
1133
+ total=False,
1134
+ )
1135
+ GithubReposCreateWebhookInputBodyVariant0Config = TypedDict(
1136
+ "GithubReposCreateWebhookInputBodyVariant0Config",
1137
+ {
1138
+ "content_type": NotRequired["WebhookConfigContentType"],
1139
+ "insecure_ssl": NotRequired["WebhookConfigInsecureSsl"],
1140
+ "secret": NotRequired["WebhookConfigSecret"],
1141
+ "url": NotRequired["WebhookConfigUrl"],
1142
+ },
1143
+ total=False,
1144
+ )
1145
+ GithubReposCreateWebhookInputPath = TypedDict(
1146
+ "GithubReposCreateWebhookInputPath",
1147
+ {"owner": Required["str"], "repo": Required["str"]},
1148
+ total=False,
1149
+ )
1150
+ GithubReposCreateWebhookOutput: TypeAlias = "Outputhook"
1151
+ GithubReposCustomPropertiesForReposCreateOrUpdateRepositoryValuesInput = TypedDict(
1152
+ "GithubReposCustomPropertiesForReposCreateOrUpdateRepositoryValuesInput",
1153
+ {
1154
+ "path": Required[
1155
+ "GithubReposCustomPropertiesForReposCreateOrUpdateRepositoryValuesInputPath"
1156
+ ],
1157
+ "body": Required[
1158
+ "GithubReposCustomPropertiesForReposCreateOrUpdateRepositoryValuesInputBody"
1159
+ ],
1160
+ },
1161
+ total=False,
1162
+ )
1163
+ GithubReposCustomPropertiesForReposCreateOrUpdateRepositoryValuesInputBody = TypedDict(
1164
+ "GithubReposCustomPropertiesForReposCreateOrUpdateRepositoryValuesInputBody",
1165
+ {"properties": Required["list[CustomPropertyValue]"]},
1166
+ total=False,
1167
+ )
1168
+ GithubReposCustomPropertiesForReposCreateOrUpdateRepositoryValuesInputPath = TypedDict(
1169
+ "GithubReposCustomPropertiesForReposCreateOrUpdateRepositoryValuesInputPath",
1170
+ {"owner": Required["str"], "repo": Required["str"]},
1171
+ total=False,
1172
+ )
1173
+ GithubReposCustomPropertiesForReposCreateOrUpdateRepositoryValuesOutput: TypeAlias = "None"
1174
+ GithubReposCustomPropertiesForReposGetRepositoryValuesInput = TypedDict(
1175
+ "GithubReposCustomPropertiesForReposGetRepositoryValuesInput",
1176
+ {"path": Required["GithubReposCustomPropertiesForReposGetRepositoryValuesInputPath"]},
1177
+ total=False,
1178
+ )
1179
+ GithubReposCustomPropertiesForReposGetRepositoryValuesInputPath = TypedDict(
1180
+ "GithubReposCustomPropertiesForReposGetRepositoryValuesInputPath",
1181
+ {"owner": Required["str"], "repo": Required["str"]},
1182
+ total=False,
1183
+ )
1184
+ GithubReposCustomPropertiesForReposGetRepositoryValuesOutput: TypeAlias = (
1185
+ "list[OutputcustomPropertyValue]"
1186
+ )
1187
+ GithubReposDeclineInvitationForAuthenticatedUserInput = TypedDict(
1188
+ "GithubReposDeclineInvitationForAuthenticatedUserInput",
1189
+ {"path": Required["GithubReposDeclineInvitationForAuthenticatedUserInputPath"]},
1190
+ total=False,
1191
+ )
1192
+ GithubReposDeclineInvitationForAuthenticatedUserInputPath = TypedDict(
1193
+ "GithubReposDeclineInvitationForAuthenticatedUserInputPath",
1194
+ {"invitation_id": Required["int"]},
1195
+ total=False,
1196
+ )
1197
+ GithubReposDeclineInvitationForAuthenticatedUserOutput: TypeAlias = "None"
1198
+ GithubReposDeleteAccessRestrictionsInput = TypedDict(
1199
+ "GithubReposDeleteAccessRestrictionsInput",
1200
+ {"path": Required["GithubReposDeleteAccessRestrictionsInputPath"]},
1201
+ total=False,
1202
+ )
1203
+ GithubReposDeleteAccessRestrictionsInputPath = TypedDict(
1204
+ "GithubReposDeleteAccessRestrictionsInputPath",
1205
+ {"owner": Required["str"], "repo": Required["str"], "branch": Required["str"]},
1206
+ total=False,
1207
+ )
1208
+ GithubReposDeleteAccessRestrictionsOutput: TypeAlias = "None"
1209
+ GithubReposDeleteAdminBranchProtectionInput = TypedDict(
1210
+ "GithubReposDeleteAdminBranchProtectionInput",
1211
+ {"path": Required["GithubReposDeleteAdminBranchProtectionInputPath"]},
1212
+ total=False,
1213
+ )
1214
+ GithubReposDeleteAdminBranchProtectionInputPath = TypedDict(
1215
+ "GithubReposDeleteAdminBranchProtectionInputPath",
1216
+ {"owner": Required["str"], "repo": Required["str"], "branch": Required["str"]},
1217
+ total=False,
1218
+ )
1219
+ GithubReposDeleteAdminBranchProtectionOutput: TypeAlias = "None"
1220
+ GithubReposDeleteAnEnvironmentInput = TypedDict(
1221
+ "GithubReposDeleteAnEnvironmentInput",
1222
+ {"path": Required["GithubReposDeleteAnEnvironmentInputPath"]},
1223
+ total=False,
1224
+ )
1225
+ GithubReposDeleteAnEnvironmentInputPath = TypedDict(
1226
+ "GithubReposDeleteAnEnvironmentInputPath",
1227
+ {"owner": Required["str"], "repo": Required["str"], "environment_name": Required["str"]},
1228
+ total=False,
1229
+ )
1230
+ GithubReposDeleteAnEnvironmentOutput: TypeAlias = "None"
1231
+ GithubReposDeleteAutolinkInput = TypedDict(
1232
+ "GithubReposDeleteAutolinkInput",
1233
+ {"path": Required["GithubReposDeleteAutolinkInputPath"]},
1234
+ total=False,
1235
+ )
1236
+ GithubReposDeleteAutolinkInputPath = TypedDict(
1237
+ "GithubReposDeleteAutolinkInputPath",
1238
+ {"owner": Required["str"], "repo": Required["str"], "autolink_id": Required["int"]},
1239
+ total=False,
1240
+ )
1241
+ GithubReposDeleteAutolinkOutput: TypeAlias = "None"
1242
+ GithubReposDeleteBranchProtectionInput = TypedDict(
1243
+ "GithubReposDeleteBranchProtectionInput",
1244
+ {"path": Required["GithubReposDeleteBranchProtectionInputPath"]},
1245
+ total=False,
1246
+ )
1247
+ GithubReposDeleteBranchProtectionInputPath = TypedDict(
1248
+ "GithubReposDeleteBranchProtectionInputPath",
1249
+ {"owner": Required["str"], "repo": Required["str"], "branch": Required["str"]},
1250
+ total=False,
1251
+ )
1252
+ GithubReposDeleteBranchProtectionOutput: TypeAlias = "None"
1253
+ GithubReposDeleteCommitCommentInput = TypedDict(
1254
+ "GithubReposDeleteCommitCommentInput",
1255
+ {"path": Required["GithubReposDeleteCommitCommentInputPath"]},
1256
+ total=False,
1257
+ )
1258
+ GithubReposDeleteCommitCommentInputPath = TypedDict(
1259
+ "GithubReposDeleteCommitCommentInputPath",
1260
+ {"owner": Required["str"], "repo": Required["str"], "comment_id": Required["int"]},
1261
+ total=False,
1262
+ )
1263
+ GithubReposDeleteCommitCommentOutput: TypeAlias = "None"
1264
+ GithubReposDeleteCommitSignatureProtectionInput = TypedDict(
1265
+ "GithubReposDeleteCommitSignatureProtectionInput",
1266
+ {"path": Required["GithubReposDeleteCommitSignatureProtectionInputPath"]},
1267
+ total=False,
1268
+ )
1269
+ GithubReposDeleteCommitSignatureProtectionInputPath = TypedDict(
1270
+ "GithubReposDeleteCommitSignatureProtectionInputPath",
1271
+ {"owner": Required["str"], "repo": Required["str"], "branch": Required["str"]},
1272
+ total=False,
1273
+ )
1274
+ GithubReposDeleteCommitSignatureProtectionOutput: TypeAlias = "None"
1275
+ GithubReposDeleteDeployKeyInput = TypedDict(
1276
+ "GithubReposDeleteDeployKeyInput",
1277
+ {"path": Required["GithubReposDeleteDeployKeyInputPath"]},
1278
+ total=False,
1279
+ )
1280
+ GithubReposDeleteDeployKeyInputPath = TypedDict(
1281
+ "GithubReposDeleteDeployKeyInputPath",
1282
+ {"owner": Required["str"], "repo": Required["str"], "key_id": Required["int"]},
1283
+ total=False,
1284
+ )
1285
+ GithubReposDeleteDeployKeyOutput: TypeAlias = "None"
1286
+ GithubReposDeleteDeploymentBranchPolicyInput = TypedDict(
1287
+ "GithubReposDeleteDeploymentBranchPolicyInput",
1288
+ {"path": Required["GithubReposDeleteDeploymentBranchPolicyInputPath"]},
1289
+ total=False,
1290
+ )
1291
+ GithubReposDeleteDeploymentBranchPolicyInputPath = TypedDict(
1292
+ "GithubReposDeleteDeploymentBranchPolicyInputPath",
1293
+ {
1294
+ "owner": Required["str"],
1295
+ "repo": Required["str"],
1296
+ "environment_name": Required["str"],
1297
+ "branch_policy_id": Required["int"],
1298
+ },
1299
+ total=False,
1300
+ )
1301
+ GithubReposDeleteDeploymentBranchPolicyOutput: TypeAlias = "None"
1302
+ GithubReposDeleteDeploymentInput = TypedDict(
1303
+ "GithubReposDeleteDeploymentInput",
1304
+ {"path": Required["GithubReposDeleteDeploymentInputPath"]},
1305
+ total=False,
1306
+ )
1307
+ GithubReposDeleteDeploymentInputPath = TypedDict(
1308
+ "GithubReposDeleteDeploymentInputPath",
1309
+ {"owner": Required["str"], "repo": Required["str"], "deployment_id": Required["int"]},
1310
+ total=False,
1311
+ )
1312
+ GithubReposDeleteDeploymentOutput: TypeAlias = "None"
1313
+ GithubReposDeleteFileInput = TypedDict(
1314
+ "GithubReposDeleteFileInput",
1315
+ {
1316
+ "path": Required["GithubReposDeleteFileInputPath"],
1317
+ "body": Required["GithubReposDeleteFileInputBody"],
1318
+ },
1319
+ total=False,
1320
+ )
1321
+ GithubReposDeleteFileInputBody = TypedDict(
1322
+ "GithubReposDeleteFileInputBody",
1323
+ {
1324
+ "author": NotRequired["GithubReposDeleteFileInputBodyAuthor"],
1325
+ "branch": NotRequired["str"],
1326
+ "committer": NotRequired["GithubReposDeleteFileInputBodyCommitter"],
1327
+ "message": Required["str"],
1328
+ "sha": Required["str"],
1329
+ },
1330
+ total=False,
1331
+ )
1332
+ GithubReposDeleteFileInputBodyAuthor = TypedDict(
1333
+ "GithubReposDeleteFileInputBodyAuthor",
1334
+ {"email": NotRequired["str"], "name": NotRequired["str"]},
1335
+ total=False,
1336
+ )
1337
+ GithubReposDeleteFileInputBodyCommitter = TypedDict(
1338
+ "GithubReposDeleteFileInputBodyCommitter",
1339
+ {"email": NotRequired["str"], "name": NotRequired["str"]},
1340
+ total=False,
1341
+ )
1342
+ GithubReposDeleteFileInputPath = TypedDict(
1343
+ "GithubReposDeleteFileInputPath",
1344
+ {"owner": Required["str"], "repo": Required["str"], "path": Required["str"]},
1345
+ total=False,
1346
+ )
1347
+ GithubReposDeleteFileOutput: TypeAlias = "OutputfileCommit"
1348
+ GithubReposDeleteInput = TypedDict(
1349
+ "GithubReposDeleteInput", {"path": Required["GithubReposDeleteInputPath"]}, total=False
1350
+ )
1351
+ GithubReposDeleteInputPath = TypedDict(
1352
+ "GithubReposDeleteInputPath", {"owner": Required["str"], "repo": Required["str"]}, total=False
1353
+ )
1354
+ GithubReposDeleteInvitationInput = TypedDict(
1355
+ "GithubReposDeleteInvitationInput",
1356
+ {"path": Required["GithubReposDeleteInvitationInputPath"]},
1357
+ total=False,
1358
+ )
1359
+ GithubReposDeleteInvitationInputPath = TypedDict(
1360
+ "GithubReposDeleteInvitationInputPath",
1361
+ {"owner": Required["str"], "repo": Required["str"], "invitation_id": Required["int"]},
1362
+ total=False,
1363
+ )
1364
+ GithubReposDeleteInvitationOutput: TypeAlias = "None"
1365
+ GithubReposDeleteOrgRulesetInput = TypedDict(
1366
+ "GithubReposDeleteOrgRulesetInput",
1367
+ {"path": Required["GithubReposDeleteOrgRulesetInputPath"]},
1368
+ total=False,
1369
+ )
1370
+ GithubReposDeleteOrgRulesetInputPath = TypedDict(
1371
+ "GithubReposDeleteOrgRulesetInputPath",
1372
+ {"org": Required["str"], "ruleset_id": Required["int"]},
1373
+ total=False,
1374
+ )
1375
+ GithubReposDeleteOrgRulesetOutput: TypeAlias = "None"
1376
+ GithubReposDeleteOutput: TypeAlias = "None"
1377
+ GithubReposDeletePagesSiteInput = TypedDict(
1378
+ "GithubReposDeletePagesSiteInput",
1379
+ {"path": Required["GithubReposDeletePagesSiteInputPath"]},
1380
+ total=False,
1381
+ )
1382
+ GithubReposDeletePagesSiteInputPath = TypedDict(
1383
+ "GithubReposDeletePagesSiteInputPath",
1384
+ {"owner": Required["str"], "repo": Required["str"]},
1385
+ total=False,
1386
+ )
1387
+ GithubReposDeletePagesSiteOutput: TypeAlias = "None"
1388
+ GithubReposDeletePullRequestReviewProtectionInput = TypedDict(
1389
+ "GithubReposDeletePullRequestReviewProtectionInput",
1390
+ {"path": Required["GithubReposDeletePullRequestReviewProtectionInputPath"]},
1391
+ total=False,
1392
+ )
1393
+ GithubReposDeletePullRequestReviewProtectionInputPath = TypedDict(
1394
+ "GithubReposDeletePullRequestReviewProtectionInputPath",
1395
+ {"owner": Required["str"], "repo": Required["str"], "branch": Required["str"]},
1396
+ total=False,
1397
+ )
1398
+ GithubReposDeletePullRequestReviewProtectionOutput: TypeAlias = "None"
1399
+ GithubReposDeleteReleaseAssetInput = TypedDict(
1400
+ "GithubReposDeleteReleaseAssetInput",
1401
+ {"path": Required["GithubReposDeleteReleaseAssetInputPath"]},
1402
+ total=False,
1403
+ )
1404
+ GithubReposDeleteReleaseAssetInputPath = TypedDict(
1405
+ "GithubReposDeleteReleaseAssetInputPath",
1406
+ {"owner": Required["str"], "repo": Required["str"], "asset_id": Required["int"]},
1407
+ total=False,
1408
+ )
1409
+ GithubReposDeleteReleaseAssetOutput: TypeAlias = "None"
1410
+ GithubReposDeleteReleaseInput = TypedDict(
1411
+ "GithubReposDeleteReleaseInput",
1412
+ {"path": Required["GithubReposDeleteReleaseInputPath"]},
1413
+ total=False,
1414
+ )
1415
+ GithubReposDeleteReleaseInputPath = TypedDict(
1416
+ "GithubReposDeleteReleaseInputPath",
1417
+ {"owner": Required["str"], "repo": Required["str"], "release_id": Required["int"]},
1418
+ total=False,
1419
+ )
1420
+ GithubReposDeleteReleaseOutput: TypeAlias = "None"
1421
+ GithubReposDeleteRepoRulesetInput = TypedDict(
1422
+ "GithubReposDeleteRepoRulesetInput",
1423
+ {"path": Required["GithubReposDeleteRepoRulesetInputPath"]},
1424
+ total=False,
1425
+ )
1426
+ GithubReposDeleteRepoRulesetInputPath = TypedDict(
1427
+ "GithubReposDeleteRepoRulesetInputPath",
1428
+ {"owner": Required["str"], "repo": Required["str"], "ruleset_id": Required["int"]},
1429
+ total=False,
1430
+ )
1431
+ GithubReposDeleteRepoRulesetOutput: TypeAlias = "None"
1432
+ GithubReposDeleteWebhookInput = TypedDict(
1433
+ "GithubReposDeleteWebhookInput",
1434
+ {"path": Required["GithubReposDeleteWebhookInputPath"]},
1435
+ total=False,
1436
+ )
1437
+ GithubReposDeleteWebhookInputPath = TypedDict(
1438
+ "GithubReposDeleteWebhookInputPath",
1439
+ {"owner": Required["str"], "repo": Required["str"], "hook_id": Required["int"]},
1440
+ total=False,
1441
+ )
1442
+ GithubReposDeleteWebhookOutput: TypeAlias = "None"
1443
+ GithubReposDisableAutomatedSecurityFixesInput = TypedDict(
1444
+ "GithubReposDisableAutomatedSecurityFixesInput",
1445
+ {"path": Required["GithubReposDisableAutomatedSecurityFixesInputPath"]},
1446
+ total=False,
1447
+ )
1448
+ GithubReposDisableAutomatedSecurityFixesInputPath = TypedDict(
1449
+ "GithubReposDisableAutomatedSecurityFixesInputPath",
1450
+ {"owner": Required["str"], "repo": Required["str"]},
1451
+ total=False,
1452
+ )
1453
+ GithubReposDisableAutomatedSecurityFixesOutput: TypeAlias = "None"
1454
+ GithubReposDisableDeploymentProtectionRuleInput = TypedDict(
1455
+ "GithubReposDisableDeploymentProtectionRuleInput",
1456
+ {"path": Required["GithubReposDisableDeploymentProtectionRuleInputPath"]},
1457
+ total=False,
1458
+ )
1459
+ GithubReposDisableDeploymentProtectionRuleInputPath = TypedDict(
1460
+ "GithubReposDisableDeploymentProtectionRuleInputPath",
1461
+ {
1462
+ "environment_name": Required["str"],
1463
+ "repo": Required["str"],
1464
+ "owner": Required["str"],
1465
+ "protection_rule_id": Required["int"],
1466
+ },
1467
+ total=False,
1468
+ )
1469
+ GithubReposDisableDeploymentProtectionRuleOutput: TypeAlias = "None"
1470
+ GithubReposDisableImmutableReleasesInput = TypedDict(
1471
+ "GithubReposDisableImmutableReleasesInput",
1472
+ {"path": Required["GithubReposDisableImmutableReleasesInputPath"]},
1473
+ total=False,
1474
+ )
1475
+ GithubReposDisableImmutableReleasesInputPath = TypedDict(
1476
+ "GithubReposDisableImmutableReleasesInputPath",
1477
+ {"owner": Required["str"], "repo": Required["str"]},
1478
+ total=False,
1479
+ )
1480
+ GithubReposDisableImmutableReleasesOutput: TypeAlias = "None"
1481
+ GithubReposDisablePrivateVulnerabilityReportingInput = TypedDict(
1482
+ "GithubReposDisablePrivateVulnerabilityReportingInput",
1483
+ {"path": Required["GithubReposDisablePrivateVulnerabilityReportingInputPath"]},
1484
+ total=False,
1485
+ )
1486
+ GithubReposDisablePrivateVulnerabilityReportingInputPath = TypedDict(
1487
+ "GithubReposDisablePrivateVulnerabilityReportingInputPath",
1488
+ {"owner": Required["str"], "repo": Required["str"]},
1489
+ total=False,
1490
+ )
1491
+ GithubReposDisablePrivateVulnerabilityReportingOutput: TypeAlias = "None"
1492
+ GithubReposDisableVulnerabilityAlertsInput = TypedDict(
1493
+ "GithubReposDisableVulnerabilityAlertsInput",
1494
+ {"path": Required["GithubReposDisableVulnerabilityAlertsInputPath"]},
1495
+ total=False,
1496
+ )
1497
+ GithubReposDisableVulnerabilityAlertsInputPath = TypedDict(
1498
+ "GithubReposDisableVulnerabilityAlertsInputPath",
1499
+ {"owner": Required["str"], "repo": Required["str"]},
1500
+ total=False,
1501
+ )
1502
+ GithubReposDisableVulnerabilityAlertsOutput: TypeAlias = "None"
1503
+ GithubReposDownloadTarballArchiveInput = TypedDict(
1504
+ "GithubReposDownloadTarballArchiveInput",
1505
+ {"path": Required["GithubReposDownloadTarballArchiveInputPath"]},
1506
+ total=False,
1507
+ )
1508
+ GithubReposDownloadTarballArchiveInputPath = TypedDict(
1509
+ "GithubReposDownloadTarballArchiveInputPath",
1510
+ {"owner": Required["str"], "repo": Required["str"], "ref": Required["str"]},
1511
+ total=False,
1512
+ )
1513
+ GithubReposDownloadTarballArchiveOutput: TypeAlias = "Any"
1514
+ GithubReposDownloadZipballArchiveInput = TypedDict(
1515
+ "GithubReposDownloadZipballArchiveInput",
1516
+ {"path": Required["GithubReposDownloadZipballArchiveInputPath"]},
1517
+ total=False,
1518
+ )
1519
+ GithubReposDownloadZipballArchiveInputPath = TypedDict(
1520
+ "GithubReposDownloadZipballArchiveInputPath",
1521
+ {"owner": Required["str"], "repo": Required["str"], "ref": Required["str"]},
1522
+ total=False,
1523
+ )
1524
+ GithubReposDownloadZipballArchiveOutput: TypeAlias = "Any"
1525
+ GithubReposEnableAutomatedSecurityFixesInput = TypedDict(
1526
+ "GithubReposEnableAutomatedSecurityFixesInput",
1527
+ {"path": Required["GithubReposEnableAutomatedSecurityFixesInputPath"]},
1528
+ total=False,
1529
+ )
1530
+ GithubReposEnableAutomatedSecurityFixesInputPath = TypedDict(
1531
+ "GithubReposEnableAutomatedSecurityFixesInputPath",
1532
+ {"owner": Required["str"], "repo": Required["str"]},
1533
+ total=False,
1534
+ )
1535
+ GithubReposEnableAutomatedSecurityFixesOutput: TypeAlias = "None"
1536
+ GithubReposEnableImmutableReleasesInput = TypedDict(
1537
+ "GithubReposEnableImmutableReleasesInput",
1538
+ {"path": Required["GithubReposEnableImmutableReleasesInputPath"]},
1539
+ total=False,
1540
+ )
1541
+ GithubReposEnableImmutableReleasesInputPath = TypedDict(
1542
+ "GithubReposEnableImmutableReleasesInputPath",
1543
+ {"owner": Required["str"], "repo": Required["str"]},
1544
+ total=False,
1545
+ )
1546
+ GithubReposEnableImmutableReleasesOutput: TypeAlias = "None"
1547
+ GithubReposEnablePrivateVulnerabilityReportingInput = TypedDict(
1548
+ "GithubReposEnablePrivateVulnerabilityReportingInput",
1549
+ {"path": Required["GithubReposEnablePrivateVulnerabilityReportingInputPath"]},
1550
+ total=False,
1551
+ )
1552
+ GithubReposEnablePrivateVulnerabilityReportingInputPath = TypedDict(
1553
+ "GithubReposEnablePrivateVulnerabilityReportingInputPath",
1554
+ {"owner": Required["str"], "repo": Required["str"]},
1555
+ total=False,
1556
+ )
1557
+ GithubReposEnablePrivateVulnerabilityReportingOutput: TypeAlias = "None"
1558
+ GithubReposEnableVulnerabilityAlertsInput = TypedDict(
1559
+ "GithubReposEnableVulnerabilityAlertsInput",
1560
+ {"path": Required["GithubReposEnableVulnerabilityAlertsInputPath"]},
1561
+ total=False,
1562
+ )
1563
+ GithubReposEnableVulnerabilityAlertsInputPath = TypedDict(
1564
+ "GithubReposEnableVulnerabilityAlertsInputPath",
1565
+ {"owner": Required["str"], "repo": Required["str"]},
1566
+ total=False,
1567
+ )
1568
+ GithubReposEnableVulnerabilityAlertsOutput: TypeAlias = "None"
1569
+ GithubReposGenerateReleaseNotesInput = TypedDict(
1570
+ "GithubReposGenerateReleaseNotesInput",
1571
+ {
1572
+ "path": Required["GithubReposGenerateReleaseNotesInputPath"],
1573
+ "body": Required["GithubReposGenerateReleaseNotesInputBody"],
1574
+ },
1575
+ total=False,
1576
+ )
1577
+ GithubReposGenerateReleaseNotesInputBody = TypedDict(
1578
+ "GithubReposGenerateReleaseNotesInputBody",
1579
+ {
1580
+ "configuration_file_path": NotRequired["str"],
1581
+ "previous_tag_name": NotRequired["str"],
1582
+ "tag_name": Required["str"],
1583
+ "target_commitish": NotRequired["str"],
1584
+ },
1585
+ total=False,
1586
+ )
1587
+ GithubReposGenerateReleaseNotesInputPath = TypedDict(
1588
+ "GithubReposGenerateReleaseNotesInputPath",
1589
+ {"owner": Required["str"], "repo": Required["str"]},
1590
+ total=False,
1591
+ )
1592
+ GithubReposGenerateReleaseNotesOutput: TypeAlias = "OutputreleaseNotesContent"
1593
+ GithubReposGetAccessRestrictionsInput = TypedDict(
1594
+ "GithubReposGetAccessRestrictionsInput",
1595
+ {"path": Required["GithubReposGetAccessRestrictionsInputPath"]},
1596
+ total=False,
1597
+ )
1598
+ GithubReposGetAccessRestrictionsInputPath = TypedDict(
1599
+ "GithubReposGetAccessRestrictionsInputPath",
1600
+ {"owner": Required["str"], "repo": Required["str"], "branch": Required["str"]},
1601
+ total=False,
1602
+ )
1603
+ GithubReposGetAccessRestrictionsOutput: TypeAlias = "OutputbranchRestrictionPolicy"
1604
+ GithubReposGetAdminBranchProtectionInput = TypedDict(
1605
+ "GithubReposGetAdminBranchProtectionInput",
1606
+ {"path": Required["GithubReposGetAdminBranchProtectionInputPath"]},
1607
+ total=False,
1608
+ )
1609
+ GithubReposGetAdminBranchProtectionInputPath = TypedDict(
1610
+ "GithubReposGetAdminBranchProtectionInputPath",
1611
+ {"owner": Required["str"], "repo": Required["str"], "branch": Required["str"]},
1612
+ total=False,
1613
+ )
1614
+ GithubReposGetAdminBranchProtectionOutput: TypeAlias = "OutputprotectedBranchAdminEnforced"
1615
+ GithubReposGetAllDeploymentProtectionRulesInput = TypedDict(
1616
+ "GithubReposGetAllDeploymentProtectionRulesInput",
1617
+ {"path": Required["GithubReposGetAllDeploymentProtectionRulesInputPath"]},
1618
+ total=False,
1619
+ )
1620
+ GithubReposGetAllDeploymentProtectionRulesInputPath = TypedDict(
1621
+ "GithubReposGetAllDeploymentProtectionRulesInputPath",
1622
+ {"environment_name": Required["str"], "repo": Required["str"], "owner": Required["str"]},
1623
+ total=False,
1624
+ )
1625
+ GithubReposGetAllDeploymentProtectionRulesOutput = TypedDict(
1626
+ "GithubReposGetAllDeploymentProtectionRulesOutput",
1627
+ {
1628
+ "custom_deployment_protection_rules": NotRequired["list[OutputdeploymentProtectionRule]"],
1629
+ "total_count": NotRequired["int | str"],
1630
+ },
1631
+ total=False,
1632
+ )
1633
+ GithubReposGetAllEnvironmentsInput = TypedDict(
1634
+ "GithubReposGetAllEnvironmentsInput",
1635
+ {
1636
+ "path": Required["GithubReposGetAllEnvironmentsInputPath"],
1637
+ "query": NotRequired["GithubReposGetAllEnvironmentsInputQuery"],
1638
+ },
1639
+ total=False,
1640
+ )
1641
+ GithubReposGetAllEnvironmentsInputPath = TypedDict(
1642
+ "GithubReposGetAllEnvironmentsInputPath",
1643
+ {"owner": Required["str"], "repo": Required["str"]},
1644
+ total=False,
1645
+ )
1646
+ GithubReposGetAllEnvironmentsInputQuery = TypedDict(
1647
+ "GithubReposGetAllEnvironmentsInputQuery",
1648
+ {"per_page": NotRequired["int"], "page": NotRequired["int"]},
1649
+ total=False,
1650
+ )
1651
+ GithubReposGetAllEnvironmentsOutput = TypedDict(
1652
+ "GithubReposGetAllEnvironmentsOutput",
1653
+ {
1654
+ "environments": NotRequired["list[Outputenvironment]"],
1655
+ "total_count": NotRequired["int | str"],
1656
+ },
1657
+ total=False,
1658
+ )
1659
+ GithubReposGetAllStatusCheckContextsInput = TypedDict(
1660
+ "GithubReposGetAllStatusCheckContextsInput",
1661
+ {"path": Required["GithubReposGetAllStatusCheckContextsInputPath"]},
1662
+ total=False,
1663
+ )
1664
+ GithubReposGetAllStatusCheckContextsInputPath = TypedDict(
1665
+ "GithubReposGetAllStatusCheckContextsInputPath",
1666
+ {"owner": Required["str"], "repo": Required["str"], "branch": Required["str"]},
1667
+ total=False,
1668
+ )
1669
+ GithubReposGetAllStatusCheckContextsOutput: TypeAlias = "list[str]"
1670
+ GithubReposGetAllTopicsInput = TypedDict(
1671
+ "GithubReposGetAllTopicsInput",
1672
+ {
1673
+ "path": Required["GithubReposGetAllTopicsInputPath"],
1674
+ "query": NotRequired["GithubReposGetAllTopicsInputQuery"],
1675
+ },
1676
+ total=False,
1677
+ )
1678
+ GithubReposGetAllTopicsInputPath = TypedDict(
1679
+ "GithubReposGetAllTopicsInputPath",
1680
+ {"owner": Required["str"], "repo": Required["str"]},
1681
+ total=False,
1682
+ )
1683
+ GithubReposGetAllTopicsInputQuery = TypedDict(
1684
+ "GithubReposGetAllTopicsInputQuery",
1685
+ {"page": NotRequired["int"], "per_page": NotRequired["int"]},
1686
+ total=False,
1687
+ )
1688
+ GithubReposGetAllTopicsOutput: TypeAlias = "Outputtopic"
1689
+ GithubReposGetAppsWithAccessToProtectedBranchInput = TypedDict(
1690
+ "GithubReposGetAppsWithAccessToProtectedBranchInput",
1691
+ {"path": Required["GithubReposGetAppsWithAccessToProtectedBranchInputPath"]},
1692
+ total=False,
1693
+ )
1694
+ GithubReposGetAppsWithAccessToProtectedBranchInputPath = TypedDict(
1695
+ "GithubReposGetAppsWithAccessToProtectedBranchInputPath",
1696
+ {"owner": Required["str"], "repo": Required["str"], "branch": Required["str"]},
1697
+ total=False,
1698
+ )
1699
+ GithubReposGetAppsWithAccessToProtectedBranchOutput: TypeAlias = "list[Outputintegration]"
1700
+ GithubReposGetAutolinkInput = TypedDict(
1701
+ "GithubReposGetAutolinkInput",
1702
+ {"path": Required["GithubReposGetAutolinkInputPath"]},
1703
+ total=False,
1704
+ )
1705
+ GithubReposGetAutolinkInputPath = TypedDict(
1706
+ "GithubReposGetAutolinkInputPath",
1707
+ {"owner": Required["str"], "repo": Required["str"], "autolink_id": Required["int"]},
1708
+ total=False,
1709
+ )
1710
+ GithubReposGetAutolinkOutput: TypeAlias = "Outputautolink"
1711
+ GithubReposGetBranchInput = TypedDict(
1712
+ "GithubReposGetBranchInput", {"path": Required["GithubReposGetBranchInputPath"]}, total=False
1713
+ )
1714
+ GithubReposGetBranchInputPath = TypedDict(
1715
+ "GithubReposGetBranchInputPath",
1716
+ {"owner": Required["str"], "repo": Required["str"], "branch": Required["str"]},
1717
+ total=False,
1718
+ )
1719
+ GithubReposGetBranchOutput: TypeAlias = "OutputbranchWithProtection"
1720
+ GithubReposGetBranchProtectionInput = TypedDict(
1721
+ "GithubReposGetBranchProtectionInput",
1722
+ {"path": Required["GithubReposGetBranchProtectionInputPath"]},
1723
+ total=False,
1724
+ )
1725
+ GithubReposGetBranchProtectionInputPath = TypedDict(
1726
+ "GithubReposGetBranchProtectionInputPath",
1727
+ {"owner": Required["str"], "repo": Required["str"], "branch": Required["str"]},
1728
+ total=False,
1729
+ )
1730
+ GithubReposGetBranchProtectionOutput: TypeAlias = "OutputbranchProtection"
1731
+ GithubReposGetBranchRulesInput = TypedDict(
1732
+ "GithubReposGetBranchRulesInput",
1733
+ {
1734
+ "path": Required["GithubReposGetBranchRulesInputPath"],
1735
+ "query": NotRequired["GithubReposGetBranchRulesInputQuery"],
1736
+ },
1737
+ total=False,
1738
+ )
1739
+ GithubReposGetBranchRulesInputPath = TypedDict(
1740
+ "GithubReposGetBranchRulesInputPath",
1741
+ {"owner": Required["str"], "repo": Required["str"], "branch": Required["str"]},
1742
+ total=False,
1743
+ )
1744
+ GithubReposGetBranchRulesInputQuery = TypedDict(
1745
+ "GithubReposGetBranchRulesInputQuery",
1746
+ {"per_page": NotRequired["int"], "page": NotRequired["int"]},
1747
+ total=False,
1748
+ )
1749
+ GithubReposGetBranchRulesOutput: TypeAlias = "list[OutputrepositoryRuleDetailed]"
1750
+ GithubReposGetClonesInput = TypedDict(
1751
+ "GithubReposGetClonesInput",
1752
+ {
1753
+ "path": Required["GithubReposGetClonesInputPath"],
1754
+ "query": NotRequired["GithubReposGetClonesInputQuery"],
1755
+ },
1756
+ total=False,
1757
+ )
1758
+ GithubReposGetClonesInputPath = TypedDict(
1759
+ "GithubReposGetClonesInputPath",
1760
+ {"owner": Required["str"], "repo": Required["str"]},
1761
+ total=False,
1762
+ )
1763
+ GithubReposGetClonesInputQuery = TypedDict(
1764
+ "GithubReposGetClonesInputQuery", {"per": NotRequired["Literal['day', 'week']"]}, total=False
1765
+ )
1766
+ GithubReposGetClonesOutput: TypeAlias = "OutputcloneTraffic"
1767
+ GithubReposGetCodeFrequencyStatsInput = TypedDict(
1768
+ "GithubReposGetCodeFrequencyStatsInput",
1769
+ {"path": Required["GithubReposGetCodeFrequencyStatsInputPath"]},
1770
+ total=False,
1771
+ )
1772
+ GithubReposGetCodeFrequencyStatsInputPath = TypedDict(
1773
+ "GithubReposGetCodeFrequencyStatsInputPath",
1774
+ {"owner": Required["str"], "repo": Required["str"]},
1775
+ total=False,
1776
+ )
1777
+ GithubReposGetCodeFrequencyStatsOutput: TypeAlias = (
1778
+ "Union[list[OutputcodeFrequencyStat] | dict[str, object], None]"
1779
+ )
1780
+ GithubReposGetCollaboratorPermissionLevelInput = TypedDict(
1781
+ "GithubReposGetCollaboratorPermissionLevelInput",
1782
+ {"path": Required["GithubReposGetCollaboratorPermissionLevelInputPath"]},
1783
+ total=False,
1784
+ )
1785
+ GithubReposGetCollaboratorPermissionLevelInputPath = TypedDict(
1786
+ "GithubReposGetCollaboratorPermissionLevelInputPath",
1787
+ {"owner": Required["str"], "repo": Required["str"], "username": Required["str"]},
1788
+ total=False,
1789
+ )
1790
+ GithubReposGetCollaboratorPermissionLevelOutput: TypeAlias = (
1791
+ "OutputrepositoryCollaboratorPermission"
1792
+ )
1793
+ GithubReposGetCombinedStatusForRefInput = TypedDict(
1794
+ "GithubReposGetCombinedStatusForRefInput",
1795
+ {
1796
+ "path": Required["GithubReposGetCombinedStatusForRefInputPath"],
1797
+ "query": NotRequired["GithubReposGetCombinedStatusForRefInputQuery"],
1798
+ },
1799
+ total=False,
1800
+ )
1801
+ GithubReposGetCombinedStatusForRefInputPath = TypedDict(
1802
+ "GithubReposGetCombinedStatusForRefInputPath",
1803
+ {"owner": Required["str"], "repo": Required["str"], "ref": Required["str"]},
1804
+ total=False,
1805
+ )
1806
+ GithubReposGetCombinedStatusForRefInputQuery = TypedDict(
1807
+ "GithubReposGetCombinedStatusForRefInputQuery",
1808
+ {"per_page": NotRequired["int"], "page": NotRequired["int"]},
1809
+ total=False,
1810
+ )
1811
+ GithubReposGetCombinedStatusForRefOutput: TypeAlias = "OutputcombinedCommitStatus"
1812
+ GithubReposGetCommitActivityStatsInput = TypedDict(
1813
+ "GithubReposGetCommitActivityStatsInput",
1814
+ {"path": Required["GithubReposGetCommitActivityStatsInputPath"]},
1815
+ total=False,
1816
+ )
1817
+ GithubReposGetCommitActivityStatsInputPath = TypedDict(
1818
+ "GithubReposGetCommitActivityStatsInputPath",
1819
+ {"owner": Required["str"], "repo": Required["str"]},
1820
+ total=False,
1821
+ )
1822
+ GithubReposGetCommitActivityStatsOutput: TypeAlias = (
1823
+ "Union[list[OutputcommitActivity] | dict[str, object], None]"
1824
+ )
1825
+ GithubReposGetCommitCommentInput = TypedDict(
1826
+ "GithubReposGetCommitCommentInput",
1827
+ {"path": Required["GithubReposGetCommitCommentInputPath"]},
1828
+ total=False,
1829
+ )
1830
+ GithubReposGetCommitCommentInputPath = TypedDict(
1831
+ "GithubReposGetCommitCommentInputPath",
1832
+ {"owner": Required["str"], "repo": Required["str"], "comment_id": Required["int"]},
1833
+ total=False,
1834
+ )
1835
+ GithubReposGetCommitCommentOutput: TypeAlias = "OutputcommitComment"
1836
+ GithubReposGetCommitInput = TypedDict(
1837
+ "GithubReposGetCommitInput",
1838
+ {
1839
+ "path": Required["GithubReposGetCommitInputPath"],
1840
+ "query": NotRequired["GithubReposGetCommitInputQuery"],
1841
+ },
1842
+ total=False,
1843
+ )
1844
+ GithubReposGetCommitInputPath = TypedDict(
1845
+ "GithubReposGetCommitInputPath",
1846
+ {"owner": Required["str"], "repo": Required["str"], "ref": Required["str"]},
1847
+ total=False,
1848
+ )
1849
+ GithubReposGetCommitInputQuery = TypedDict(
1850
+ "GithubReposGetCommitInputQuery",
1851
+ {"page": NotRequired["int"], "per_page": NotRequired["int"]},
1852
+ total=False,
1853
+ )
1854
+ GithubReposGetCommitOutput: TypeAlias = "Outputcommit"
1855
+ GithubReposGetCommitSignatureProtectionInput = TypedDict(
1856
+ "GithubReposGetCommitSignatureProtectionInput",
1857
+ {"path": Required["GithubReposGetCommitSignatureProtectionInputPath"]},
1858
+ total=False,
1859
+ )
1860
+ GithubReposGetCommitSignatureProtectionInputPath = TypedDict(
1861
+ "GithubReposGetCommitSignatureProtectionInputPath",
1862
+ {"owner": Required["str"], "repo": Required["str"], "branch": Required["str"]},
1863
+ total=False,
1864
+ )
1865
+ GithubReposGetCommitSignatureProtectionOutput: TypeAlias = "OutputprotectedBranchAdminEnforced"
1866
+ GithubReposGetCommunityProfileMetricsInput = TypedDict(
1867
+ "GithubReposGetCommunityProfileMetricsInput",
1868
+ {"path": Required["GithubReposGetCommunityProfileMetricsInputPath"]},
1869
+ total=False,
1870
+ )
1871
+ GithubReposGetCommunityProfileMetricsInputPath = TypedDict(
1872
+ "GithubReposGetCommunityProfileMetricsInputPath",
1873
+ {"owner": Required["str"], "repo": Required["str"]},
1874
+ total=False,
1875
+ )
1876
+ GithubReposGetCommunityProfileMetricsOutput: TypeAlias = "OutputcommunityProfile"
1877
+ GithubReposGetContentInput = TypedDict(
1878
+ "GithubReposGetContentInput",
1879
+ {
1880
+ "path": Required["GithubReposGetContentInputPath"],
1881
+ "query": NotRequired["GithubReposGetContentInputQuery"],
1882
+ "body": NotRequired["Any"],
1883
+ },
1884
+ total=False,
1885
+ )
1886
+ GithubReposGetContentInputPath = TypedDict(
1887
+ "GithubReposGetContentInputPath",
1888
+ {"owner": Required["str"], "repo": Required["str"], "path": NotRequired["str"]},
1889
+ total=False,
1890
+ )
1891
+ GithubReposGetContentInputQuery = TypedDict(
1892
+ "GithubReposGetContentInputQuery", {"ref": NotRequired["str"]}, total=False
1893
+ )
1894
+ GithubReposGetContentOutput: TypeAlias = (
1895
+ "Union[OutputcontentDirectory, OutputcontentFile, OutputcontentSymlink, OutputcontentSubmodule]"
1896
+ )
1897
+ GithubReposGetContributorsStatsInput = TypedDict(
1898
+ "GithubReposGetContributorsStatsInput",
1899
+ {"path": Required["GithubReposGetContributorsStatsInputPath"]},
1900
+ total=False,
1901
+ )
1902
+ GithubReposGetContributorsStatsInputPath = TypedDict(
1903
+ "GithubReposGetContributorsStatsInputPath",
1904
+ {"owner": Required["str"], "repo": Required["str"]},
1905
+ total=False,
1906
+ )
1907
+ GithubReposGetContributorsStatsOutput: TypeAlias = (
1908
+ "Union[list[OutputcontributorActivity] | dict[str, object], None]"
1909
+ )
1910
+ GithubReposGetCustomDeploymentProtectionRuleInput = TypedDict(
1911
+ "GithubReposGetCustomDeploymentProtectionRuleInput",
1912
+ {"path": Required["GithubReposGetCustomDeploymentProtectionRuleInputPath"]},
1913
+ total=False,
1914
+ )
1915
+ GithubReposGetCustomDeploymentProtectionRuleInputPath = TypedDict(
1916
+ "GithubReposGetCustomDeploymentProtectionRuleInputPath",
1917
+ {
1918
+ "owner": Required["str"],
1919
+ "repo": Required["str"],
1920
+ "environment_name": Required["str"],
1921
+ "protection_rule_id": Required["int"],
1922
+ },
1923
+ total=False,
1924
+ )
1925
+ GithubReposGetCustomDeploymentProtectionRuleOutput: TypeAlias = "OutputdeploymentProtectionRule"
1926
+ GithubReposGetDeployKeyInput = TypedDict(
1927
+ "GithubReposGetDeployKeyInput",
1928
+ {"path": Required["GithubReposGetDeployKeyInputPath"]},
1929
+ total=False,
1930
+ )
1931
+ GithubReposGetDeployKeyInputPath = TypedDict(
1932
+ "GithubReposGetDeployKeyInputPath",
1933
+ {"owner": Required["str"], "repo": Required["str"], "key_id": Required["int"]},
1934
+ total=False,
1935
+ )
1936
+ GithubReposGetDeployKeyOutput: TypeAlias = "OutputdeployKey"
1937
+ GithubReposGetDeploymentBranchPolicyInput = TypedDict(
1938
+ "GithubReposGetDeploymentBranchPolicyInput",
1939
+ {"path": Required["GithubReposGetDeploymentBranchPolicyInputPath"]},
1940
+ total=False,
1941
+ )
1942
+ GithubReposGetDeploymentBranchPolicyInputPath = TypedDict(
1943
+ "GithubReposGetDeploymentBranchPolicyInputPath",
1944
+ {
1945
+ "owner": Required["str"],
1946
+ "repo": Required["str"],
1947
+ "environment_name": Required["str"],
1948
+ "branch_policy_id": Required["int"],
1949
+ },
1950
+ total=False,
1951
+ )
1952
+ GithubReposGetDeploymentBranchPolicyOutput: TypeAlias = "OutputdeploymentBranchPolicy"
1953
+ GithubReposGetDeploymentInput = TypedDict(
1954
+ "GithubReposGetDeploymentInput",
1955
+ {"path": Required["GithubReposGetDeploymentInputPath"]},
1956
+ total=False,
1957
+ )
1958
+ GithubReposGetDeploymentInputPath = TypedDict(
1959
+ "GithubReposGetDeploymentInputPath",
1960
+ {"owner": Required["str"], "repo": Required["str"], "deployment_id": Required["int"]},
1961
+ total=False,
1962
+ )
1963
+ GithubReposGetDeploymentOutput: TypeAlias = "Outputdeployment"
1964
+ GithubReposGetDeploymentStatusInput = TypedDict(
1965
+ "GithubReposGetDeploymentStatusInput",
1966
+ {"path": Required["GithubReposGetDeploymentStatusInputPath"]},
1967
+ total=False,
1968
+ )
1969
+ GithubReposGetDeploymentStatusInputPath = TypedDict(
1970
+ "GithubReposGetDeploymentStatusInputPath",
1971
+ {
1972
+ "owner": Required["str"],
1973
+ "repo": Required["str"],
1974
+ "deployment_id": Required["int"],
1975
+ "status_id": Required["int"],
1976
+ },
1977
+ total=False,
1978
+ )
1979
+ GithubReposGetDeploymentStatusOutput: TypeAlias = "OutputdeploymentStatus"
1980
+ GithubReposGetEnvironmentInput = TypedDict(
1981
+ "GithubReposGetEnvironmentInput",
1982
+ {"path": Required["GithubReposGetEnvironmentInputPath"]},
1983
+ total=False,
1984
+ )
1985
+ GithubReposGetEnvironmentInputPath = TypedDict(
1986
+ "GithubReposGetEnvironmentInputPath",
1987
+ {"owner": Required["str"], "repo": Required["str"], "environment_name": Required["str"]},
1988
+ total=False,
1989
+ )
1990
+ GithubReposGetEnvironmentOutput: TypeAlias = "Outputenvironment"
1991
+ GithubReposGetHashAlgorithmInput = TypedDict(
1992
+ "GithubReposGetHashAlgorithmInput",
1993
+ {"path": Required["GithubReposGetHashAlgorithmInputPath"]},
1994
+ total=False,
1995
+ )
1996
+ GithubReposGetHashAlgorithmInputPath = TypedDict(
1997
+ "GithubReposGetHashAlgorithmInputPath",
1998
+ {"owner": Required["str"], "repo": Required["str"]},
1999
+ total=False,
2000
+ )
2001
+ GithubReposGetHashAlgorithmOutput: TypeAlias = "OutputrepositoryHashAlgorithm"
2002
+ GithubReposGetInput = TypedDict(
2003
+ "GithubReposGetInput", {"path": Required["GithubReposGetInputPath"]}, total=False
2004
+ )
2005
+ GithubReposGetInputPath = TypedDict(
2006
+ "GithubReposGetInputPath", {"owner": Required["str"], "repo": Required["str"]}, total=False
2007
+ )
2008
+ GithubReposGetLatestPagesBuildInput = TypedDict(
2009
+ "GithubReposGetLatestPagesBuildInput",
2010
+ {"path": Required["GithubReposGetLatestPagesBuildInputPath"]},
2011
+ total=False,
2012
+ )
2013
+ GithubReposGetLatestPagesBuildInputPath = TypedDict(
2014
+ "GithubReposGetLatestPagesBuildInputPath",
2015
+ {"owner": Required["str"], "repo": Required["str"]},
2016
+ total=False,
2017
+ )
2018
+ GithubReposGetLatestPagesBuildOutput: TypeAlias = "OutputpageBuild"
2019
+ GithubReposGetLatestReleaseInput = TypedDict(
2020
+ "GithubReposGetLatestReleaseInput",
2021
+ {"path": Required["GithubReposGetLatestReleaseInputPath"]},
2022
+ total=False,
2023
+ )