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,2342 @@
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_13 import OrganizationUpdateIssueField
9
+ from alter_sdk_github._github_models_13 import OrganizationUpdateIssueType
10
+ from alter_sdk_github._github_models_14 import Outputcommit
11
+ from alter_sdk_github._github_models_14 import OutputdiffEntry
12
+ from alter_sdk_github._github_models_14 import OutputissueField
13
+ from alter_sdk_github._github_models_14 import OutputissueType
14
+ from alter_sdk_github._github_models_14 import OutputorgHook
15
+ from alter_sdk_github._github_models_14 import OutputorgMembership
16
+ from alter_sdk_github._github_models_14 import OutputorgPrivateRegistryConfiguration
17
+ from alter_sdk_github._github_models_14 import (
18
+ OutputorgPrivateRegistryConfigurationWithSelectedRepositories,
19
+ )
20
+ from alter_sdk_github._github_models_14 import OutputorganizationFull
21
+ from alter_sdk_github._github_models_15 import Outputpackage
22
+ from alter_sdk_github._github_models_15 import OutputpackageVersion
23
+ from alter_sdk_github._github_models_15 import OutputprojectsV2
24
+ from alter_sdk_github._github_models_15 import OutputprojectsV2Field
25
+ from alter_sdk_github._github_models_15 import OutputprojectsV2ItemSimple
26
+ from alter_sdk_github._github_models_15 import OutputprojectsV2ItemWithContent
27
+ from alter_sdk_github._github_models_15 import OutputprojectsV2View
28
+ from alter_sdk_github._github_models_15 import OutputpullRequest
29
+ from alter_sdk_github._github_models_15 import OutputpullRequestMergeAsyncResult
30
+ from alter_sdk_github._github_models_15 import OutputpullRequestMergeResult
31
+ from alter_sdk_github._github_models_15 import OutputpullRequestReview
32
+ from alter_sdk_github._github_models_15 import OutputpullRequestReviewComment
33
+ from alter_sdk_github._github_models_15 import OutputpullRequestReviewRequest
34
+ from alter_sdk_github._github_models_15 import OutputpullRequestSimple
35
+ from alter_sdk_github._github_models_15 import OutputpullRequestStackMinimal
36
+ from alter_sdk_github._github_models_15 import OutputpullRequestStackPullRequest
37
+ from alter_sdk_github._github_models_15 import OutputrateLimitOverview
38
+ from alter_sdk_github._github_models_15 import Outputreaction
39
+ from alter_sdk_github._github_models_15 import OutputreviewComment
40
+ from alter_sdk_github._github_models_15 import OutputwebhookConfig
41
+ from alter_sdk_github._github_models_16 import ProjectsV2FieldIterationConfiguration
42
+ from alter_sdk_github._github_models_16 import ProjectsV2FieldSingleSelectOption
43
+ from alter_sdk_github._github_models_17 import WebhookConfigContentType
44
+ from alter_sdk_github._github_models_17 import WebhookConfigInsecureSsl
45
+ from alter_sdk_github._github_models_17 import WebhookConfigSecret
46
+ from alter_sdk_github._github_models_17 import WebhookConfigUrl
47
+
48
+ GithubOrgsUnblockUserInputPath = TypedDict(
49
+ "GithubOrgsUnblockUserInputPath",
50
+ {"org": Required["str"], "username": Required["str"]},
51
+ total=False,
52
+ )
53
+ GithubOrgsUnblockUserOutput: TypeAlias = "None"
54
+ GithubOrgsUpdateInput = TypedDict(
55
+ "GithubOrgsUpdateInput",
56
+ {
57
+ "path": Required["GithubOrgsUpdateInputPath"],
58
+ "body": NotRequired["GithubOrgsUpdateInputBody"],
59
+ },
60
+ total=False,
61
+ )
62
+ GithubOrgsUpdateInputBody = TypedDict(
63
+ "GithubOrgsUpdateInputBody",
64
+ {
65
+ "advanced_security_enabled_for_new_repositories": NotRequired["bool"],
66
+ "billing_email": NotRequired["str"],
67
+ "blog": NotRequired["str"],
68
+ "company": NotRequired["str"],
69
+ "default_repository_permission": NotRequired["Literal['read', 'write', 'admin', 'none']"],
70
+ "dependabot_alerts_enabled_for_new_repositories": NotRequired["bool"],
71
+ "dependabot_security_updates_enabled_for_new_repositories": NotRequired["bool"],
72
+ "dependency_graph_enabled_for_new_repositories": NotRequired["bool"],
73
+ "deploy_keys_enabled_for_repositories": NotRequired["bool"],
74
+ "description": NotRequired["str"],
75
+ "email": NotRequired["str"],
76
+ "has_organization_projects": NotRequired["bool"],
77
+ "has_repository_projects": NotRequired["bool"],
78
+ "location": NotRequired["str"],
79
+ "members_allowed_repository_creation_type": NotRequired[
80
+ "Literal['all', 'private', 'none']"
81
+ ],
82
+ "members_can_create_internal_repositories": NotRequired["bool"],
83
+ "members_can_create_pages": NotRequired["bool"],
84
+ "members_can_create_private_pages": NotRequired["bool"],
85
+ "members_can_create_private_repositories": NotRequired["bool"],
86
+ "members_can_create_public_pages": NotRequired["bool"],
87
+ "members_can_create_public_repositories": NotRequired["bool"],
88
+ "members_can_create_repositories": NotRequired["bool"],
89
+ "members_can_fork_private_repositories": NotRequired["bool"],
90
+ "name": NotRequired["str"],
91
+ "secret_scanning_enabled_for_new_repositories": NotRequired["bool"],
92
+ "secret_scanning_push_protection_custom_link": NotRequired["str"],
93
+ "secret_scanning_push_protection_enabled_for_new_repositories": NotRequired["bool"],
94
+ "twitter_username": NotRequired["str"],
95
+ "web_commit_signoff_required": NotRequired["bool"],
96
+ },
97
+ total=False,
98
+ )
99
+ GithubOrgsUpdateInputPath = TypedDict(
100
+ "GithubOrgsUpdateInputPath", {"org": Required["str"]}, total=False
101
+ )
102
+ GithubOrgsUpdateIssueFieldInput = TypedDict(
103
+ "GithubOrgsUpdateIssueFieldInput",
104
+ {
105
+ "path": Required["GithubOrgsUpdateIssueFieldInputPath"],
106
+ "body": Required["OrganizationUpdateIssueField"],
107
+ },
108
+ total=False,
109
+ )
110
+ GithubOrgsUpdateIssueFieldInputPath = TypedDict(
111
+ "GithubOrgsUpdateIssueFieldInputPath",
112
+ {"org": Required["str"], "issue_field_id": Required["int"]},
113
+ total=False,
114
+ )
115
+ GithubOrgsUpdateIssueFieldOutput: TypeAlias = "OutputissueField"
116
+ GithubOrgsUpdateIssueTypeInput = TypedDict(
117
+ "GithubOrgsUpdateIssueTypeInput",
118
+ {
119
+ "path": Required["GithubOrgsUpdateIssueTypeInputPath"],
120
+ "body": Required["OrganizationUpdateIssueType"],
121
+ },
122
+ total=False,
123
+ )
124
+ GithubOrgsUpdateIssueTypeInputPath = TypedDict(
125
+ "GithubOrgsUpdateIssueTypeInputPath",
126
+ {"org": Required["str"], "issue_type_id": Required["int"]},
127
+ total=False,
128
+ )
129
+ GithubOrgsUpdateIssueTypeOutput: TypeAlias = "OutputissueType"
130
+ GithubOrgsUpdateMembershipForAuthenticatedUserInput = TypedDict(
131
+ "GithubOrgsUpdateMembershipForAuthenticatedUserInput",
132
+ {
133
+ "path": Required["GithubOrgsUpdateMembershipForAuthenticatedUserInputPath"],
134
+ "body": Required["GithubOrgsUpdateMembershipForAuthenticatedUserInputBody"],
135
+ },
136
+ total=False,
137
+ )
138
+ GithubOrgsUpdateMembershipForAuthenticatedUserInputBody = TypedDict(
139
+ "GithubOrgsUpdateMembershipForAuthenticatedUserInputBody",
140
+ {"state": Required["Literal['active']"]},
141
+ total=False,
142
+ )
143
+ GithubOrgsUpdateMembershipForAuthenticatedUserInputPath = TypedDict(
144
+ "GithubOrgsUpdateMembershipForAuthenticatedUserInputPath", {"org": Required["str"]}, total=False
145
+ )
146
+ GithubOrgsUpdateMembershipForAuthenticatedUserOutput: TypeAlias = "OutputorgMembership"
147
+ GithubOrgsUpdateOutput: TypeAlias = "OutputorganizationFull"
148
+ GithubOrgsUpdatePatAccessInput = TypedDict(
149
+ "GithubOrgsUpdatePatAccessInput",
150
+ {
151
+ "path": Required["GithubOrgsUpdatePatAccessInputPath"],
152
+ "body": Required["GithubOrgsUpdatePatAccessInputBody"],
153
+ },
154
+ total=False,
155
+ )
156
+ GithubOrgsUpdatePatAccessInputBody = TypedDict(
157
+ "GithubOrgsUpdatePatAccessInputBody", {"action": Required["Literal['revoke']"]}, total=False
158
+ )
159
+ GithubOrgsUpdatePatAccessInputPath = TypedDict(
160
+ "GithubOrgsUpdatePatAccessInputPath",
161
+ {"org": Required["str"], "pat_id": Required["int"]},
162
+ total=False,
163
+ )
164
+ GithubOrgsUpdatePatAccessOutput: TypeAlias = "None"
165
+ GithubOrgsUpdatePatAccessesInput = TypedDict(
166
+ "GithubOrgsUpdatePatAccessesInput",
167
+ {
168
+ "path": Required["GithubOrgsUpdatePatAccessesInputPath"],
169
+ "body": Required["GithubOrgsUpdatePatAccessesInputBody"],
170
+ },
171
+ total=False,
172
+ )
173
+ GithubOrgsUpdatePatAccessesInputBody = TypedDict(
174
+ "GithubOrgsUpdatePatAccessesInputBody",
175
+ {"action": Required["Literal['revoke']"], "pat_ids": Required["list[int]"]},
176
+ total=False,
177
+ )
178
+ GithubOrgsUpdatePatAccessesInputPath = TypedDict(
179
+ "GithubOrgsUpdatePatAccessesInputPath", {"org": Required["str"]}, total=False
180
+ )
181
+ GithubOrgsUpdatePatAccessesOutput: TypeAlias = "dict[str, object]"
182
+ GithubOrgsUpdateWebhookConfigForOrgInput = TypedDict(
183
+ "GithubOrgsUpdateWebhookConfigForOrgInput",
184
+ {
185
+ "path": Required["GithubOrgsUpdateWebhookConfigForOrgInputPath"],
186
+ "body": NotRequired["GithubOrgsUpdateWebhookConfigForOrgInputBody"],
187
+ },
188
+ total=False,
189
+ )
190
+ GithubOrgsUpdateWebhookConfigForOrgInputBody = TypedDict(
191
+ "GithubOrgsUpdateWebhookConfigForOrgInputBody",
192
+ {
193
+ "content_type": NotRequired["WebhookConfigContentType"],
194
+ "insecure_ssl": NotRequired["WebhookConfigInsecureSsl"],
195
+ "secret": NotRequired["WebhookConfigSecret"],
196
+ "url": NotRequired["WebhookConfigUrl"],
197
+ },
198
+ total=False,
199
+ )
200
+ GithubOrgsUpdateWebhookConfigForOrgInputPath = TypedDict(
201
+ "GithubOrgsUpdateWebhookConfigForOrgInputPath",
202
+ {"org": Required["str"], "hook_id": Required["int"]},
203
+ total=False,
204
+ )
205
+ GithubOrgsUpdateWebhookConfigForOrgOutput: TypeAlias = "OutputwebhookConfig"
206
+ GithubOrgsUpdateWebhookInput = TypedDict(
207
+ "GithubOrgsUpdateWebhookInput",
208
+ {
209
+ "path": Required["GithubOrgsUpdateWebhookInputPath"],
210
+ "body": NotRequired["GithubOrgsUpdateWebhookInputBody"],
211
+ },
212
+ total=False,
213
+ )
214
+ GithubOrgsUpdateWebhookInputBody = TypedDict(
215
+ "GithubOrgsUpdateWebhookInputBody",
216
+ {
217
+ "active": NotRequired["bool"],
218
+ "config": NotRequired["GithubOrgsUpdateWebhookInputBodyConfig"],
219
+ "events": NotRequired["list[str]"],
220
+ "name": NotRequired["str"],
221
+ },
222
+ total=False,
223
+ )
224
+ GithubOrgsUpdateWebhookInputBodyConfig = TypedDict(
225
+ "GithubOrgsUpdateWebhookInputBodyConfig",
226
+ {
227
+ "content_type": NotRequired["WebhookConfigContentType"],
228
+ "insecure_ssl": NotRequired["WebhookConfigInsecureSsl"],
229
+ "secret": NotRequired["WebhookConfigSecret"],
230
+ "url": Required["WebhookConfigUrl"],
231
+ },
232
+ total=False,
233
+ )
234
+ GithubOrgsUpdateWebhookInputPath = TypedDict(
235
+ "GithubOrgsUpdateWebhookInputPath",
236
+ {"org": Required["str"], "hook_id": Required["int"]},
237
+ total=False,
238
+ )
239
+ GithubOrgsUpdateWebhookOutput: TypeAlias = "OutputorgHook"
240
+ GithubPackagesDeletePackageForAuthenticatedUserInput = TypedDict(
241
+ "GithubPackagesDeletePackageForAuthenticatedUserInput",
242
+ {"path": Required["GithubPackagesDeletePackageForAuthenticatedUserInputPath"]},
243
+ total=False,
244
+ )
245
+ GithubPackagesDeletePackageForAuthenticatedUserInputPath = TypedDict(
246
+ "GithubPackagesDeletePackageForAuthenticatedUserInputPath",
247
+ {
248
+ "package_type": Required[
249
+ "Literal['npm', 'maven', 'rubygems', 'docker', 'nuget', 'container']"
250
+ ],
251
+ "package_name": Required["str"],
252
+ },
253
+ total=False,
254
+ )
255
+ GithubPackagesDeletePackageForAuthenticatedUserOutput: TypeAlias = "None"
256
+ GithubPackagesDeletePackageForOrgInput = TypedDict(
257
+ "GithubPackagesDeletePackageForOrgInput",
258
+ {"path": Required["GithubPackagesDeletePackageForOrgInputPath"]},
259
+ total=False,
260
+ )
261
+ GithubPackagesDeletePackageForOrgInputPath = TypedDict(
262
+ "GithubPackagesDeletePackageForOrgInputPath",
263
+ {
264
+ "package_type": Required[
265
+ "Literal['npm', 'maven', 'rubygems', 'docker', 'nuget', 'container']"
266
+ ],
267
+ "package_name": Required["str"],
268
+ "org": Required["str"],
269
+ },
270
+ total=False,
271
+ )
272
+ GithubPackagesDeletePackageForOrgOutput: TypeAlias = "None"
273
+ GithubPackagesDeletePackageForUserInput = TypedDict(
274
+ "GithubPackagesDeletePackageForUserInput",
275
+ {"path": Required["GithubPackagesDeletePackageForUserInputPath"]},
276
+ total=False,
277
+ )
278
+ GithubPackagesDeletePackageForUserInputPath = TypedDict(
279
+ "GithubPackagesDeletePackageForUserInputPath",
280
+ {
281
+ "package_type": Required[
282
+ "Literal['npm', 'maven', 'rubygems', 'docker', 'nuget', 'container']"
283
+ ],
284
+ "package_name": Required["str"],
285
+ "username": Required["str"],
286
+ },
287
+ total=False,
288
+ )
289
+ GithubPackagesDeletePackageForUserOutput: TypeAlias = "None"
290
+ GithubPackagesDeletePackageVersionForAuthenticatedUserInput = TypedDict(
291
+ "GithubPackagesDeletePackageVersionForAuthenticatedUserInput",
292
+ {"path": Required["GithubPackagesDeletePackageVersionForAuthenticatedUserInputPath"]},
293
+ total=False,
294
+ )
295
+ GithubPackagesDeletePackageVersionForAuthenticatedUserInputPath = TypedDict(
296
+ "GithubPackagesDeletePackageVersionForAuthenticatedUserInputPath",
297
+ {
298
+ "package_type": Required[
299
+ "Literal['npm', 'maven', 'rubygems', 'docker', 'nuget', 'container']"
300
+ ],
301
+ "package_name": Required["str"],
302
+ "package_version_id": Required["int"],
303
+ },
304
+ total=False,
305
+ )
306
+ GithubPackagesDeletePackageVersionForAuthenticatedUserOutput: TypeAlias = "None"
307
+ GithubPackagesDeletePackageVersionForOrgInput = TypedDict(
308
+ "GithubPackagesDeletePackageVersionForOrgInput",
309
+ {"path": Required["GithubPackagesDeletePackageVersionForOrgInputPath"]},
310
+ total=False,
311
+ )
312
+ GithubPackagesDeletePackageVersionForOrgInputPath = TypedDict(
313
+ "GithubPackagesDeletePackageVersionForOrgInputPath",
314
+ {
315
+ "package_type": Required[
316
+ "Literal['npm', 'maven', 'rubygems', 'docker', 'nuget', 'container']"
317
+ ],
318
+ "package_name": Required["str"],
319
+ "org": Required["str"],
320
+ "package_version_id": Required["int"],
321
+ },
322
+ total=False,
323
+ )
324
+ GithubPackagesDeletePackageVersionForOrgOutput: TypeAlias = "None"
325
+ GithubPackagesDeletePackageVersionForUserInput = TypedDict(
326
+ "GithubPackagesDeletePackageVersionForUserInput",
327
+ {"path": Required["GithubPackagesDeletePackageVersionForUserInputPath"]},
328
+ total=False,
329
+ )
330
+ GithubPackagesDeletePackageVersionForUserInputPath = TypedDict(
331
+ "GithubPackagesDeletePackageVersionForUserInputPath",
332
+ {
333
+ "package_type": Required[
334
+ "Literal['npm', 'maven', 'rubygems', 'docker', 'nuget', 'container']"
335
+ ],
336
+ "package_name": Required["str"],
337
+ "username": Required["str"],
338
+ "package_version_id": Required["int"],
339
+ },
340
+ total=False,
341
+ )
342
+ GithubPackagesDeletePackageVersionForUserOutput: TypeAlias = "None"
343
+ GithubPackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUserInput = TypedDict(
344
+ "GithubPackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUserInput",
345
+ {
346
+ "path": Required[
347
+ "GithubPackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUserInputPath"
348
+ ],
349
+ "query": NotRequired[
350
+ "GithubPackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUserInputQuery"
351
+ ],
352
+ },
353
+ total=False,
354
+ )
355
+ GithubPackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUserInputPath = TypedDict(
356
+ "GithubPackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUserInputPath",
357
+ {
358
+ "package_type": Required[
359
+ "Literal['npm', 'maven', 'rubygems', 'docker', 'nuget', 'container']"
360
+ ],
361
+ "package_name": Required["str"],
362
+ },
363
+ total=False,
364
+ )
365
+ GithubPackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUserInputQuery = TypedDict(
366
+ "GithubPackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUserInputQuery",
367
+ {
368
+ "page": NotRequired["int"],
369
+ "per_page": NotRequired["int"],
370
+ "state": NotRequired["Literal['active', 'deleted']"],
371
+ },
372
+ total=False,
373
+ )
374
+ GithubPackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUserOutput: TypeAlias = (
375
+ "list[OutputpackageVersion]"
376
+ )
377
+ GithubPackagesGetAllPackageVersionsForPackageOwnedByOrgInput = TypedDict(
378
+ "GithubPackagesGetAllPackageVersionsForPackageOwnedByOrgInput",
379
+ {
380
+ "path": Required["GithubPackagesGetAllPackageVersionsForPackageOwnedByOrgInputPath"],
381
+ "query": NotRequired["GithubPackagesGetAllPackageVersionsForPackageOwnedByOrgInputQuery"],
382
+ },
383
+ total=False,
384
+ )
385
+ GithubPackagesGetAllPackageVersionsForPackageOwnedByOrgInputPath = TypedDict(
386
+ "GithubPackagesGetAllPackageVersionsForPackageOwnedByOrgInputPath",
387
+ {
388
+ "package_type": Required[
389
+ "Literal['npm', 'maven', 'rubygems', 'docker', 'nuget', 'container']"
390
+ ],
391
+ "package_name": Required["str"],
392
+ "org": Required["str"],
393
+ },
394
+ total=False,
395
+ )
396
+ GithubPackagesGetAllPackageVersionsForPackageOwnedByOrgInputQuery = TypedDict(
397
+ "GithubPackagesGetAllPackageVersionsForPackageOwnedByOrgInputQuery",
398
+ {
399
+ "page": NotRequired["int"],
400
+ "per_page": NotRequired["int"],
401
+ "state": NotRequired["Literal['active', 'deleted']"],
402
+ },
403
+ total=False,
404
+ )
405
+ GithubPackagesGetAllPackageVersionsForPackageOwnedByOrgOutput: TypeAlias = (
406
+ "list[OutputpackageVersion]"
407
+ )
408
+ GithubPackagesGetAllPackageVersionsForPackageOwnedByUserInput = TypedDict(
409
+ "GithubPackagesGetAllPackageVersionsForPackageOwnedByUserInput",
410
+ {"path": Required["GithubPackagesGetAllPackageVersionsForPackageOwnedByUserInputPath"]},
411
+ total=False,
412
+ )
413
+ GithubPackagesGetAllPackageVersionsForPackageOwnedByUserInputPath = TypedDict(
414
+ "GithubPackagesGetAllPackageVersionsForPackageOwnedByUserInputPath",
415
+ {
416
+ "package_type": Required[
417
+ "Literal['npm', 'maven', 'rubygems', 'docker', 'nuget', 'container']"
418
+ ],
419
+ "package_name": Required["str"],
420
+ "username": Required["str"],
421
+ },
422
+ total=False,
423
+ )
424
+ GithubPackagesGetAllPackageVersionsForPackageOwnedByUserOutput: TypeAlias = (
425
+ "list[OutputpackageVersion]"
426
+ )
427
+ GithubPackagesGetPackageForAuthenticatedUserInput = TypedDict(
428
+ "GithubPackagesGetPackageForAuthenticatedUserInput",
429
+ {"path": Required["GithubPackagesGetPackageForAuthenticatedUserInputPath"]},
430
+ total=False,
431
+ )
432
+ GithubPackagesGetPackageForAuthenticatedUserInputPath = TypedDict(
433
+ "GithubPackagesGetPackageForAuthenticatedUserInputPath",
434
+ {
435
+ "package_type": Required[
436
+ "Literal['npm', 'maven', 'rubygems', 'docker', 'nuget', 'container']"
437
+ ],
438
+ "package_name": Required["str"],
439
+ },
440
+ total=False,
441
+ )
442
+ GithubPackagesGetPackageForAuthenticatedUserOutput: TypeAlias = "Outputpackage"
443
+ GithubPackagesGetPackageForOrganizationInput = TypedDict(
444
+ "GithubPackagesGetPackageForOrganizationInput",
445
+ {"path": Required["GithubPackagesGetPackageForOrganizationInputPath"]},
446
+ total=False,
447
+ )
448
+ GithubPackagesGetPackageForOrganizationInputPath = TypedDict(
449
+ "GithubPackagesGetPackageForOrganizationInputPath",
450
+ {
451
+ "package_type": Required[
452
+ "Literal['npm', 'maven', 'rubygems', 'docker', 'nuget', 'container']"
453
+ ],
454
+ "package_name": Required["str"],
455
+ "org": Required["str"],
456
+ },
457
+ total=False,
458
+ )
459
+ GithubPackagesGetPackageForOrganizationOutput: TypeAlias = "Outputpackage"
460
+ GithubPackagesGetPackageForUserInput = TypedDict(
461
+ "GithubPackagesGetPackageForUserInput",
462
+ {"path": Required["GithubPackagesGetPackageForUserInputPath"]},
463
+ total=False,
464
+ )
465
+ GithubPackagesGetPackageForUserInputPath = TypedDict(
466
+ "GithubPackagesGetPackageForUserInputPath",
467
+ {
468
+ "package_type": Required[
469
+ "Literal['npm', 'maven', 'rubygems', 'docker', 'nuget', 'container']"
470
+ ],
471
+ "package_name": Required["str"],
472
+ "username": Required["str"],
473
+ },
474
+ total=False,
475
+ )
476
+ GithubPackagesGetPackageForUserOutput: TypeAlias = "Outputpackage"
477
+ GithubPackagesGetPackageVersionForAuthenticatedUserInput = TypedDict(
478
+ "GithubPackagesGetPackageVersionForAuthenticatedUserInput",
479
+ {"path": Required["GithubPackagesGetPackageVersionForAuthenticatedUserInputPath"]},
480
+ total=False,
481
+ )
482
+ GithubPackagesGetPackageVersionForAuthenticatedUserInputPath = TypedDict(
483
+ "GithubPackagesGetPackageVersionForAuthenticatedUserInputPath",
484
+ {
485
+ "package_type": Required[
486
+ "Literal['npm', 'maven', 'rubygems', 'docker', 'nuget', 'container']"
487
+ ],
488
+ "package_name": Required["str"],
489
+ "package_version_id": Required["int"],
490
+ },
491
+ total=False,
492
+ )
493
+ GithubPackagesGetPackageVersionForAuthenticatedUserOutput: TypeAlias = "OutputpackageVersion"
494
+ GithubPackagesGetPackageVersionForOrganizationInput = TypedDict(
495
+ "GithubPackagesGetPackageVersionForOrganizationInput",
496
+ {"path": Required["GithubPackagesGetPackageVersionForOrganizationInputPath"]},
497
+ total=False,
498
+ )
499
+ GithubPackagesGetPackageVersionForOrganizationInputPath = TypedDict(
500
+ "GithubPackagesGetPackageVersionForOrganizationInputPath",
501
+ {
502
+ "package_type": Required[
503
+ "Literal['npm', 'maven', 'rubygems', 'docker', 'nuget', 'container']"
504
+ ],
505
+ "package_name": Required["str"],
506
+ "org": Required["str"],
507
+ "package_version_id": Required["int"],
508
+ },
509
+ total=False,
510
+ )
511
+ GithubPackagesGetPackageVersionForOrganizationOutput: TypeAlias = "OutputpackageVersion"
512
+ GithubPackagesGetPackageVersionForUserInput = TypedDict(
513
+ "GithubPackagesGetPackageVersionForUserInput",
514
+ {"path": Required["GithubPackagesGetPackageVersionForUserInputPath"]},
515
+ total=False,
516
+ )
517
+ GithubPackagesGetPackageVersionForUserInputPath = TypedDict(
518
+ "GithubPackagesGetPackageVersionForUserInputPath",
519
+ {
520
+ "package_type": Required[
521
+ "Literal['npm', 'maven', 'rubygems', 'docker', 'nuget', 'container']"
522
+ ],
523
+ "package_name": Required["str"],
524
+ "package_version_id": Required["int"],
525
+ "username": Required["str"],
526
+ },
527
+ total=False,
528
+ )
529
+ GithubPackagesGetPackageVersionForUserOutput: TypeAlias = "OutputpackageVersion"
530
+ GithubPackagesListDockerMigrationConflictingPackagesForAuthenticatedUserInput = TypedDict(
531
+ "GithubPackagesListDockerMigrationConflictingPackagesForAuthenticatedUserInput", {}, total=False
532
+ )
533
+ GithubPackagesListDockerMigrationConflictingPackagesForAuthenticatedUserOutput: TypeAlias = (
534
+ "list[Outputpackage]"
535
+ )
536
+ GithubPackagesListDockerMigrationConflictingPackagesForOrganizationInput = TypedDict(
537
+ "GithubPackagesListDockerMigrationConflictingPackagesForOrganizationInput",
538
+ {
539
+ "path": Required[
540
+ "GithubPackagesListDockerMigrationConflictingPackagesForOrganizationInputPath"
541
+ ]
542
+ },
543
+ total=False,
544
+ )
545
+ GithubPackagesListDockerMigrationConflictingPackagesForOrganizationInputPath = TypedDict(
546
+ "GithubPackagesListDockerMigrationConflictingPackagesForOrganizationInputPath",
547
+ {"org": Required["str"]},
548
+ total=False,
549
+ )
550
+ GithubPackagesListDockerMigrationConflictingPackagesForOrganizationOutput: TypeAlias = (
551
+ "list[Outputpackage]"
552
+ )
553
+ GithubPackagesListDockerMigrationConflictingPackagesForUserInput = TypedDict(
554
+ "GithubPackagesListDockerMigrationConflictingPackagesForUserInput",
555
+ {"path": Required["GithubPackagesListDockerMigrationConflictingPackagesForUserInputPath"]},
556
+ total=False,
557
+ )
558
+ GithubPackagesListDockerMigrationConflictingPackagesForUserInputPath = TypedDict(
559
+ "GithubPackagesListDockerMigrationConflictingPackagesForUserInputPath",
560
+ {"username": Required["str"]},
561
+ total=False,
562
+ )
563
+ GithubPackagesListDockerMigrationConflictingPackagesForUserOutput: TypeAlias = "list[Outputpackage]"
564
+ GithubPackagesListPackagesForAuthenticatedUserInput = TypedDict(
565
+ "GithubPackagesListPackagesForAuthenticatedUserInput",
566
+ {"query": Required["GithubPackagesListPackagesForAuthenticatedUserInputQuery"]},
567
+ total=False,
568
+ )
569
+ GithubPackagesListPackagesForAuthenticatedUserInputQuery = TypedDict(
570
+ "GithubPackagesListPackagesForAuthenticatedUserInputQuery",
571
+ {
572
+ "package_type": Required[
573
+ "Literal['npm', 'maven', 'rubygems', 'docker', 'nuget', 'container']"
574
+ ],
575
+ "visibility": NotRequired["Literal['public', 'private', 'internal']"],
576
+ "page": NotRequired["int"],
577
+ "per_page": NotRequired["int"],
578
+ },
579
+ total=False,
580
+ )
581
+ GithubPackagesListPackagesForAuthenticatedUserOutput: TypeAlias = "list[Outputpackage]"
582
+ GithubPackagesListPackagesForOrganizationInput = TypedDict(
583
+ "GithubPackagesListPackagesForOrganizationInput",
584
+ {
585
+ "path": Required["GithubPackagesListPackagesForOrganizationInputPath"],
586
+ "query": Required["GithubPackagesListPackagesForOrganizationInputQuery"],
587
+ },
588
+ total=False,
589
+ )
590
+ GithubPackagesListPackagesForOrganizationInputPath = TypedDict(
591
+ "GithubPackagesListPackagesForOrganizationInputPath", {"org": Required["str"]}, total=False
592
+ )
593
+ GithubPackagesListPackagesForOrganizationInputQuery = TypedDict(
594
+ "GithubPackagesListPackagesForOrganizationInputQuery",
595
+ {
596
+ "package_type": Required[
597
+ "Literal['npm', 'maven', 'rubygems', 'docker', 'nuget', 'container']"
598
+ ],
599
+ "visibility": NotRequired["Literal['public', 'private', 'internal']"],
600
+ "page": NotRequired["int"],
601
+ "per_page": NotRequired["int"],
602
+ },
603
+ total=False,
604
+ )
605
+ GithubPackagesListPackagesForOrganizationOutput: TypeAlias = "list[Outputpackage]"
606
+ GithubPackagesListPackagesForUserInput = TypedDict(
607
+ "GithubPackagesListPackagesForUserInput",
608
+ {
609
+ "path": Required["GithubPackagesListPackagesForUserInputPath"],
610
+ "query": Required["GithubPackagesListPackagesForUserInputQuery"],
611
+ },
612
+ total=False,
613
+ )
614
+ GithubPackagesListPackagesForUserInputPath = TypedDict(
615
+ "GithubPackagesListPackagesForUserInputPath", {"username": Required["str"]}, total=False
616
+ )
617
+ GithubPackagesListPackagesForUserInputQuery = TypedDict(
618
+ "GithubPackagesListPackagesForUserInputQuery",
619
+ {
620
+ "package_type": Required[
621
+ "Literal['npm', 'maven', 'rubygems', 'docker', 'nuget', 'container']"
622
+ ],
623
+ "visibility": NotRequired["Literal['public', 'private', 'internal']"],
624
+ "page": NotRequired["int"],
625
+ "per_page": NotRequired["int"],
626
+ },
627
+ total=False,
628
+ )
629
+ GithubPackagesListPackagesForUserOutput: TypeAlias = "list[Outputpackage]"
630
+ GithubPackagesRestorePackageForAuthenticatedUserInput = TypedDict(
631
+ "GithubPackagesRestorePackageForAuthenticatedUserInput",
632
+ {
633
+ "path": Required["GithubPackagesRestorePackageForAuthenticatedUserInputPath"],
634
+ "query": NotRequired["GithubPackagesRestorePackageForAuthenticatedUserInputQuery"],
635
+ },
636
+ total=False,
637
+ )
638
+ GithubPackagesRestorePackageForAuthenticatedUserInputPath = TypedDict(
639
+ "GithubPackagesRestorePackageForAuthenticatedUserInputPath",
640
+ {
641
+ "package_type": Required[
642
+ "Literal['npm', 'maven', 'rubygems', 'docker', 'nuget', 'container']"
643
+ ],
644
+ "package_name": Required["str"],
645
+ },
646
+ total=False,
647
+ )
648
+ GithubPackagesRestorePackageForAuthenticatedUserInputQuery = TypedDict(
649
+ "GithubPackagesRestorePackageForAuthenticatedUserInputQuery",
650
+ {"token": NotRequired["str"]},
651
+ total=False,
652
+ )
653
+ GithubPackagesRestorePackageForAuthenticatedUserOutput: TypeAlias = "None"
654
+ GithubPackagesRestorePackageForOrgInput = TypedDict(
655
+ "GithubPackagesRestorePackageForOrgInput",
656
+ {
657
+ "path": Required["GithubPackagesRestorePackageForOrgInputPath"],
658
+ "query": NotRequired["GithubPackagesRestorePackageForOrgInputQuery"],
659
+ },
660
+ total=False,
661
+ )
662
+ GithubPackagesRestorePackageForOrgInputPath = TypedDict(
663
+ "GithubPackagesRestorePackageForOrgInputPath",
664
+ {
665
+ "package_type": Required[
666
+ "Literal['npm', 'maven', 'rubygems', 'docker', 'nuget', 'container']"
667
+ ],
668
+ "package_name": Required["str"],
669
+ "org": Required["str"],
670
+ },
671
+ total=False,
672
+ )
673
+ GithubPackagesRestorePackageForOrgInputQuery = TypedDict(
674
+ "GithubPackagesRestorePackageForOrgInputQuery", {"token": NotRequired["str"]}, total=False
675
+ )
676
+ GithubPackagesRestorePackageForOrgOutput: TypeAlias = "None"
677
+ GithubPackagesRestorePackageForUserInput = TypedDict(
678
+ "GithubPackagesRestorePackageForUserInput",
679
+ {
680
+ "path": Required["GithubPackagesRestorePackageForUserInputPath"],
681
+ "query": NotRequired["GithubPackagesRestorePackageForUserInputQuery"],
682
+ },
683
+ total=False,
684
+ )
685
+ GithubPackagesRestorePackageForUserInputPath = TypedDict(
686
+ "GithubPackagesRestorePackageForUserInputPath",
687
+ {
688
+ "package_type": Required[
689
+ "Literal['npm', 'maven', 'rubygems', 'docker', 'nuget', 'container']"
690
+ ],
691
+ "package_name": Required["str"],
692
+ "username": Required["str"],
693
+ },
694
+ total=False,
695
+ )
696
+ GithubPackagesRestorePackageForUserInputQuery = TypedDict(
697
+ "GithubPackagesRestorePackageForUserInputQuery", {"token": NotRequired["str"]}, total=False
698
+ )
699
+ GithubPackagesRestorePackageForUserOutput: TypeAlias = "None"
700
+ GithubPackagesRestorePackageVersionForAuthenticatedUserInput = TypedDict(
701
+ "GithubPackagesRestorePackageVersionForAuthenticatedUserInput",
702
+ {"path": Required["GithubPackagesRestorePackageVersionForAuthenticatedUserInputPath"]},
703
+ total=False,
704
+ )
705
+ GithubPackagesRestorePackageVersionForAuthenticatedUserInputPath = TypedDict(
706
+ "GithubPackagesRestorePackageVersionForAuthenticatedUserInputPath",
707
+ {
708
+ "package_type": Required[
709
+ "Literal['npm', 'maven', 'rubygems', 'docker', 'nuget', 'container']"
710
+ ],
711
+ "package_name": Required["str"],
712
+ "package_version_id": Required["int"],
713
+ },
714
+ total=False,
715
+ )
716
+ GithubPackagesRestorePackageVersionForAuthenticatedUserOutput: TypeAlias = "None"
717
+ GithubPackagesRestorePackageVersionForOrgInput = TypedDict(
718
+ "GithubPackagesRestorePackageVersionForOrgInput",
719
+ {"path": Required["GithubPackagesRestorePackageVersionForOrgInputPath"]},
720
+ total=False,
721
+ )
722
+ GithubPackagesRestorePackageVersionForOrgInputPath = TypedDict(
723
+ "GithubPackagesRestorePackageVersionForOrgInputPath",
724
+ {
725
+ "package_type": Required[
726
+ "Literal['npm', 'maven', 'rubygems', 'docker', 'nuget', 'container']"
727
+ ],
728
+ "package_name": Required["str"],
729
+ "org": Required["str"],
730
+ "package_version_id": Required["int"],
731
+ },
732
+ total=False,
733
+ )
734
+ GithubPackagesRestorePackageVersionForOrgOutput: TypeAlias = "None"
735
+ GithubPackagesRestorePackageVersionForUserInput = TypedDict(
736
+ "GithubPackagesRestorePackageVersionForUserInput",
737
+ {"path": Required["GithubPackagesRestorePackageVersionForUserInputPath"]},
738
+ total=False,
739
+ )
740
+ GithubPackagesRestorePackageVersionForUserInputPath = TypedDict(
741
+ "GithubPackagesRestorePackageVersionForUserInputPath",
742
+ {
743
+ "package_type": Required[
744
+ "Literal['npm', 'maven', 'rubygems', 'docker', 'nuget', 'container']"
745
+ ],
746
+ "package_name": Required["str"],
747
+ "username": Required["str"],
748
+ "package_version_id": Required["int"],
749
+ },
750
+ total=False,
751
+ )
752
+ GithubPackagesRestorePackageVersionForUserOutput: TypeAlias = "None"
753
+ GithubPrivateRegistriesCreateOrgPrivateRegistryInput = TypedDict(
754
+ "GithubPrivateRegistriesCreateOrgPrivateRegistryInput",
755
+ {
756
+ "path": Required["GithubPrivateRegistriesCreateOrgPrivateRegistryInputPath"],
757
+ "body": Required["GithubPrivateRegistriesCreateOrgPrivateRegistryInputBody"],
758
+ },
759
+ total=False,
760
+ )
761
+ GithubPrivateRegistriesCreateOrgPrivateRegistryInputBody = TypedDict(
762
+ "GithubPrivateRegistriesCreateOrgPrivateRegistryInputBody",
763
+ {
764
+ "account_id": NotRequired["str"],
765
+ "api_host": NotRequired["str"],
766
+ "audience": NotRequired["str"],
767
+ "auth_type": NotRequired[
768
+ "Literal['token', 'username_password', 'oidc_azure', 'oidc_aws', 'oidc_jfrog', 'oidc_cloudsmith', 'oidc_gcp', 'anonymous']"
769
+ ],
770
+ "aws_region": NotRequired["str"],
771
+ "client_id": NotRequired["str"],
772
+ "domain": NotRequired["str"],
773
+ "domain_owner": NotRequired["str"],
774
+ "encrypted_value": NotRequired["str"],
775
+ "identity_mapping_name": NotRequired["str"],
776
+ "jfrog_oidc_provider_name": NotRequired["str"],
777
+ "key_id": NotRequired["str"],
778
+ "namespace": NotRequired["str"],
779
+ "registry_type": Required[
780
+ "Literal['maven_repository', 'nuget_feed', 'goproxy_server', 'npm_registry', 'rubygems_server', 'cargo_registry', 'composer_repository', 'docker_registry', 'git_source', 'helm_registry', 'hex_organization', 'hex_repository', 'pub_repository', 'python_index', 'terraform_registry']"
781
+ ],
782
+ "replaces_base": NotRequired["bool"],
783
+ "role_name": NotRequired["str"],
784
+ "selected_repository_ids": NotRequired["list[int]"],
785
+ "service_account": NotRequired["str"],
786
+ "service_slug": NotRequired["str"],
787
+ "tenant_id": NotRequired["str"],
788
+ "url": Required["str"],
789
+ "username": NotRequired["str | None"],
790
+ "visibility": Required["Literal['all', 'private', 'selected']"],
791
+ "workload_identity_provider": NotRequired["str"],
792
+ },
793
+ total=False,
794
+ )
795
+ GithubPrivateRegistriesCreateOrgPrivateRegistryInputPath = TypedDict(
796
+ "GithubPrivateRegistriesCreateOrgPrivateRegistryInputPath",
797
+ {"org": Required["str"]},
798
+ total=False,
799
+ )
800
+ GithubPrivateRegistriesCreateOrgPrivateRegistryOutput: TypeAlias = (
801
+ "OutputorgPrivateRegistryConfigurationWithSelectedRepositories"
802
+ )
803
+ GithubPrivateRegistriesDeleteOrgPrivateRegistryInput = TypedDict(
804
+ "GithubPrivateRegistriesDeleteOrgPrivateRegistryInput",
805
+ {"path": Required["GithubPrivateRegistriesDeleteOrgPrivateRegistryInputPath"]},
806
+ total=False,
807
+ )
808
+ GithubPrivateRegistriesDeleteOrgPrivateRegistryInputPath = TypedDict(
809
+ "GithubPrivateRegistriesDeleteOrgPrivateRegistryInputPath",
810
+ {"org": Required["str"], "secret_name": Required["str"]},
811
+ total=False,
812
+ )
813
+ GithubPrivateRegistriesDeleteOrgPrivateRegistryOutput: TypeAlias = "None"
814
+ GithubPrivateRegistriesGetOrgPrivateRegistryInput = TypedDict(
815
+ "GithubPrivateRegistriesGetOrgPrivateRegistryInput",
816
+ {"path": Required["GithubPrivateRegistriesGetOrgPrivateRegistryInputPath"]},
817
+ total=False,
818
+ )
819
+ GithubPrivateRegistriesGetOrgPrivateRegistryInputPath = TypedDict(
820
+ "GithubPrivateRegistriesGetOrgPrivateRegistryInputPath",
821
+ {"org": Required["str"], "secret_name": Required["str"]},
822
+ total=False,
823
+ )
824
+ GithubPrivateRegistriesGetOrgPrivateRegistryOutput: TypeAlias = (
825
+ "OutputorgPrivateRegistryConfiguration"
826
+ )
827
+ GithubPrivateRegistriesGetOrgPublicKeyInput = TypedDict(
828
+ "GithubPrivateRegistriesGetOrgPublicKeyInput",
829
+ {"path": Required["GithubPrivateRegistriesGetOrgPublicKeyInputPath"]},
830
+ total=False,
831
+ )
832
+ GithubPrivateRegistriesGetOrgPublicKeyInputPath = TypedDict(
833
+ "GithubPrivateRegistriesGetOrgPublicKeyInputPath", {"org": Required["str"]}, total=False
834
+ )
835
+ GithubPrivateRegistriesGetOrgPublicKeyOutput = TypedDict(
836
+ "GithubPrivateRegistriesGetOrgPublicKeyOutput",
837
+ {"key": Required["str"], "key_id": Required["str"]},
838
+ total=False,
839
+ )
840
+ GithubPrivateRegistriesListOrgPrivateRegistriesInput = TypedDict(
841
+ "GithubPrivateRegistriesListOrgPrivateRegistriesInput",
842
+ {
843
+ "path": Required["GithubPrivateRegistriesListOrgPrivateRegistriesInputPath"],
844
+ "query": NotRequired["GithubPrivateRegistriesListOrgPrivateRegistriesInputQuery"],
845
+ },
846
+ total=False,
847
+ )
848
+ GithubPrivateRegistriesListOrgPrivateRegistriesInputPath = TypedDict(
849
+ "GithubPrivateRegistriesListOrgPrivateRegistriesInputPath",
850
+ {"org": Required["str"]},
851
+ total=False,
852
+ )
853
+ GithubPrivateRegistriesListOrgPrivateRegistriesInputQuery = TypedDict(
854
+ "GithubPrivateRegistriesListOrgPrivateRegistriesInputQuery",
855
+ {"per_page": NotRequired["int"], "page": NotRequired["int"]},
856
+ total=False,
857
+ )
858
+ GithubPrivateRegistriesListOrgPrivateRegistriesOutput = TypedDict(
859
+ "GithubPrivateRegistriesListOrgPrivateRegistriesOutput",
860
+ {
861
+ "configurations": Required["list[OutputorgPrivateRegistryConfiguration]"],
862
+ "total_count": Required["int | str"],
863
+ },
864
+ total=False,
865
+ )
866
+ GithubPrivateRegistriesUpdateOrgPrivateRegistryInput = TypedDict(
867
+ "GithubPrivateRegistriesUpdateOrgPrivateRegistryInput",
868
+ {
869
+ "path": Required["GithubPrivateRegistriesUpdateOrgPrivateRegistryInputPath"],
870
+ "body": Required["GithubPrivateRegistriesUpdateOrgPrivateRegistryInputBody"],
871
+ },
872
+ total=False,
873
+ )
874
+ GithubPrivateRegistriesUpdateOrgPrivateRegistryInputBody = TypedDict(
875
+ "GithubPrivateRegistriesUpdateOrgPrivateRegistryInputBody",
876
+ {
877
+ "account_id": NotRequired["str"],
878
+ "api_host": NotRequired["str"],
879
+ "audience": NotRequired["str"],
880
+ "auth_type": NotRequired[
881
+ "Literal['token', 'username_password', 'oidc_azure', 'oidc_aws', 'oidc_jfrog', 'oidc_cloudsmith', 'oidc_gcp', 'anonymous']"
882
+ ],
883
+ "aws_region": NotRequired["str"],
884
+ "client_id": NotRequired["str"],
885
+ "domain": NotRequired["str"],
886
+ "domain_owner": NotRequired["str"],
887
+ "encrypted_value": NotRequired["str"],
888
+ "identity_mapping_name": NotRequired["str"],
889
+ "jfrog_oidc_provider_name": NotRequired["str"],
890
+ "key_id": NotRequired["str"],
891
+ "namespace": NotRequired["str"],
892
+ "registry_type": NotRequired[
893
+ "Literal['maven_repository', 'nuget_feed', 'goproxy_server', 'npm_registry', 'rubygems_server', 'cargo_registry', 'composer_repository', 'docker_registry', 'git_source', 'helm_registry', 'hex_organization', 'hex_repository', 'pub_repository', 'python_index', 'terraform_registry']"
894
+ ],
895
+ "replaces_base": NotRequired["bool"],
896
+ "role_name": NotRequired["str"],
897
+ "selected_repository_ids": NotRequired["list[int]"],
898
+ "service_account": NotRequired["str"],
899
+ "service_slug": NotRequired["str"],
900
+ "tenant_id": NotRequired["str"],
901
+ "url": NotRequired["str"],
902
+ "username": NotRequired["str | None"],
903
+ "visibility": NotRequired["Literal['all', 'private', 'selected']"],
904
+ "workload_identity_provider": NotRequired["str"],
905
+ },
906
+ total=False,
907
+ )
908
+ GithubPrivateRegistriesUpdateOrgPrivateRegistryInputPath = TypedDict(
909
+ "GithubPrivateRegistriesUpdateOrgPrivateRegistryInputPath",
910
+ {"org": Required["str"], "secret_name": Required["str"]},
911
+ total=False,
912
+ )
913
+ GithubPrivateRegistriesUpdateOrgPrivateRegistryOutput: TypeAlias = "None"
914
+ GithubProjectsAddFieldForOrgInput = TypedDict(
915
+ "GithubProjectsAddFieldForOrgInput",
916
+ {
917
+ "path": Required["GithubProjectsAddFieldForOrgInputPath"],
918
+ "body": Required[
919
+ "GithubProjectsAddFieldForOrgInputBodyVariant0 | GithubProjectsAddFieldForOrgInputBodyVariant1 | GithubProjectsAddFieldForOrgInputBodyVariant2 | GithubProjectsAddFieldForOrgInputBodyVariant3"
920
+ ],
921
+ },
922
+ total=False,
923
+ )
924
+ GithubProjectsAddFieldForOrgInputBodyVariant0 = TypedDict(
925
+ "GithubProjectsAddFieldForOrgInputBodyVariant0",
926
+ {"issue_field_id": Required["int"]},
927
+ total=False,
928
+ )
929
+ GithubProjectsAddFieldForOrgInputBodyVariant1 = TypedDict(
930
+ "GithubProjectsAddFieldForOrgInputBodyVariant1",
931
+ {"data_type": Required["Literal['text', 'number', 'date']"], "name": Required["str"]},
932
+ total=False,
933
+ )
934
+ GithubProjectsAddFieldForOrgInputBodyVariant2 = TypedDict(
935
+ "GithubProjectsAddFieldForOrgInputBodyVariant2",
936
+ {
937
+ "data_type": Required["Literal['single_select']"],
938
+ "name": Required["str"],
939
+ "single_select_options": Required["list[ProjectsV2FieldSingleSelectOption]"],
940
+ },
941
+ total=False,
942
+ )
943
+ GithubProjectsAddFieldForOrgInputBodyVariant3 = TypedDict(
944
+ "GithubProjectsAddFieldForOrgInputBodyVariant3",
945
+ {
946
+ "data_type": Required["Literal['iteration']"],
947
+ "iteration_configuration": Required["ProjectsV2FieldIterationConfiguration"],
948
+ "name": Required["str"],
949
+ },
950
+ total=False,
951
+ )
952
+ GithubProjectsAddFieldForOrgInputPath = TypedDict(
953
+ "GithubProjectsAddFieldForOrgInputPath",
954
+ {"project_number": Required["int"], "org": Required["str"]},
955
+ total=False,
956
+ )
957
+ GithubProjectsAddFieldForOrgOutput: TypeAlias = "OutputprojectsV2Field"
958
+ GithubProjectsAddFieldForUserInput = TypedDict(
959
+ "GithubProjectsAddFieldForUserInput",
960
+ {
961
+ "path": Required["GithubProjectsAddFieldForUserInputPath"],
962
+ "body": Required[
963
+ "GithubProjectsAddFieldForUserInputBodyVariant0 | GithubProjectsAddFieldForUserInputBodyVariant1 | GithubProjectsAddFieldForUserInputBodyVariant2"
964
+ ],
965
+ },
966
+ total=False,
967
+ )
968
+ GithubProjectsAddFieldForUserInputBodyVariant0 = TypedDict(
969
+ "GithubProjectsAddFieldForUserInputBodyVariant0",
970
+ {"data_type": Required["Literal['text', 'number', 'date']"], "name": Required["str"]},
971
+ total=False,
972
+ )
973
+ GithubProjectsAddFieldForUserInputBodyVariant1 = TypedDict(
974
+ "GithubProjectsAddFieldForUserInputBodyVariant1",
975
+ {
976
+ "data_type": Required["Literal['single_select']"],
977
+ "name": Required["str"],
978
+ "single_select_options": Required["list[ProjectsV2FieldSingleSelectOption]"],
979
+ },
980
+ total=False,
981
+ )
982
+ GithubProjectsAddFieldForUserInputBodyVariant2 = TypedDict(
983
+ "GithubProjectsAddFieldForUserInputBodyVariant2",
984
+ {
985
+ "data_type": Required["Literal['iteration']"],
986
+ "iteration_configuration": Required["ProjectsV2FieldIterationConfiguration"],
987
+ "name": Required["str"],
988
+ },
989
+ total=False,
990
+ )
991
+ GithubProjectsAddFieldForUserInputPath = TypedDict(
992
+ "GithubProjectsAddFieldForUserInputPath",
993
+ {"username": Required["str"], "project_number": Required["int"]},
994
+ total=False,
995
+ )
996
+ GithubProjectsAddFieldForUserOutput: TypeAlias = "OutputprojectsV2Field"
997
+ GithubProjectsAddItemForOrgInput = TypedDict(
998
+ "GithubProjectsAddItemForOrgInput",
999
+ {
1000
+ "path": Required["GithubProjectsAddItemForOrgInputPath"],
1001
+ "body": Required[
1002
+ "GithubProjectsAddItemForOrgInputBodyVariant0 | GithubProjectsAddItemForOrgInputBodyVariant1"
1003
+ ],
1004
+ },
1005
+ total=False,
1006
+ )
1007
+ GithubProjectsAddItemForOrgInputBodyVariant0 = TypedDict(
1008
+ "GithubProjectsAddItemForOrgInputBodyVariant0",
1009
+ {
1010
+ "id": Required["int"],
1011
+ "number": NotRequired["int"],
1012
+ "owner": NotRequired["str"],
1013
+ "repo": NotRequired["str"],
1014
+ "type": Required["Literal['Issue', 'PullRequest']"],
1015
+ },
1016
+ total=False,
1017
+ )
1018
+ GithubProjectsAddItemForOrgInputBodyVariant1 = TypedDict(
1019
+ "GithubProjectsAddItemForOrgInputBodyVariant1",
1020
+ {
1021
+ "id": NotRequired["int"],
1022
+ "number": Required["int"],
1023
+ "owner": Required["str"],
1024
+ "repo": Required["str"],
1025
+ "type": Required["Literal['Issue', 'PullRequest']"],
1026
+ },
1027
+ total=False,
1028
+ )
1029
+ GithubProjectsAddItemForOrgInputPath = TypedDict(
1030
+ "GithubProjectsAddItemForOrgInputPath",
1031
+ {"org": Required["str"], "project_number": Required["int"]},
1032
+ total=False,
1033
+ )
1034
+ GithubProjectsAddItemForOrgOutput: TypeAlias = "OutputprojectsV2ItemSimple"
1035
+ GithubProjectsAddItemForUserInput = TypedDict(
1036
+ "GithubProjectsAddItemForUserInput",
1037
+ {
1038
+ "path": Required["GithubProjectsAddItemForUserInputPath"],
1039
+ "body": Required[
1040
+ "GithubProjectsAddItemForUserInputBodyVariant0 | GithubProjectsAddItemForUserInputBodyVariant1"
1041
+ ],
1042
+ },
1043
+ total=False,
1044
+ )
1045
+ GithubProjectsAddItemForUserInputBodyVariant0 = TypedDict(
1046
+ "GithubProjectsAddItemForUserInputBodyVariant0",
1047
+ {
1048
+ "id": Required["int"],
1049
+ "number": NotRequired["int"],
1050
+ "owner": NotRequired["str"],
1051
+ "repo": NotRequired["str"],
1052
+ "type": Required["Literal['Issue', 'PullRequest']"],
1053
+ },
1054
+ total=False,
1055
+ )
1056
+ GithubProjectsAddItemForUserInputBodyVariant1 = TypedDict(
1057
+ "GithubProjectsAddItemForUserInputBodyVariant1",
1058
+ {
1059
+ "id": NotRequired["int"],
1060
+ "number": Required["int"],
1061
+ "owner": Required["str"],
1062
+ "repo": Required["str"],
1063
+ "type": Required["Literal['Issue', 'PullRequest']"],
1064
+ },
1065
+ total=False,
1066
+ )
1067
+ GithubProjectsAddItemForUserInputPath = TypedDict(
1068
+ "GithubProjectsAddItemForUserInputPath",
1069
+ {"username": Required["str"], "project_number": Required["int"]},
1070
+ total=False,
1071
+ )
1072
+ GithubProjectsAddItemForUserOutput: TypeAlias = "OutputprojectsV2ItemSimple"
1073
+ GithubProjectsCreateDraftItemForAuthenticatedUserInput = TypedDict(
1074
+ "GithubProjectsCreateDraftItemForAuthenticatedUserInput",
1075
+ {
1076
+ "path": Required["GithubProjectsCreateDraftItemForAuthenticatedUserInputPath"],
1077
+ "body": Required["GithubProjectsCreateDraftItemForAuthenticatedUserInputBody"],
1078
+ },
1079
+ total=False,
1080
+ )
1081
+ GithubProjectsCreateDraftItemForAuthenticatedUserInputBody = TypedDict(
1082
+ "GithubProjectsCreateDraftItemForAuthenticatedUserInputBody",
1083
+ {"body": NotRequired["str"], "title": Required["str"]},
1084
+ total=False,
1085
+ )
1086
+ GithubProjectsCreateDraftItemForAuthenticatedUserInputPath = TypedDict(
1087
+ "GithubProjectsCreateDraftItemForAuthenticatedUserInputPath",
1088
+ {"user_id": Required["str"], "project_number": Required["int"]},
1089
+ total=False,
1090
+ )
1091
+ GithubProjectsCreateDraftItemForAuthenticatedUserOutput: TypeAlias = "OutputprojectsV2ItemSimple"
1092
+ GithubProjectsCreateDraftItemForOrgInput = TypedDict(
1093
+ "GithubProjectsCreateDraftItemForOrgInput",
1094
+ {
1095
+ "path": Required["GithubProjectsCreateDraftItemForOrgInputPath"],
1096
+ "body": Required["GithubProjectsCreateDraftItemForOrgInputBody"],
1097
+ },
1098
+ total=False,
1099
+ )
1100
+ GithubProjectsCreateDraftItemForOrgInputBody = TypedDict(
1101
+ "GithubProjectsCreateDraftItemForOrgInputBody",
1102
+ {"body": NotRequired["str"], "title": Required["str"]},
1103
+ total=False,
1104
+ )
1105
+ GithubProjectsCreateDraftItemForOrgInputPath = TypedDict(
1106
+ "GithubProjectsCreateDraftItemForOrgInputPath",
1107
+ {"org": Required["str"], "project_number": Required["int"]},
1108
+ total=False,
1109
+ )
1110
+ GithubProjectsCreateDraftItemForOrgOutput: TypeAlias = "OutputprojectsV2ItemSimple"
1111
+ GithubProjectsCreateViewForOrgInput = TypedDict(
1112
+ "GithubProjectsCreateViewForOrgInput",
1113
+ {
1114
+ "path": Required["GithubProjectsCreateViewForOrgInputPath"],
1115
+ "body": Required["GithubProjectsCreateViewForOrgInputBody"],
1116
+ },
1117
+ total=False,
1118
+ )
1119
+ GithubProjectsCreateViewForOrgInputBody = TypedDict(
1120
+ "GithubProjectsCreateViewForOrgInputBody",
1121
+ {
1122
+ "filter": NotRequired["str"],
1123
+ "group_by": NotRequired["list[int]"],
1124
+ "layout": Required["Literal['table', 'board', 'roadmap']"],
1125
+ "name": Required["str"],
1126
+ "sort_by": NotRequired["list[list[int | str]]"],
1127
+ "vertical_group_by": NotRequired["list[int]"],
1128
+ "visible_fields": NotRequired["list[int]"],
1129
+ },
1130
+ total=False,
1131
+ )
1132
+ GithubProjectsCreateViewForOrgInputPath = TypedDict(
1133
+ "GithubProjectsCreateViewForOrgInputPath",
1134
+ {"org": Required["str"], "project_number": Required["int"]},
1135
+ total=False,
1136
+ )
1137
+ GithubProjectsCreateViewForOrgOutput: TypeAlias = "OutputprojectsV2View"
1138
+ GithubProjectsCreateViewForUserInput = TypedDict(
1139
+ "GithubProjectsCreateViewForUserInput",
1140
+ {
1141
+ "path": Required["GithubProjectsCreateViewForUserInputPath"],
1142
+ "body": Required["GithubProjectsCreateViewForUserInputBody"],
1143
+ },
1144
+ total=False,
1145
+ )
1146
+ GithubProjectsCreateViewForUserInputBody = TypedDict(
1147
+ "GithubProjectsCreateViewForUserInputBody",
1148
+ {
1149
+ "filter": NotRequired["str"],
1150
+ "group_by": NotRequired["list[int]"],
1151
+ "layout": Required["Literal['table', 'board', 'roadmap']"],
1152
+ "name": Required["str"],
1153
+ "sort_by": NotRequired["list[list[int | str]]"],
1154
+ "vertical_group_by": NotRequired["list[int]"],
1155
+ "visible_fields": NotRequired["list[int]"],
1156
+ },
1157
+ total=False,
1158
+ )
1159
+ GithubProjectsCreateViewForUserInputPath = TypedDict(
1160
+ "GithubProjectsCreateViewForUserInputPath",
1161
+ {"user_id": Required["str"], "project_number": Required["int"]},
1162
+ total=False,
1163
+ )
1164
+ GithubProjectsCreateViewForUserOutput: TypeAlias = "OutputprojectsV2View"
1165
+ GithubProjectsDeleteItemForOrgInput = TypedDict(
1166
+ "GithubProjectsDeleteItemForOrgInput",
1167
+ {"path": Required["GithubProjectsDeleteItemForOrgInputPath"]},
1168
+ total=False,
1169
+ )
1170
+ GithubProjectsDeleteItemForOrgInputPath = TypedDict(
1171
+ "GithubProjectsDeleteItemForOrgInputPath",
1172
+ {"project_number": Required["int"], "org": Required["str"], "item_id": Required["int"]},
1173
+ total=False,
1174
+ )
1175
+ GithubProjectsDeleteItemForOrgOutput: TypeAlias = "None"
1176
+ GithubProjectsDeleteItemForUserInput = TypedDict(
1177
+ "GithubProjectsDeleteItemForUserInput",
1178
+ {"path": Required["GithubProjectsDeleteItemForUserInputPath"]},
1179
+ total=False,
1180
+ )
1181
+ GithubProjectsDeleteItemForUserInputPath = TypedDict(
1182
+ "GithubProjectsDeleteItemForUserInputPath",
1183
+ {"project_number": Required["int"], "username": Required["str"], "item_id": Required["int"]},
1184
+ total=False,
1185
+ )
1186
+ GithubProjectsDeleteItemForUserOutput: TypeAlias = "None"
1187
+ GithubProjectsGetFieldForOrgInput = TypedDict(
1188
+ "GithubProjectsGetFieldForOrgInput",
1189
+ {"path": Required["GithubProjectsGetFieldForOrgInputPath"]},
1190
+ total=False,
1191
+ )
1192
+ GithubProjectsGetFieldForOrgInputPath = TypedDict(
1193
+ "GithubProjectsGetFieldForOrgInputPath",
1194
+ {"project_number": Required["int"], "field_id": Required["int"], "org": Required["str"]},
1195
+ total=False,
1196
+ )
1197
+ GithubProjectsGetFieldForOrgOutput: TypeAlias = "OutputprojectsV2Field"
1198
+ GithubProjectsGetFieldForUserInput = TypedDict(
1199
+ "GithubProjectsGetFieldForUserInput",
1200
+ {"path": Required["GithubProjectsGetFieldForUserInputPath"]},
1201
+ total=False,
1202
+ )
1203
+ GithubProjectsGetFieldForUserInputPath = TypedDict(
1204
+ "GithubProjectsGetFieldForUserInputPath",
1205
+ {"project_number": Required["int"], "field_id": Required["int"], "username": Required["str"]},
1206
+ total=False,
1207
+ )
1208
+ GithubProjectsGetFieldForUserOutput: TypeAlias = "OutputprojectsV2Field"
1209
+ GithubProjectsGetForOrgInput = TypedDict(
1210
+ "GithubProjectsGetForOrgInput",
1211
+ {"path": Required["GithubProjectsGetForOrgInputPath"]},
1212
+ total=False,
1213
+ )
1214
+ GithubProjectsGetForOrgInputPath = TypedDict(
1215
+ "GithubProjectsGetForOrgInputPath",
1216
+ {"project_number": Required["int"], "org": Required["str"]},
1217
+ total=False,
1218
+ )
1219
+ GithubProjectsGetForOrgOutput: TypeAlias = "OutputprojectsV2"
1220
+ GithubProjectsGetForUserInput = TypedDict(
1221
+ "GithubProjectsGetForUserInput",
1222
+ {"path": Required["GithubProjectsGetForUserInputPath"]},
1223
+ total=False,
1224
+ )
1225
+ GithubProjectsGetForUserInputPath = TypedDict(
1226
+ "GithubProjectsGetForUserInputPath",
1227
+ {"project_number": Required["int"], "username": Required["str"]},
1228
+ total=False,
1229
+ )
1230
+ GithubProjectsGetForUserOutput: TypeAlias = "OutputprojectsV2"
1231
+ GithubProjectsGetOrgItemInput = TypedDict(
1232
+ "GithubProjectsGetOrgItemInput",
1233
+ {
1234
+ "path": Required["GithubProjectsGetOrgItemInputPath"],
1235
+ "query": NotRequired["GithubProjectsGetOrgItemInputQuery"],
1236
+ },
1237
+ total=False,
1238
+ )
1239
+ GithubProjectsGetOrgItemInputPath = TypedDict(
1240
+ "GithubProjectsGetOrgItemInputPath",
1241
+ {"project_number": Required["int"], "org": Required["str"], "item_id": Required["int"]},
1242
+ total=False,
1243
+ )
1244
+ GithubProjectsGetOrgItemInputQuery = TypedDict(
1245
+ "GithubProjectsGetOrgItemInputQuery", {"fields": NotRequired["str | list[str]"]}, total=False
1246
+ )
1247
+ GithubProjectsGetOrgItemOutput: TypeAlias = "OutputprojectsV2ItemWithContent"
1248
+ GithubProjectsGetUserItemInput = TypedDict(
1249
+ "GithubProjectsGetUserItemInput",
1250
+ {
1251
+ "path": Required["GithubProjectsGetUserItemInputPath"],
1252
+ "query": NotRequired["GithubProjectsGetUserItemInputQuery"],
1253
+ },
1254
+ total=False,
1255
+ )
1256
+ GithubProjectsGetUserItemInputPath = TypedDict(
1257
+ "GithubProjectsGetUserItemInputPath",
1258
+ {"project_number": Required["int"], "username": Required["str"], "item_id": Required["int"]},
1259
+ total=False,
1260
+ )
1261
+ GithubProjectsGetUserItemInputQuery = TypedDict(
1262
+ "GithubProjectsGetUserItemInputQuery", {"fields": NotRequired["str | list[str]"]}, total=False
1263
+ )
1264
+ GithubProjectsGetUserItemOutput: TypeAlias = "OutputprojectsV2ItemWithContent"
1265
+ GithubProjectsListFieldsForOrgInput = TypedDict(
1266
+ "GithubProjectsListFieldsForOrgInput",
1267
+ {
1268
+ "path": Required["GithubProjectsListFieldsForOrgInputPath"],
1269
+ "query": NotRequired["GithubProjectsListFieldsForOrgInputQuery"],
1270
+ },
1271
+ total=False,
1272
+ )
1273
+ GithubProjectsListFieldsForOrgInputPath = TypedDict(
1274
+ "GithubProjectsListFieldsForOrgInputPath",
1275
+ {"project_number": Required["int"], "org": Required["str"]},
1276
+ total=False,
1277
+ )
1278
+ GithubProjectsListFieldsForOrgInputQuery = TypedDict(
1279
+ "GithubProjectsListFieldsForOrgInputQuery",
1280
+ {"per_page": NotRequired["int"], "before": NotRequired["str"], "after": NotRequired["str"]},
1281
+ total=False,
1282
+ )
1283
+ GithubProjectsListFieldsForOrgOutput: TypeAlias = "list[OutputprojectsV2Field]"
1284
+ GithubProjectsListFieldsForUserInput = TypedDict(
1285
+ "GithubProjectsListFieldsForUserInput",
1286
+ {
1287
+ "path": Required["GithubProjectsListFieldsForUserInputPath"],
1288
+ "query": NotRequired["GithubProjectsListFieldsForUserInputQuery"],
1289
+ },
1290
+ total=False,
1291
+ )
1292
+ GithubProjectsListFieldsForUserInputPath = TypedDict(
1293
+ "GithubProjectsListFieldsForUserInputPath",
1294
+ {"project_number": Required["int"], "username": Required["str"]},
1295
+ total=False,
1296
+ )
1297
+ GithubProjectsListFieldsForUserInputQuery = TypedDict(
1298
+ "GithubProjectsListFieldsForUserInputQuery",
1299
+ {"per_page": NotRequired["int"], "before": NotRequired["str"], "after": NotRequired["str"]},
1300
+ total=False,
1301
+ )
1302
+ GithubProjectsListFieldsForUserOutput: TypeAlias = "list[OutputprojectsV2Field]"
1303
+ GithubProjectsListForOrgInput = TypedDict(
1304
+ "GithubProjectsListForOrgInput",
1305
+ {
1306
+ "path": Required["GithubProjectsListForOrgInputPath"],
1307
+ "query": NotRequired["GithubProjectsListForOrgInputQuery"],
1308
+ },
1309
+ total=False,
1310
+ )
1311
+ GithubProjectsListForOrgInputPath = TypedDict(
1312
+ "GithubProjectsListForOrgInputPath", {"org": Required["str"]}, total=False
1313
+ )
1314
+ GithubProjectsListForOrgInputQuery = TypedDict(
1315
+ "GithubProjectsListForOrgInputQuery",
1316
+ {
1317
+ "q": NotRequired["str"],
1318
+ "before": NotRequired["str"],
1319
+ "after": NotRequired["str"],
1320
+ "per_page": NotRequired["int"],
1321
+ },
1322
+ total=False,
1323
+ )
1324
+ GithubProjectsListForOrgOutput: TypeAlias = "list[OutputprojectsV2]"
1325
+ GithubProjectsListForUserInput = TypedDict(
1326
+ "GithubProjectsListForUserInput",
1327
+ {
1328
+ "path": Required["GithubProjectsListForUserInputPath"],
1329
+ "query": NotRequired["GithubProjectsListForUserInputQuery"],
1330
+ },
1331
+ total=False,
1332
+ )
1333
+ GithubProjectsListForUserInputPath = TypedDict(
1334
+ "GithubProjectsListForUserInputPath", {"username": Required["str"]}, total=False
1335
+ )
1336
+ GithubProjectsListForUserInputQuery = TypedDict(
1337
+ "GithubProjectsListForUserInputQuery",
1338
+ {
1339
+ "q": NotRequired["str"],
1340
+ "before": NotRequired["str"],
1341
+ "after": NotRequired["str"],
1342
+ "per_page": NotRequired["int"],
1343
+ },
1344
+ total=False,
1345
+ )
1346
+ GithubProjectsListForUserOutput: TypeAlias = "list[OutputprojectsV2]"
1347
+ GithubProjectsListItemsForOrgInput = TypedDict(
1348
+ "GithubProjectsListItemsForOrgInput",
1349
+ {
1350
+ "path": Required["GithubProjectsListItemsForOrgInputPath"],
1351
+ "query": NotRequired["GithubProjectsListItemsForOrgInputQuery"],
1352
+ },
1353
+ total=False,
1354
+ )
1355
+ GithubProjectsListItemsForOrgInputPath = TypedDict(
1356
+ "GithubProjectsListItemsForOrgInputPath",
1357
+ {"project_number": Required["int"], "org": Required["str"]},
1358
+ total=False,
1359
+ )
1360
+ GithubProjectsListItemsForOrgInputQuery = TypedDict(
1361
+ "GithubProjectsListItemsForOrgInputQuery",
1362
+ {
1363
+ "q": NotRequired["str"],
1364
+ "fields": NotRequired["str | list[str]"],
1365
+ "before": NotRequired["str"],
1366
+ "after": NotRequired["str"],
1367
+ "per_page": NotRequired["int"],
1368
+ },
1369
+ total=False,
1370
+ )
1371
+ GithubProjectsListItemsForOrgOutput: TypeAlias = "list[OutputprojectsV2ItemWithContent]"
1372
+ GithubProjectsListItemsForUserInput = TypedDict(
1373
+ "GithubProjectsListItemsForUserInput",
1374
+ {
1375
+ "path": Required["GithubProjectsListItemsForUserInputPath"],
1376
+ "query": NotRequired["GithubProjectsListItemsForUserInputQuery"],
1377
+ },
1378
+ total=False,
1379
+ )
1380
+ GithubProjectsListItemsForUserInputPath = TypedDict(
1381
+ "GithubProjectsListItemsForUserInputPath",
1382
+ {"project_number": Required["int"], "username": Required["str"]},
1383
+ total=False,
1384
+ )
1385
+ GithubProjectsListItemsForUserInputQuery = TypedDict(
1386
+ "GithubProjectsListItemsForUserInputQuery",
1387
+ {
1388
+ "before": NotRequired["str"],
1389
+ "after": NotRequired["str"],
1390
+ "per_page": NotRequired["int"],
1391
+ "q": NotRequired["str"],
1392
+ "fields": NotRequired["str | list[str]"],
1393
+ },
1394
+ total=False,
1395
+ )
1396
+ GithubProjectsListItemsForUserOutput: TypeAlias = "list[OutputprojectsV2ItemWithContent]"
1397
+ GithubProjectsListViewItemsForOrgInput = TypedDict(
1398
+ "GithubProjectsListViewItemsForOrgInput",
1399
+ {
1400
+ "path": Required["GithubProjectsListViewItemsForOrgInputPath"],
1401
+ "query": NotRequired["GithubProjectsListViewItemsForOrgInputQuery"],
1402
+ },
1403
+ total=False,
1404
+ )
1405
+ GithubProjectsListViewItemsForOrgInputPath = TypedDict(
1406
+ "GithubProjectsListViewItemsForOrgInputPath",
1407
+ {"project_number": Required["int"], "org": Required["str"], "view_number": Required["int"]},
1408
+ total=False,
1409
+ )
1410
+ GithubProjectsListViewItemsForOrgInputQuery = TypedDict(
1411
+ "GithubProjectsListViewItemsForOrgInputQuery",
1412
+ {
1413
+ "fields": NotRequired["str | list[str]"],
1414
+ "before": NotRequired["str"],
1415
+ "after": NotRequired["str"],
1416
+ "per_page": NotRequired["int"],
1417
+ },
1418
+ total=False,
1419
+ )
1420
+ GithubProjectsListViewItemsForOrgOutput: TypeAlias = "list[OutputprojectsV2ItemWithContent]"
1421
+ GithubProjectsListViewItemsForUserInput = TypedDict(
1422
+ "GithubProjectsListViewItemsForUserInput",
1423
+ {
1424
+ "path": Required["GithubProjectsListViewItemsForUserInputPath"],
1425
+ "query": NotRequired["GithubProjectsListViewItemsForUserInputQuery"],
1426
+ },
1427
+ total=False,
1428
+ )
1429
+ GithubProjectsListViewItemsForUserInputPath = TypedDict(
1430
+ "GithubProjectsListViewItemsForUserInputPath",
1431
+ {
1432
+ "project_number": Required["int"],
1433
+ "username": Required["str"],
1434
+ "view_number": Required["int"],
1435
+ },
1436
+ total=False,
1437
+ )
1438
+ GithubProjectsListViewItemsForUserInputQuery = TypedDict(
1439
+ "GithubProjectsListViewItemsForUserInputQuery",
1440
+ {
1441
+ "fields": NotRequired["str | list[str]"],
1442
+ "before": NotRequired["str"],
1443
+ "after": NotRequired["str"],
1444
+ "per_page": NotRequired["int"],
1445
+ },
1446
+ total=False,
1447
+ )
1448
+ GithubProjectsListViewItemsForUserOutput: TypeAlias = "list[OutputprojectsV2ItemWithContent]"
1449
+ GithubProjectsUpdateItemForOrgInput = TypedDict(
1450
+ "GithubProjectsUpdateItemForOrgInput",
1451
+ {
1452
+ "path": Required["GithubProjectsUpdateItemForOrgInputPath"],
1453
+ "body": Required["GithubProjectsUpdateItemForOrgInputBody"],
1454
+ },
1455
+ total=False,
1456
+ )
1457
+ GithubProjectsUpdateItemForOrgInputBody = TypedDict(
1458
+ "GithubProjectsUpdateItemForOrgInputBody",
1459
+ {"fields": Required["list[GithubProjectsUpdateItemForOrgInputBodyFieldsItem]"]},
1460
+ total=False,
1461
+ )
1462
+ GithubProjectsUpdateItemForOrgInputBodyFieldsItem = TypedDict(
1463
+ "GithubProjectsUpdateItemForOrgInputBodyFieldsItem",
1464
+ {"id": Required["int"], "value": Required["Union[str | float, None]"]},
1465
+ total=False,
1466
+ )
1467
+ GithubProjectsUpdateItemForOrgInputPath = TypedDict(
1468
+ "GithubProjectsUpdateItemForOrgInputPath",
1469
+ {"project_number": Required["int"], "org": Required["str"], "item_id": Required["int"]},
1470
+ total=False,
1471
+ )
1472
+ GithubProjectsUpdateItemForOrgOutput: TypeAlias = "OutputprojectsV2ItemWithContent"
1473
+ GithubProjectsUpdateItemForUserInput = TypedDict(
1474
+ "GithubProjectsUpdateItemForUserInput",
1475
+ {
1476
+ "path": Required["GithubProjectsUpdateItemForUserInputPath"],
1477
+ "body": Required["GithubProjectsUpdateItemForUserInputBody"],
1478
+ },
1479
+ total=False,
1480
+ )
1481
+ GithubProjectsUpdateItemForUserInputBody = TypedDict(
1482
+ "GithubProjectsUpdateItemForUserInputBody",
1483
+ {"fields": Required["list[GithubProjectsUpdateItemForUserInputBodyFieldsItem]"]},
1484
+ total=False,
1485
+ )
1486
+ GithubProjectsUpdateItemForUserInputBodyFieldsItem = TypedDict(
1487
+ "GithubProjectsUpdateItemForUserInputBodyFieldsItem",
1488
+ {"id": Required["int"], "value": Required["Union[str | float, None]"]},
1489
+ total=False,
1490
+ )
1491
+ GithubProjectsUpdateItemForUserInputPath = TypedDict(
1492
+ "GithubProjectsUpdateItemForUserInputPath",
1493
+ {"project_number": Required["int"], "username": Required["str"], "item_id": Required["int"]},
1494
+ total=False,
1495
+ )
1496
+ GithubProjectsUpdateItemForUserOutput: TypeAlias = "OutputprojectsV2ItemWithContent"
1497
+ GithubPullRequestStacksAddInput = TypedDict(
1498
+ "GithubPullRequestStacksAddInput",
1499
+ {
1500
+ "path": Required["GithubPullRequestStacksAddInputPath"],
1501
+ "body": Required["GithubPullRequestStacksAddInputBody"],
1502
+ },
1503
+ total=False,
1504
+ )
1505
+ GithubPullRequestStacksAddInputBody = TypedDict(
1506
+ "GithubPullRequestStacksAddInputBody", {"pull_requests": Required["list[int]"]}, total=False
1507
+ )
1508
+ GithubPullRequestStacksAddInputPath = TypedDict(
1509
+ "GithubPullRequestStacksAddInputPath",
1510
+ {"owner": Required["str"], "repo": Required["str"], "stack_number": Required["int"]},
1511
+ total=False,
1512
+ )
1513
+ GithubPullRequestStacksAddOutput = TypedDict(
1514
+ "GithubPullRequestStacksAddOutput",
1515
+ {
1516
+ "base": Required["GithubPullRequestStacksAddOutputBase"],
1517
+ "created_at": Required["str"],
1518
+ "id": Required["int | str"],
1519
+ "node_id": Required["str"],
1520
+ "number": Required["int | str"],
1521
+ "open": Required["bool"],
1522
+ "pull_requests": Required["list[OutputpullRequestStackPullRequest]"],
1523
+ "url": Required["str"],
1524
+ },
1525
+ total=False,
1526
+ )
1527
+ GithubPullRequestStacksAddOutputBase = TypedDict(
1528
+ "GithubPullRequestStacksAddOutputBase", {"ref": Required["str"]}, total=False
1529
+ )
1530
+ GithubPullRequestStacksCreateInput = TypedDict(
1531
+ "GithubPullRequestStacksCreateInput",
1532
+ {
1533
+ "path": Required["GithubPullRequestStacksCreateInputPath"],
1534
+ "body": Required["GithubPullRequestStacksCreateInputBody"],
1535
+ },
1536
+ total=False,
1537
+ )
1538
+ GithubPullRequestStacksCreateInputBody = TypedDict(
1539
+ "GithubPullRequestStacksCreateInputBody", {"pull_requests": Required["list[int]"]}, total=False
1540
+ )
1541
+ GithubPullRequestStacksCreateInputPath = TypedDict(
1542
+ "GithubPullRequestStacksCreateInputPath",
1543
+ {"owner": Required["str"], "repo": Required["str"]},
1544
+ total=False,
1545
+ )
1546
+ GithubPullRequestStacksCreateOutput = TypedDict(
1547
+ "GithubPullRequestStacksCreateOutput",
1548
+ {
1549
+ "base": Required["GithubPullRequestStacksCreateOutputBase"],
1550
+ "created_at": Required["str"],
1551
+ "id": Required["int | str"],
1552
+ "node_id": Required["str"],
1553
+ "number": Required["int | str"],
1554
+ "open": Required["bool"],
1555
+ "pull_requests": Required["list[OutputpullRequestStackPullRequest]"],
1556
+ "url": Required["str"],
1557
+ },
1558
+ total=False,
1559
+ )
1560
+ GithubPullRequestStacksCreateOutputBase = TypedDict(
1561
+ "GithubPullRequestStacksCreateOutputBase", {"ref": Required["str"]}, total=False
1562
+ )
1563
+ GithubPullRequestStacksGetInput = TypedDict(
1564
+ "GithubPullRequestStacksGetInput",
1565
+ {"path": Required["GithubPullRequestStacksGetInputPath"]},
1566
+ total=False,
1567
+ )
1568
+ GithubPullRequestStacksGetInputPath = TypedDict(
1569
+ "GithubPullRequestStacksGetInputPath",
1570
+ {"owner": Required["str"], "repo": Required["str"], "stack_number": Required["int"]},
1571
+ total=False,
1572
+ )
1573
+ GithubPullRequestStacksGetOutput = TypedDict(
1574
+ "GithubPullRequestStacksGetOutput",
1575
+ {
1576
+ "base": Required["GithubPullRequestStacksGetOutputBase"],
1577
+ "created_at": Required["str"],
1578
+ "id": Required["int | str"],
1579
+ "node_id": Required["str"],
1580
+ "number": Required["int | str"],
1581
+ "open": Required["bool"],
1582
+ "pull_requests": Required["list[OutputpullRequestStackPullRequest]"],
1583
+ "url": Required["str"],
1584
+ },
1585
+ total=False,
1586
+ )
1587
+ GithubPullRequestStacksGetOutputBase = TypedDict(
1588
+ "GithubPullRequestStacksGetOutputBase", {"ref": Required["str"]}, total=False
1589
+ )
1590
+ GithubPullRequestStacksListInput = TypedDict(
1591
+ "GithubPullRequestStacksListInput",
1592
+ {
1593
+ "path": Required["GithubPullRequestStacksListInputPath"],
1594
+ "query": NotRequired["GithubPullRequestStacksListInputQuery"],
1595
+ },
1596
+ total=False,
1597
+ )
1598
+ GithubPullRequestStacksListInputPath = TypedDict(
1599
+ "GithubPullRequestStacksListInputPath",
1600
+ {"owner": Required["str"], "repo": Required["str"]},
1601
+ total=False,
1602
+ )
1603
+ GithubPullRequestStacksListInputQuery = TypedDict(
1604
+ "GithubPullRequestStacksListInputQuery",
1605
+ {
1606
+ "pull_request": NotRequired["int"],
1607
+ "per_page": NotRequired["int"],
1608
+ "page": NotRequired["int"],
1609
+ },
1610
+ total=False,
1611
+ )
1612
+ GithubPullRequestStacksListOutput: TypeAlias = "list[OutputpullRequestStackMinimal]"
1613
+ GithubPullRequestStacksUnstackInput = TypedDict(
1614
+ "GithubPullRequestStacksUnstackInput",
1615
+ {"path": Required["GithubPullRequestStacksUnstackInputPath"]},
1616
+ total=False,
1617
+ )
1618
+ GithubPullRequestStacksUnstackInputPath = TypedDict(
1619
+ "GithubPullRequestStacksUnstackInputPath",
1620
+ {"owner": Required["str"], "repo": Required["str"], "stack_number": Required["int"]},
1621
+ total=False,
1622
+ )
1623
+ GithubPullRequestStacksUnstackOutput: TypeAlias = (
1624
+ "GithubPullRequestStacksUnstackOutputVariant0 | None"
1625
+ )
1626
+ GithubPullRequestStacksUnstackOutputVariant0 = TypedDict(
1627
+ "GithubPullRequestStacksUnstackOutputVariant0",
1628
+ {
1629
+ "base": Required["GithubPullRequestStacksUnstackOutputVariant0Base"],
1630
+ "created_at": Required["str"],
1631
+ "id": Required["int | str"],
1632
+ "node_id": Required["str"],
1633
+ "number": Required["int | str"],
1634
+ "open": Required["bool"],
1635
+ "pull_requests": Required["list[OutputpullRequestStackPullRequest]"],
1636
+ "url": Required["str"],
1637
+ },
1638
+ total=False,
1639
+ )
1640
+ GithubPullRequestStacksUnstackOutputVariant0Base = TypedDict(
1641
+ "GithubPullRequestStacksUnstackOutputVariant0Base", {"ref": Required["str"]}, total=False
1642
+ )
1643
+ GithubPullsCheckIfMergedInput = TypedDict(
1644
+ "GithubPullsCheckIfMergedInput",
1645
+ {"path": Required["GithubPullsCheckIfMergedInputPath"]},
1646
+ total=False,
1647
+ )
1648
+ GithubPullsCheckIfMergedInputPath = TypedDict(
1649
+ "GithubPullsCheckIfMergedInputPath",
1650
+ {"owner": Required["str"], "repo": Required["str"], "pull_number": Required["int"]},
1651
+ total=False,
1652
+ )
1653
+ GithubPullsCheckIfMergedOutput: TypeAlias = "None"
1654
+ GithubPullsCreateInput = TypedDict(
1655
+ "GithubPullsCreateInput",
1656
+ {
1657
+ "path": Required["GithubPullsCreateInputPath"],
1658
+ "body": Required["GithubPullsCreateInputBody"],
1659
+ },
1660
+ total=False,
1661
+ )
1662
+ GithubPullsCreateInputBody = TypedDict(
1663
+ "GithubPullsCreateInputBody",
1664
+ {
1665
+ "base": Required["str"],
1666
+ "body": NotRequired["str"],
1667
+ "draft": NotRequired["bool"],
1668
+ "head": Required["str"],
1669
+ "head_repo": NotRequired["str"],
1670
+ "issue": NotRequired["int"],
1671
+ "maintainer_can_modify": NotRequired["bool"],
1672
+ "title": NotRequired["str"],
1673
+ },
1674
+ total=False,
1675
+ )
1676
+ GithubPullsCreateInputPath = TypedDict(
1677
+ "GithubPullsCreateInputPath", {"owner": Required["str"], "repo": Required["str"]}, total=False
1678
+ )
1679
+ GithubPullsCreateOutput: TypeAlias = "OutputpullRequest"
1680
+ GithubPullsCreateReplyForReviewCommentInput = TypedDict(
1681
+ "GithubPullsCreateReplyForReviewCommentInput",
1682
+ {
1683
+ "path": Required["GithubPullsCreateReplyForReviewCommentInputPath"],
1684
+ "body": Required["GithubPullsCreateReplyForReviewCommentInputBody"],
1685
+ },
1686
+ total=False,
1687
+ )
1688
+ GithubPullsCreateReplyForReviewCommentInputBody = TypedDict(
1689
+ "GithubPullsCreateReplyForReviewCommentInputBody", {"body": Required["str"]}, total=False
1690
+ )
1691
+ GithubPullsCreateReplyForReviewCommentInputPath = TypedDict(
1692
+ "GithubPullsCreateReplyForReviewCommentInputPath",
1693
+ {
1694
+ "owner": Required["str"],
1695
+ "repo": Required["str"],
1696
+ "pull_number": Required["int"],
1697
+ "comment_id": Required["int"],
1698
+ },
1699
+ total=False,
1700
+ )
1701
+ GithubPullsCreateReplyForReviewCommentOutput: TypeAlias = "OutputpullRequestReviewComment"
1702
+ GithubPullsCreateReviewCommentInput = TypedDict(
1703
+ "GithubPullsCreateReviewCommentInput",
1704
+ {
1705
+ "path": Required["GithubPullsCreateReviewCommentInputPath"],
1706
+ "body": Required["GithubPullsCreateReviewCommentInputBody"],
1707
+ },
1708
+ total=False,
1709
+ )
1710
+ GithubPullsCreateReviewCommentInputBody = TypedDict(
1711
+ "GithubPullsCreateReviewCommentInputBody",
1712
+ {
1713
+ "body": Required["str"],
1714
+ "commit_id": Required["str"],
1715
+ "in_reply_to": NotRequired["int"],
1716
+ "line": NotRequired["int"],
1717
+ "path": Required["str"],
1718
+ "position": NotRequired["int"],
1719
+ "side": NotRequired["Literal['LEFT', 'RIGHT']"],
1720
+ "start_line": NotRequired["int"],
1721
+ "start_side": NotRequired["Literal['LEFT', 'RIGHT', 'side']"],
1722
+ "subject_type": NotRequired["Literal['line', 'file']"],
1723
+ },
1724
+ total=False,
1725
+ )
1726
+ GithubPullsCreateReviewCommentInputPath = TypedDict(
1727
+ "GithubPullsCreateReviewCommentInputPath",
1728
+ {"owner": Required["str"], "repo": Required["str"], "pull_number": Required["int"]},
1729
+ total=False,
1730
+ )
1731
+ GithubPullsCreateReviewCommentOutput: TypeAlias = "OutputpullRequestReviewComment"
1732
+ GithubPullsCreateReviewInput = TypedDict(
1733
+ "GithubPullsCreateReviewInput",
1734
+ {
1735
+ "path": Required["GithubPullsCreateReviewInputPath"],
1736
+ "body": NotRequired["GithubPullsCreateReviewInputBody"],
1737
+ },
1738
+ total=False,
1739
+ )
1740
+ GithubPullsCreateReviewInputBody = TypedDict(
1741
+ "GithubPullsCreateReviewInputBody",
1742
+ {
1743
+ "body": NotRequired["str"],
1744
+ "comments": NotRequired["list[GithubPullsCreateReviewInputBodyCommentsItem]"],
1745
+ "commit_id": NotRequired["str"],
1746
+ "event": NotRequired["Literal['APPROVE', 'REQUEST_CHANGES', 'COMMENT']"],
1747
+ },
1748
+ total=False,
1749
+ )
1750
+ GithubPullsCreateReviewInputBodyCommentsItem = TypedDict(
1751
+ "GithubPullsCreateReviewInputBodyCommentsItem",
1752
+ {
1753
+ "body": Required["str"],
1754
+ "line": NotRequired["int"],
1755
+ "path": Required["str"],
1756
+ "position": NotRequired["int"],
1757
+ "side": NotRequired["str"],
1758
+ "start_line": NotRequired["int"],
1759
+ "start_side": NotRequired["str"],
1760
+ },
1761
+ total=False,
1762
+ )
1763
+ GithubPullsCreateReviewInputPath = TypedDict(
1764
+ "GithubPullsCreateReviewInputPath",
1765
+ {"owner": Required["str"], "repo": Required["str"], "pull_number": Required["int"]},
1766
+ total=False,
1767
+ )
1768
+ GithubPullsCreateReviewOutput: TypeAlias = "OutputpullRequestReview"
1769
+ GithubPullsDeletePendingReviewInput = TypedDict(
1770
+ "GithubPullsDeletePendingReviewInput",
1771
+ {"path": Required["GithubPullsDeletePendingReviewInputPath"]},
1772
+ total=False,
1773
+ )
1774
+ GithubPullsDeletePendingReviewInputPath = TypedDict(
1775
+ "GithubPullsDeletePendingReviewInputPath",
1776
+ {
1777
+ "owner": Required["str"],
1778
+ "repo": Required["str"],
1779
+ "pull_number": Required["int"],
1780
+ "review_id": Required["int"],
1781
+ },
1782
+ total=False,
1783
+ )
1784
+ GithubPullsDeletePendingReviewOutput: TypeAlias = "OutputpullRequestReview"
1785
+ GithubPullsDeleteReviewCommentInput = TypedDict(
1786
+ "GithubPullsDeleteReviewCommentInput",
1787
+ {"path": Required["GithubPullsDeleteReviewCommentInputPath"]},
1788
+ total=False,
1789
+ )
1790
+ GithubPullsDeleteReviewCommentInputPath = TypedDict(
1791
+ "GithubPullsDeleteReviewCommentInputPath",
1792
+ {"owner": Required["str"], "repo": Required["str"], "comment_id": Required["int"]},
1793
+ total=False,
1794
+ )
1795
+ GithubPullsDeleteReviewCommentOutput: TypeAlias = "None"
1796
+ GithubPullsDismissReviewInput = TypedDict(
1797
+ "GithubPullsDismissReviewInput",
1798
+ {
1799
+ "path": Required["GithubPullsDismissReviewInputPath"],
1800
+ "body": Required["GithubPullsDismissReviewInputBody"],
1801
+ },
1802
+ total=False,
1803
+ )
1804
+ GithubPullsDismissReviewInputBody = TypedDict(
1805
+ "GithubPullsDismissReviewInputBody",
1806
+ {"event": NotRequired["Literal['DISMISS']"], "message": Required["str"]},
1807
+ total=False,
1808
+ )
1809
+ GithubPullsDismissReviewInputPath = TypedDict(
1810
+ "GithubPullsDismissReviewInputPath",
1811
+ {
1812
+ "owner": Required["str"],
1813
+ "repo": Required["str"],
1814
+ "pull_number": Required["int"],
1815
+ "review_id": Required["int"],
1816
+ },
1817
+ total=False,
1818
+ )
1819
+ GithubPullsDismissReviewOutput: TypeAlias = "OutputpullRequestReview"
1820
+ GithubPullsGetInput = TypedDict(
1821
+ "GithubPullsGetInput", {"path": Required["GithubPullsGetInputPath"]}, total=False
1822
+ )
1823
+ GithubPullsGetInputPath = TypedDict(
1824
+ "GithubPullsGetInputPath",
1825
+ {"owner": Required["str"], "repo": Required["str"], "pull_number": Required["int"]},
1826
+ total=False,
1827
+ )
1828
+ GithubPullsGetMergeAsyncResultInput = TypedDict(
1829
+ "GithubPullsGetMergeAsyncResultInput",
1830
+ {"path": Required["GithubPullsGetMergeAsyncResultInputPath"]},
1831
+ total=False,
1832
+ )
1833
+ GithubPullsGetMergeAsyncResultInputPath = TypedDict(
1834
+ "GithubPullsGetMergeAsyncResultInputPath",
1835
+ {
1836
+ "owner": Required["str"],
1837
+ "repo": Required["str"],
1838
+ "pull_number": Required["int"],
1839
+ "uuid": Required["str"],
1840
+ },
1841
+ total=False,
1842
+ )
1843
+ GithubPullsGetMergeAsyncResultOutput: TypeAlias = "OutputpullRequestMergeAsyncResult"
1844
+ GithubPullsGetOutput: TypeAlias = "OutputpullRequest"
1845
+ GithubPullsGetReviewCommentInput = TypedDict(
1846
+ "GithubPullsGetReviewCommentInput",
1847
+ {"path": Required["GithubPullsGetReviewCommentInputPath"]},
1848
+ total=False,
1849
+ )
1850
+ GithubPullsGetReviewCommentInputPath = TypedDict(
1851
+ "GithubPullsGetReviewCommentInputPath",
1852
+ {"owner": Required["str"], "repo": Required["str"], "comment_id": Required["int"]},
1853
+ total=False,
1854
+ )
1855
+ GithubPullsGetReviewCommentOutput: TypeAlias = "OutputpullRequestReviewComment"
1856
+ GithubPullsGetReviewInput = TypedDict(
1857
+ "GithubPullsGetReviewInput", {"path": Required["GithubPullsGetReviewInputPath"]}, total=False
1858
+ )
1859
+ GithubPullsGetReviewInputPath = TypedDict(
1860
+ "GithubPullsGetReviewInputPath",
1861
+ {
1862
+ "owner": Required["str"],
1863
+ "repo": Required["str"],
1864
+ "pull_number": Required["int"],
1865
+ "review_id": Required["int"],
1866
+ },
1867
+ total=False,
1868
+ )
1869
+ GithubPullsGetReviewOutput: TypeAlias = "OutputpullRequestReview"
1870
+ GithubPullsListCommentsForReviewInput = TypedDict(
1871
+ "GithubPullsListCommentsForReviewInput",
1872
+ {
1873
+ "path": Required["GithubPullsListCommentsForReviewInputPath"],
1874
+ "query": NotRequired["GithubPullsListCommentsForReviewInputQuery"],
1875
+ },
1876
+ total=False,
1877
+ )
1878
+ GithubPullsListCommentsForReviewInputPath = TypedDict(
1879
+ "GithubPullsListCommentsForReviewInputPath",
1880
+ {
1881
+ "owner": Required["str"],
1882
+ "repo": Required["str"],
1883
+ "pull_number": Required["int"],
1884
+ "review_id": Required["int"],
1885
+ },
1886
+ total=False,
1887
+ )
1888
+ GithubPullsListCommentsForReviewInputQuery = TypedDict(
1889
+ "GithubPullsListCommentsForReviewInputQuery",
1890
+ {"per_page": NotRequired["int"], "page": NotRequired["int"]},
1891
+ total=False,
1892
+ )
1893
+ GithubPullsListCommentsForReviewOutput: TypeAlias = "list[OutputreviewComment]"
1894
+ GithubPullsListCommitsInput = TypedDict(
1895
+ "GithubPullsListCommitsInput",
1896
+ {
1897
+ "path": Required["GithubPullsListCommitsInputPath"],
1898
+ "query": NotRequired["GithubPullsListCommitsInputQuery"],
1899
+ },
1900
+ total=False,
1901
+ )
1902
+ GithubPullsListCommitsInputPath = TypedDict(
1903
+ "GithubPullsListCommitsInputPath",
1904
+ {"owner": Required["str"], "repo": Required["str"], "pull_number": Required["int"]},
1905
+ total=False,
1906
+ )
1907
+ GithubPullsListCommitsInputQuery = TypedDict(
1908
+ "GithubPullsListCommitsInputQuery",
1909
+ {"per_page": NotRequired["int"], "page": NotRequired["int"]},
1910
+ total=False,
1911
+ )
1912
+ GithubPullsListCommitsOutput: TypeAlias = "list[Outputcommit]"
1913
+ GithubPullsListFilesInput = TypedDict(
1914
+ "GithubPullsListFilesInput",
1915
+ {
1916
+ "path": Required["GithubPullsListFilesInputPath"],
1917
+ "query": NotRequired["GithubPullsListFilesInputQuery"],
1918
+ },
1919
+ total=False,
1920
+ )
1921
+ GithubPullsListFilesInputPath = TypedDict(
1922
+ "GithubPullsListFilesInputPath",
1923
+ {"owner": Required["str"], "repo": Required["str"], "pull_number": Required["int"]},
1924
+ total=False,
1925
+ )
1926
+ GithubPullsListFilesInputQuery = TypedDict(
1927
+ "GithubPullsListFilesInputQuery",
1928
+ {"per_page": NotRequired["int"], "page": NotRequired["int"]},
1929
+ total=False,
1930
+ )
1931
+ GithubPullsListFilesOutput: TypeAlias = "list[OutputdiffEntry]"
1932
+ GithubPullsListInput = TypedDict(
1933
+ "GithubPullsListInput",
1934
+ {
1935
+ "path": Required["GithubPullsListInputPath"],
1936
+ "query": NotRequired["GithubPullsListInputQuery"],
1937
+ },
1938
+ total=False,
1939
+ )
1940
+ GithubPullsListInputPath = TypedDict(
1941
+ "GithubPullsListInputPath", {"owner": Required["str"], "repo": Required["str"]}, total=False
1942
+ )
1943
+ GithubPullsListInputQuery = TypedDict(
1944
+ "GithubPullsListInputQuery",
1945
+ {
1946
+ "state": NotRequired["Literal['open', 'closed', 'all']"],
1947
+ "head": NotRequired["str"],
1948
+ "base": NotRequired["str"],
1949
+ "sort": NotRequired["Literal['created', 'updated', 'popularity', 'long-running']"],
1950
+ "direction": NotRequired["Literal['asc', 'desc']"],
1951
+ "per_page": NotRequired["int"],
1952
+ "page": NotRequired["int"],
1953
+ },
1954
+ total=False,
1955
+ )
1956
+ GithubPullsListOutput: TypeAlias = "list[OutputpullRequestSimple]"
1957
+ GithubPullsListRequestedReviewersInput = TypedDict(
1958
+ "GithubPullsListRequestedReviewersInput",
1959
+ {"path": Required["GithubPullsListRequestedReviewersInputPath"]},
1960
+ total=False,
1961
+ )
1962
+ GithubPullsListRequestedReviewersInputPath = TypedDict(
1963
+ "GithubPullsListRequestedReviewersInputPath",
1964
+ {"owner": Required["str"], "repo": Required["str"], "pull_number": Required["int"]},
1965
+ total=False,
1966
+ )
1967
+ GithubPullsListRequestedReviewersOutput: TypeAlias = "OutputpullRequestReviewRequest"
1968
+ GithubPullsListReviewCommentsForRepoInput = TypedDict(
1969
+ "GithubPullsListReviewCommentsForRepoInput",
1970
+ {
1971
+ "path": Required["GithubPullsListReviewCommentsForRepoInputPath"],
1972
+ "query": NotRequired["GithubPullsListReviewCommentsForRepoInputQuery"],
1973
+ },
1974
+ total=False,
1975
+ )
1976
+ GithubPullsListReviewCommentsForRepoInputPath = TypedDict(
1977
+ "GithubPullsListReviewCommentsForRepoInputPath",
1978
+ {"owner": Required["str"], "repo": Required["str"]},
1979
+ total=False,
1980
+ )
1981
+ GithubPullsListReviewCommentsForRepoInputQuery = TypedDict(
1982
+ "GithubPullsListReviewCommentsForRepoInputQuery",
1983
+ {
1984
+ "sort": NotRequired["Literal['created', 'updated', 'created_at']"],
1985
+ "direction": NotRequired["Literal['asc', 'desc']"],
1986
+ "since": NotRequired["str"],
1987
+ "per_page": NotRequired["int"],
1988
+ "page": NotRequired["int"],
1989
+ },
1990
+ total=False,
1991
+ )
1992
+ GithubPullsListReviewCommentsForRepoOutput: TypeAlias = "list[OutputpullRequestReviewComment]"
1993
+ GithubPullsListReviewCommentsInput = TypedDict(
1994
+ "GithubPullsListReviewCommentsInput",
1995
+ {
1996
+ "path": Required["GithubPullsListReviewCommentsInputPath"],
1997
+ "query": NotRequired["GithubPullsListReviewCommentsInputQuery"],
1998
+ },
1999
+ total=False,
2000
+ )
2001
+ GithubPullsListReviewCommentsInputPath = TypedDict(
2002
+ "GithubPullsListReviewCommentsInputPath",
2003
+ {"owner": Required["str"], "repo": Required["str"], "pull_number": Required["int"]},
2004
+ total=False,
2005
+ )
2006
+ GithubPullsListReviewCommentsInputQuery = TypedDict(
2007
+ "GithubPullsListReviewCommentsInputQuery",
2008
+ {
2009
+ "sort": NotRequired["Literal['created', 'updated']"],
2010
+ "direction": NotRequired["Literal['asc', 'desc']"],
2011
+ "since": NotRequired["str"],
2012
+ "per_page": NotRequired["int"],
2013
+ "page": NotRequired["int"],
2014
+ },
2015
+ total=False,
2016
+ )
2017
+ GithubPullsListReviewCommentsOutput: TypeAlias = "list[OutputpullRequestReviewComment]"
2018
+ GithubPullsListReviewsInput = TypedDict(
2019
+ "GithubPullsListReviewsInput",
2020
+ {
2021
+ "path": Required["GithubPullsListReviewsInputPath"],
2022
+ "query": NotRequired["GithubPullsListReviewsInputQuery"],
2023
+ },
2024
+ total=False,
2025
+ )
2026
+ GithubPullsListReviewsInputPath = TypedDict(
2027
+ "GithubPullsListReviewsInputPath",
2028
+ {"owner": Required["str"], "repo": Required["str"], "pull_number": Required["int"]},
2029
+ total=False,
2030
+ )
2031
+ GithubPullsListReviewsInputQuery = TypedDict(
2032
+ "GithubPullsListReviewsInputQuery",
2033
+ {"per_page": NotRequired["int"], "page": NotRequired["int"]},
2034
+ total=False,
2035
+ )
2036
+ GithubPullsListReviewsOutput: TypeAlias = "list[OutputpullRequestReview]"
2037
+ GithubPullsMergeAsyncInput = TypedDict(
2038
+ "GithubPullsMergeAsyncInput",
2039
+ {
2040
+ "path": Required["GithubPullsMergeAsyncInputPath"],
2041
+ "body": NotRequired["GithubPullsMergeAsyncInputBodyVariant0 | None"],
2042
+ },
2043
+ total=False,
2044
+ )
2045
+ GithubPullsMergeAsyncInputBodyVariant0 = TypedDict(
2046
+ "GithubPullsMergeAsyncInputBodyVariant0",
2047
+ {
2048
+ "bypass_rules": NotRequired["bool"],
2049
+ "commit_message": NotRequired["str"],
2050
+ "commit_title": NotRequired["str"],
2051
+ "merge_action": NotRequired["Literal['default', 'direct_merge', 'merge_queue']"],
2052
+ "merge_method": NotRequired["Literal['merge', 'squash', 'rebase']"],
2053
+ "sha": NotRequired["str"],
2054
+ },
2055
+ total=False,
2056
+ )
2057
+ GithubPullsMergeAsyncInputPath = TypedDict(
2058
+ "GithubPullsMergeAsyncInputPath",
2059
+ {"owner": Required["str"], "repo": Required["str"], "pull_number": Required["int"]},
2060
+ total=False,
2061
+ )
2062
+ GithubPullsMergeAsyncOutput: TypeAlias = "OutputpullRequestMergeAsyncResult"
2063
+ GithubPullsMergeInput = TypedDict(
2064
+ "GithubPullsMergeInput",
2065
+ {
2066
+ "path": Required["GithubPullsMergeInputPath"],
2067
+ "body": NotRequired["GithubPullsMergeInputBodyVariant0 | None"],
2068
+ },
2069
+ total=False,
2070
+ )
2071
+ GithubPullsMergeInputBodyVariant0 = TypedDict(
2072
+ "GithubPullsMergeInputBodyVariant0",
2073
+ {
2074
+ "commit_message": NotRequired["str"],
2075
+ "commit_title": NotRequired["str"],
2076
+ "merge_method": NotRequired["Literal['merge', 'squash', 'rebase']"],
2077
+ "sha": NotRequired["str"],
2078
+ },
2079
+ total=False,
2080
+ )
2081
+ GithubPullsMergeInputPath = TypedDict(
2082
+ "GithubPullsMergeInputPath",
2083
+ {"owner": Required["str"], "repo": Required["str"], "pull_number": Required["int"]},
2084
+ total=False,
2085
+ )
2086
+ GithubPullsMergeOutput: TypeAlias = "OutputpullRequestMergeResult"
2087
+ GithubPullsRemoveRequestedReviewersInput = TypedDict(
2088
+ "GithubPullsRemoveRequestedReviewersInput",
2089
+ {
2090
+ "path": Required["GithubPullsRemoveRequestedReviewersInputPath"],
2091
+ "body": Required["GithubPullsRemoveRequestedReviewersInputBody"],
2092
+ },
2093
+ total=False,
2094
+ )
2095
+ GithubPullsRemoveRequestedReviewersInputBody = TypedDict(
2096
+ "GithubPullsRemoveRequestedReviewersInputBody",
2097
+ {"reviewers": Required["list[str]"], "team_reviewers": NotRequired["list[str]"]},
2098
+ total=False,
2099
+ )
2100
+ GithubPullsRemoveRequestedReviewersInputPath = TypedDict(
2101
+ "GithubPullsRemoveRequestedReviewersInputPath",
2102
+ {"owner": Required["str"], "repo": Required["str"], "pull_number": Required["int"]},
2103
+ total=False,
2104
+ )
2105
+ GithubPullsRemoveRequestedReviewersOutput: TypeAlias = "OutputpullRequestSimple"
2106
+ GithubPullsRequestReviewersInput = TypedDict(
2107
+ "GithubPullsRequestReviewersInput",
2108
+ {
2109
+ "path": Required["GithubPullsRequestReviewersInputPath"],
2110
+ "body": NotRequired[
2111
+ "GithubPullsRequestReviewersInputBodyVariant0 | GithubPullsRequestReviewersInputBodyVariant1"
2112
+ ],
2113
+ },
2114
+ total=False,
2115
+ )
2116
+ GithubPullsRequestReviewersInputBodyVariant0 = TypedDict(
2117
+ "GithubPullsRequestReviewersInputBodyVariant0",
2118
+ {"reviewers": Required["list[str]"], "team_reviewers": NotRequired["list[str]"]},
2119
+ total=False,
2120
+ )
2121
+ GithubPullsRequestReviewersInputBodyVariant1 = TypedDict(
2122
+ "GithubPullsRequestReviewersInputBodyVariant1",
2123
+ {"reviewers": NotRequired["list[str]"], "team_reviewers": Required["list[str]"]},
2124
+ total=False,
2125
+ )
2126
+ GithubPullsRequestReviewersInputPath = TypedDict(
2127
+ "GithubPullsRequestReviewersInputPath",
2128
+ {"owner": Required["str"], "repo": Required["str"], "pull_number": Required["int"]},
2129
+ total=False,
2130
+ )
2131
+ GithubPullsRequestReviewersOutput: TypeAlias = "OutputpullRequestSimple"
2132
+ GithubPullsRerequestReviewersInput = TypedDict(
2133
+ "GithubPullsRerequestReviewersInput",
2134
+ {
2135
+ "path": Required["GithubPullsRerequestReviewersInputPath"],
2136
+ "body": NotRequired[
2137
+ "GithubPullsRerequestReviewersInputBodyVariant0 | GithubPullsRerequestReviewersInputBodyVariant1"
2138
+ ],
2139
+ },
2140
+ total=False,
2141
+ )
2142
+ GithubPullsRerequestReviewersInputBodyVariant0 = TypedDict(
2143
+ "GithubPullsRerequestReviewersInputBodyVariant0",
2144
+ {"reviewers": Required["list[str]"], "team_reviewers": NotRequired["list[str]"]},
2145
+ total=False,
2146
+ )
2147
+ GithubPullsRerequestReviewersInputBodyVariant1 = TypedDict(
2148
+ "GithubPullsRerequestReviewersInputBodyVariant1",
2149
+ {"reviewers": NotRequired["list[str]"], "team_reviewers": Required["list[str]"]},
2150
+ total=False,
2151
+ )
2152
+ GithubPullsRerequestReviewersInputPath = TypedDict(
2153
+ "GithubPullsRerequestReviewersInputPath",
2154
+ {"owner": Required["str"], "repo": Required["str"], "pull_number": Required["int"]},
2155
+ total=False,
2156
+ )
2157
+ GithubPullsRerequestReviewersOutput: TypeAlias = "OutputpullRequestSimple"
2158
+ GithubPullsSubmitReviewInput = TypedDict(
2159
+ "GithubPullsSubmitReviewInput",
2160
+ {
2161
+ "path": Required["GithubPullsSubmitReviewInputPath"],
2162
+ "body": Required["GithubPullsSubmitReviewInputBody"],
2163
+ },
2164
+ total=False,
2165
+ )
2166
+ GithubPullsSubmitReviewInputBody = TypedDict(
2167
+ "GithubPullsSubmitReviewInputBody",
2168
+ {
2169
+ "body": NotRequired["str"],
2170
+ "event": Required["Literal['APPROVE', 'REQUEST_CHANGES', 'COMMENT']"],
2171
+ },
2172
+ total=False,
2173
+ )
2174
+ GithubPullsSubmitReviewInputPath = TypedDict(
2175
+ "GithubPullsSubmitReviewInputPath",
2176
+ {
2177
+ "owner": Required["str"],
2178
+ "repo": Required["str"],
2179
+ "pull_number": Required["int"],
2180
+ "review_id": Required["int"],
2181
+ },
2182
+ total=False,
2183
+ )
2184
+ GithubPullsSubmitReviewOutput: TypeAlias = "OutputpullRequestReview"
2185
+ GithubPullsUpdateBranchInput = TypedDict(
2186
+ "GithubPullsUpdateBranchInput",
2187
+ {
2188
+ "path": Required["GithubPullsUpdateBranchInputPath"],
2189
+ "body": NotRequired["GithubPullsUpdateBranchInputBodyVariant0 | None"],
2190
+ },
2191
+ total=False,
2192
+ )
2193
+ GithubPullsUpdateBranchInputBodyVariant0 = TypedDict(
2194
+ "GithubPullsUpdateBranchInputBodyVariant0",
2195
+ {"expected_head_sha": NotRequired["str"]},
2196
+ total=False,
2197
+ )
2198
+ GithubPullsUpdateBranchInputPath = TypedDict(
2199
+ "GithubPullsUpdateBranchInputPath",
2200
+ {"owner": Required["str"], "repo": Required["str"], "pull_number": Required["int"]},
2201
+ total=False,
2202
+ )
2203
+ GithubPullsUpdateBranchOutput = TypedDict(
2204
+ "GithubPullsUpdateBranchOutput",
2205
+ {"message": NotRequired["str"], "url": NotRequired["str"]},
2206
+ total=False,
2207
+ )
2208
+ GithubPullsUpdateInput = TypedDict(
2209
+ "GithubPullsUpdateInput",
2210
+ {
2211
+ "path": Required["GithubPullsUpdateInputPath"],
2212
+ "body": NotRequired["GithubPullsUpdateInputBody"],
2213
+ },
2214
+ total=False,
2215
+ )
2216
+ GithubPullsUpdateInputBody = TypedDict(
2217
+ "GithubPullsUpdateInputBody",
2218
+ {
2219
+ "base": NotRequired["str"],
2220
+ "body": NotRequired["str"],
2221
+ "maintainer_can_modify": NotRequired["bool"],
2222
+ "state": NotRequired["Literal['open', 'closed']"],
2223
+ "title": NotRequired["str"],
2224
+ },
2225
+ total=False,
2226
+ )
2227
+ GithubPullsUpdateInputPath = TypedDict(
2228
+ "GithubPullsUpdateInputPath",
2229
+ {"owner": Required["str"], "repo": Required["str"], "pull_number": Required["int"]},
2230
+ total=False,
2231
+ )
2232
+ GithubPullsUpdateOutput: TypeAlias = "OutputpullRequest"
2233
+ GithubPullsUpdateReviewCommentInput = TypedDict(
2234
+ "GithubPullsUpdateReviewCommentInput",
2235
+ {
2236
+ "path": Required["GithubPullsUpdateReviewCommentInputPath"],
2237
+ "body": Required["GithubPullsUpdateReviewCommentInputBody"],
2238
+ },
2239
+ total=False,
2240
+ )
2241
+ GithubPullsUpdateReviewCommentInputBody = TypedDict(
2242
+ "GithubPullsUpdateReviewCommentInputBody", {"body": Required["str"]}, total=False
2243
+ )
2244
+ GithubPullsUpdateReviewCommentInputPath = TypedDict(
2245
+ "GithubPullsUpdateReviewCommentInputPath",
2246
+ {"owner": Required["str"], "repo": Required["str"], "comment_id": Required["int"]},
2247
+ total=False,
2248
+ )
2249
+ GithubPullsUpdateReviewCommentOutput: TypeAlias = "OutputpullRequestReviewComment"
2250
+ GithubPullsUpdateReviewInput = TypedDict(
2251
+ "GithubPullsUpdateReviewInput",
2252
+ {
2253
+ "path": Required["GithubPullsUpdateReviewInputPath"],
2254
+ "body": Required["GithubPullsUpdateReviewInputBody"],
2255
+ },
2256
+ total=False,
2257
+ )
2258
+ GithubPullsUpdateReviewInputBody = TypedDict(
2259
+ "GithubPullsUpdateReviewInputBody", {"body": Required["str"]}, total=False
2260
+ )
2261
+ GithubPullsUpdateReviewInputPath = TypedDict(
2262
+ "GithubPullsUpdateReviewInputPath",
2263
+ {
2264
+ "owner": Required["str"],
2265
+ "repo": Required["str"],
2266
+ "pull_number": Required["int"],
2267
+ "review_id": Required["int"],
2268
+ },
2269
+ total=False,
2270
+ )
2271
+ GithubPullsUpdateReviewOutput: TypeAlias = "OutputpullRequestReview"
2272
+ GithubRateLimitGetInput = TypedDict("GithubRateLimitGetInput", {}, total=False)
2273
+ GithubRateLimitGetOutput: TypeAlias = "OutputrateLimitOverview"
2274
+ GithubReactionsCreateForCommitCommentInput = TypedDict(
2275
+ "GithubReactionsCreateForCommitCommentInput",
2276
+ {
2277
+ "path": Required["GithubReactionsCreateForCommitCommentInputPath"],
2278
+ "body": Required["GithubReactionsCreateForCommitCommentInputBody"],
2279
+ },
2280
+ total=False,
2281
+ )
2282
+ GithubReactionsCreateForCommitCommentInputBody = TypedDict(
2283
+ "GithubReactionsCreateForCommitCommentInputBody",
2284
+ {
2285
+ "content": Required[
2286
+ "Literal['+1', '-1', 'laugh', 'confused', 'heart', 'hooray', 'rocket', 'eyes']"
2287
+ ]
2288
+ },
2289
+ total=False,
2290
+ )
2291
+ GithubReactionsCreateForCommitCommentInputPath = TypedDict(
2292
+ "GithubReactionsCreateForCommitCommentInputPath",
2293
+ {"owner": Required["str"], "repo": Required["str"], "comment_id": Required["int"]},
2294
+ total=False,
2295
+ )
2296
+ GithubReactionsCreateForCommitCommentOutput: TypeAlias = "Outputreaction"
2297
+ GithubReactionsCreateForIssueCommentInput = TypedDict(
2298
+ "GithubReactionsCreateForIssueCommentInput",
2299
+ {
2300
+ "path": Required["GithubReactionsCreateForIssueCommentInputPath"],
2301
+ "body": Required["GithubReactionsCreateForIssueCommentInputBody"],
2302
+ },
2303
+ total=False,
2304
+ )
2305
+ GithubReactionsCreateForIssueCommentInputBody = TypedDict(
2306
+ "GithubReactionsCreateForIssueCommentInputBody",
2307
+ {
2308
+ "content": Required[
2309
+ "Literal['+1', '-1', 'laugh', 'confused', 'heart', 'hooray', 'rocket', 'eyes']"
2310
+ ]
2311
+ },
2312
+ total=False,
2313
+ )
2314
+ GithubReactionsCreateForIssueCommentInputPath = TypedDict(
2315
+ "GithubReactionsCreateForIssueCommentInputPath",
2316
+ {"owner": Required["str"], "repo": Required["str"], "comment_id": Required["int"]},
2317
+ total=False,
2318
+ )
2319
+ GithubReactionsCreateForIssueCommentOutput: TypeAlias = "Outputreaction"
2320
+ GithubReactionsCreateForIssueInput = TypedDict(
2321
+ "GithubReactionsCreateForIssueInput",
2322
+ {
2323
+ "path": Required["GithubReactionsCreateForIssueInputPath"],
2324
+ "body": Required["GithubReactionsCreateForIssueInputBody"],
2325
+ },
2326
+ total=False,
2327
+ )
2328
+ GithubReactionsCreateForIssueInputBody = TypedDict(
2329
+ "GithubReactionsCreateForIssueInputBody",
2330
+ {
2331
+ "content": Required[
2332
+ "Literal['+1', '-1', 'laugh', 'confused', 'heart', 'hooray', 'rocket', 'eyes']"
2333
+ ]
2334
+ },
2335
+ total=False,
2336
+ )
2337
+ GithubReactionsCreateForIssueInputPath = TypedDict(
2338
+ "GithubReactionsCreateForIssueInputPath",
2339
+ {"owner": Required["str"], "repo": Required["str"], "issue_number": Required["int"]},
2340
+ total=False,
2341
+ )
2342
+ GithubReactionsCreateForIssueOutput: TypeAlias = "Outputreaction"