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,2041 @@
1
+ """Generated native provider models. Do not edit."""
2
+
3
+ # ruff: noqa: E501 - native provider model names cannot be shortened without changing public types
4
+ from __future__ import annotations
5
+ from typing import TYPE_CHECKING, Any, Literal, NotRequired, Required, TypedDict, TypeAlias, Union
6
+
7
+ if TYPE_CHECKING:
8
+ from alter_sdk_github._github_models_00 import AlertNumber
9
+ from alter_sdk_github._github_models_07 import (
10
+ GithubHostedComputeListNetworkConfigurationsForOrgInputQuery,
11
+ )
12
+ from alter_sdk_github._github_models_13 import OutputbaseGist
13
+ from alter_sdk_github._github_models_13 import Outputblob
14
+ from alter_sdk_github._github_models_14 import OutputcopilotOrganizationDetails
15
+ from alter_sdk_github._github_models_14 import OutputcopilotSeatDetails
16
+ from alter_sdk_github._github_models_14 import OutputcopilotSpace
17
+ from alter_sdk_github._github_models_14 import OutputcopilotSpaceCollaborator
18
+ from alter_sdk_github._github_models_14 import OutputcopilotSpaceResource
19
+ from alter_sdk_github._github_models_14 import OutputdependabotAlert
20
+ from alter_sdk_github._github_models_14 import OutputdependabotAlertWithRepository
21
+ from alter_sdk_github._github_models_14 import OutputdependabotPublicKey
22
+ from alter_sdk_github._github_models_14 import OutputdependabotRepositoryAccessDetails
23
+ from alter_sdk_github._github_models_14 import OutputdependabotSecret
24
+ from alter_sdk_github._github_models_14 import OutputdependencyGraphDiff
25
+ from alter_sdk_github._github_models_14 import OutputdependencyGraphSpdxSbom
26
+ from alter_sdk_github._github_models_14 import OutputemptyObject
27
+ from alter_sdk_github._github_models_14 import OutputgistComment
28
+ from alter_sdk_github._github_models_14 import OutputgistCommit
29
+ from alter_sdk_github._github_models_14 import OutputgistSimple
30
+ from alter_sdk_github._github_models_14 import OutputgitCommit
31
+ from alter_sdk_github._github_models_14 import OutputgitRef
32
+ from alter_sdk_github._github_models_14 import OutputgitTag
33
+ from alter_sdk_github._github_models_14 import OutputgitTree
34
+ from alter_sdk_github._github_models_14 import OutputgitignoreTemplate
35
+ from alter_sdk_github._github_models_14 import OutputminimalRepository
36
+ from alter_sdk_github._github_models_14 import OutputnetworkConfiguration
37
+ from alter_sdk_github._github_models_14 import OutputnetworkSettings
38
+ from alter_sdk_github._github_models_14 import OutputorganizationDependabotSecret
39
+ from alter_sdk_github._github_models_15 import OutputshortBlob
40
+ from alter_sdk_github._github_models_16 import Snapshot
41
+
42
+ GithubCopilotGetCopilotCloudAgentConfigurationOutputEnabledTools = TypedDict(
43
+ "GithubCopilotGetCopilotCloudAgentConfigurationOutputEnabledTools",
44
+ {
45
+ "codeql": Required["bool"],
46
+ "copilot_code_review": Required["bool"],
47
+ "dependency_vulnerability_checks": Required["bool"],
48
+ "secret_scanning": Required["bool"],
49
+ },
50
+ total=False,
51
+ )
52
+ GithubCopilotGetCopilotCodingAgentPermissionsOrganizationInput = TypedDict(
53
+ "GithubCopilotGetCopilotCodingAgentPermissionsOrganizationInput",
54
+ {"path": Required["GithubCopilotGetCopilotCodingAgentPermissionsOrganizationInputPath"]},
55
+ total=False,
56
+ )
57
+ GithubCopilotGetCopilotCodingAgentPermissionsOrganizationInputPath = TypedDict(
58
+ "GithubCopilotGetCopilotCodingAgentPermissionsOrganizationInputPath",
59
+ {"org": Required["str"]},
60
+ total=False,
61
+ )
62
+ GithubCopilotGetCopilotCodingAgentPermissionsOrganizationOutput = TypedDict(
63
+ "GithubCopilotGetCopilotCodingAgentPermissionsOrganizationOutput",
64
+ {"enabled_repositories": Required["str"], "selected_repositories_url": NotRequired["str"]},
65
+ total=False,
66
+ )
67
+ GithubCopilotGetCopilotOrganizationDetailsInput = TypedDict(
68
+ "GithubCopilotGetCopilotOrganizationDetailsInput",
69
+ {"path": Required["GithubCopilotGetCopilotOrganizationDetailsInputPath"]},
70
+ total=False,
71
+ )
72
+ GithubCopilotGetCopilotOrganizationDetailsInputPath = TypedDict(
73
+ "GithubCopilotGetCopilotOrganizationDetailsInputPath", {"org": Required["str"]}, total=False
74
+ )
75
+ GithubCopilotGetCopilotOrganizationDetailsOutput: TypeAlias = "OutputcopilotOrganizationDetails"
76
+ GithubCopilotGetCopilotSeatDetailsForUserInput = TypedDict(
77
+ "GithubCopilotGetCopilotSeatDetailsForUserInput",
78
+ {"path": Required["GithubCopilotGetCopilotSeatDetailsForUserInputPath"]},
79
+ total=False,
80
+ )
81
+ GithubCopilotGetCopilotSeatDetailsForUserInputPath = TypedDict(
82
+ "GithubCopilotGetCopilotSeatDetailsForUserInputPath",
83
+ {"org": Required["str"], "username": Required["str"]},
84
+ total=False,
85
+ )
86
+ GithubCopilotGetCopilotSeatDetailsForUserOutput: TypeAlias = "OutputcopilotSeatDetails"
87
+ GithubCopilotListCopilotCodingAgentSelectedRepositoriesForOrganizationInput = TypedDict(
88
+ "GithubCopilotListCopilotCodingAgentSelectedRepositoriesForOrganizationInput",
89
+ {
90
+ "path": Required[
91
+ "GithubCopilotListCopilotCodingAgentSelectedRepositoriesForOrganizationInputPath"
92
+ ],
93
+ "query": NotRequired[
94
+ "GithubCopilotListCopilotCodingAgentSelectedRepositoriesForOrganizationInputQuery"
95
+ ],
96
+ },
97
+ total=False,
98
+ )
99
+ GithubCopilotListCopilotCodingAgentSelectedRepositoriesForOrganizationInputPath = TypedDict(
100
+ "GithubCopilotListCopilotCodingAgentSelectedRepositoriesForOrganizationInputPath",
101
+ {"org": Required["str"]},
102
+ total=False,
103
+ )
104
+ GithubCopilotListCopilotCodingAgentSelectedRepositoriesForOrganizationInputQuery = TypedDict(
105
+ "GithubCopilotListCopilotCodingAgentSelectedRepositoriesForOrganizationInputQuery",
106
+ {"per_page": NotRequired["int"], "page": NotRequired["int"]},
107
+ total=False,
108
+ )
109
+ GithubCopilotListCopilotCodingAgentSelectedRepositoriesForOrganizationOutput = TypedDict(
110
+ "GithubCopilotListCopilotCodingAgentSelectedRepositoriesForOrganizationOutput",
111
+ {
112
+ "repositories": Required["list[OutputminimalRepository]"],
113
+ "total_count": Required["int | str"],
114
+ },
115
+ total=False,
116
+ )
117
+ GithubCopilotListCopilotSeatsInput = TypedDict(
118
+ "GithubCopilotListCopilotSeatsInput",
119
+ {
120
+ "path": Required["GithubCopilotListCopilotSeatsInputPath"],
121
+ "query": NotRequired["GithubCopilotListCopilotSeatsInputQuery"],
122
+ },
123
+ total=False,
124
+ )
125
+ GithubCopilotListCopilotSeatsInputPath = TypedDict(
126
+ "GithubCopilotListCopilotSeatsInputPath", {"org": Required["str"]}, total=False
127
+ )
128
+ GithubCopilotListCopilotSeatsInputQuery = TypedDict(
129
+ "GithubCopilotListCopilotSeatsInputQuery",
130
+ {"page": NotRequired["int"], "per_page": NotRequired["int"]},
131
+ total=False,
132
+ )
133
+ GithubCopilotListCopilotSeatsOutput = TypedDict(
134
+ "GithubCopilotListCopilotSeatsOutput",
135
+ {
136
+ "seats": NotRequired["list[OutputcopilotSeatDetails]"],
137
+ "total_seats": NotRequired["int | str"],
138
+ },
139
+ total=False,
140
+ )
141
+ GithubCopilotRemoveOrganizationsFromEnterpriseCodingAgentPolicyInput = TypedDict(
142
+ "GithubCopilotRemoveOrganizationsFromEnterpriseCodingAgentPolicyInput",
143
+ {
144
+ "path": Required[
145
+ "GithubCopilotRemoveOrganizationsFromEnterpriseCodingAgentPolicyInputPath"
146
+ ],
147
+ "body": Required[
148
+ "GithubCopilotRemoveOrganizationsFromEnterpriseCodingAgentPolicyInputBody"
149
+ ],
150
+ },
151
+ total=False,
152
+ )
153
+ GithubCopilotRemoveOrganizationsFromEnterpriseCodingAgentPolicyInputBody = TypedDict(
154
+ "GithubCopilotRemoveOrganizationsFromEnterpriseCodingAgentPolicyInputBody",
155
+ {
156
+ "custom_properties": NotRequired[
157
+ "list[GithubCopilotRemoveOrganizationsFromEnterpriseCodingAgentPolicyInputBodyCustomPropertiesItem]"
158
+ ],
159
+ "organizations": NotRequired["list[str]"],
160
+ },
161
+ total=False,
162
+ )
163
+ GithubCopilotRemoveOrganizationsFromEnterpriseCodingAgentPolicyInputBodyCustomPropertiesItem = TypedDict(
164
+ "GithubCopilotRemoveOrganizationsFromEnterpriseCodingAgentPolicyInputBodyCustomPropertiesItem",
165
+ {"property_name": Required["str"], "values": Required["list[str]"]},
166
+ total=False,
167
+ )
168
+ GithubCopilotRemoveOrganizationsFromEnterpriseCodingAgentPolicyInputPath = TypedDict(
169
+ "GithubCopilotRemoveOrganizationsFromEnterpriseCodingAgentPolicyInputPath",
170
+ {"enterprise": Required["str"]},
171
+ total=False,
172
+ )
173
+ GithubCopilotRemoveOrganizationsFromEnterpriseCodingAgentPolicyOutput: TypeAlias = "None"
174
+ GithubCopilotSetCopilotCodingAgentPermissionsOrganizationInput = TypedDict(
175
+ "GithubCopilotSetCopilotCodingAgentPermissionsOrganizationInput",
176
+ {
177
+ "path": Required["GithubCopilotSetCopilotCodingAgentPermissionsOrganizationInputPath"],
178
+ "body": Required["GithubCopilotSetCopilotCodingAgentPermissionsOrganizationInputBody"],
179
+ },
180
+ total=False,
181
+ )
182
+ GithubCopilotSetCopilotCodingAgentPermissionsOrganizationInputBody = TypedDict(
183
+ "GithubCopilotSetCopilotCodingAgentPermissionsOrganizationInputBody",
184
+ {"enabled_repositories": Required["Literal['all', 'selected', 'none']"]},
185
+ total=False,
186
+ )
187
+ GithubCopilotSetCopilotCodingAgentPermissionsOrganizationInputPath = TypedDict(
188
+ "GithubCopilotSetCopilotCodingAgentPermissionsOrganizationInputPath",
189
+ {"org": Required["str"]},
190
+ total=False,
191
+ )
192
+ GithubCopilotSetCopilotCodingAgentPermissionsOrganizationOutput: TypeAlias = "None"
193
+ GithubCopilotSetCopilotCodingAgentSelectedRepositoriesForOrganizationInput = TypedDict(
194
+ "GithubCopilotSetCopilotCodingAgentSelectedRepositoriesForOrganizationInput",
195
+ {
196
+ "path": Required[
197
+ "GithubCopilotSetCopilotCodingAgentSelectedRepositoriesForOrganizationInputPath"
198
+ ],
199
+ "body": Required[
200
+ "GithubCopilotSetCopilotCodingAgentSelectedRepositoriesForOrganizationInputBody"
201
+ ],
202
+ },
203
+ total=False,
204
+ )
205
+ GithubCopilotSetCopilotCodingAgentSelectedRepositoriesForOrganizationInputBody = TypedDict(
206
+ "GithubCopilotSetCopilotCodingAgentSelectedRepositoriesForOrganizationInputBody",
207
+ {"selected_repository_ids": Required["list[int]"]},
208
+ total=False,
209
+ )
210
+ GithubCopilotSetCopilotCodingAgentSelectedRepositoriesForOrganizationInputPath = TypedDict(
211
+ "GithubCopilotSetCopilotCodingAgentSelectedRepositoriesForOrganizationInputPath",
212
+ {"org": Required["str"]},
213
+ total=False,
214
+ )
215
+ GithubCopilotSetCopilotCodingAgentSelectedRepositoriesForOrganizationOutput: TypeAlias = "None"
216
+ GithubCopilotSetCopilotContentExclusionForOrganizationInput = TypedDict(
217
+ "GithubCopilotSetCopilotContentExclusionForOrganizationInput",
218
+ {
219
+ "path": Required["GithubCopilotSetCopilotContentExclusionForOrganizationInputPath"],
220
+ "body": Required[
221
+ "dict[str, list[str | GithubCopilotSetCopilotContentExclusionForOrganizationInputBodyValueItemVariant1 | GithubCopilotSetCopilotContentExclusionForOrganizationInputBodyValueItemVariant2]]"
222
+ ],
223
+ },
224
+ total=False,
225
+ )
226
+ GithubCopilotSetCopilotContentExclusionForOrganizationInputBodyValueItemVariant1 = TypedDict(
227
+ "GithubCopilotSetCopilotContentExclusionForOrganizationInputBodyValueItemVariant1",
228
+ {"ifAnyMatch": Required["list[str]"]},
229
+ total=False,
230
+ )
231
+ GithubCopilotSetCopilotContentExclusionForOrganizationInputBodyValueItemVariant2 = TypedDict(
232
+ "GithubCopilotSetCopilotContentExclusionForOrganizationInputBodyValueItemVariant2",
233
+ {"ifNoneMatch": Required["list[str]"]},
234
+ total=False,
235
+ )
236
+ GithubCopilotSetCopilotContentExclusionForOrganizationInputPath = TypedDict(
237
+ "GithubCopilotSetCopilotContentExclusionForOrganizationInputPath",
238
+ {"org": Required["str"]},
239
+ total=False,
240
+ )
241
+ GithubCopilotSetCopilotContentExclusionForOrganizationOutput = TypedDict(
242
+ "GithubCopilotSetCopilotContentExclusionForOrganizationOutput",
243
+ {"message": NotRequired["str"]},
244
+ total=False,
245
+ )
246
+ GithubCopilotSetEnterpriseCodingAgentPolicyInput = TypedDict(
247
+ "GithubCopilotSetEnterpriseCodingAgentPolicyInput",
248
+ {
249
+ "path": Required["GithubCopilotSetEnterpriseCodingAgentPolicyInputPath"],
250
+ "body": Required["GithubCopilotSetEnterpriseCodingAgentPolicyInputBody"],
251
+ },
252
+ total=False,
253
+ )
254
+ GithubCopilotSetEnterpriseCodingAgentPolicyInputBody = TypedDict(
255
+ "GithubCopilotSetEnterpriseCodingAgentPolicyInputBody",
256
+ {
257
+ "policy_state": Required[
258
+ "Literal['enabled_for_all_orgs', 'disabled_for_all_orgs', 'enabled_for_selected_orgs', 'configured_by_org_admins']"
259
+ ]
260
+ },
261
+ total=False,
262
+ )
263
+ GithubCopilotSetEnterpriseCodingAgentPolicyInputPath = TypedDict(
264
+ "GithubCopilotSetEnterpriseCodingAgentPolicyInputPath",
265
+ {"enterprise": Required["str"]},
266
+ total=False,
267
+ )
268
+ GithubCopilotSetEnterpriseCodingAgentPolicyOutput: TypeAlias = "None"
269
+ GithubCopilotSpacesAddCollaboratorForOrgInput = TypedDict(
270
+ "GithubCopilotSpacesAddCollaboratorForOrgInput",
271
+ {
272
+ "path": Required["GithubCopilotSpacesAddCollaboratorForOrgInputPath"],
273
+ "body": Required["GithubCopilotSpacesAddCollaboratorForOrgInputBody"],
274
+ },
275
+ total=False,
276
+ )
277
+ GithubCopilotSpacesAddCollaboratorForOrgInputBody = TypedDict(
278
+ "GithubCopilotSpacesAddCollaboratorForOrgInputBody",
279
+ {
280
+ "actor_identifier": Required["str"],
281
+ "actor_type": Required["Literal['User', 'Team']"],
282
+ "role": Required["Literal['reader', 'writer', 'admin']"],
283
+ },
284
+ total=False,
285
+ )
286
+ GithubCopilotSpacesAddCollaboratorForOrgInputPath = TypedDict(
287
+ "GithubCopilotSpacesAddCollaboratorForOrgInputPath",
288
+ {"org": Required["str"], "space_number": Required["int"]},
289
+ total=False,
290
+ )
291
+ GithubCopilotSpacesAddCollaboratorForOrgOutput: TypeAlias = "OutputcopilotSpaceCollaborator"
292
+ GithubCopilotSpacesAddCollaboratorForUserInput = TypedDict(
293
+ "GithubCopilotSpacesAddCollaboratorForUserInput",
294
+ {
295
+ "path": Required["GithubCopilotSpacesAddCollaboratorForUserInputPath"],
296
+ "body": Required["GithubCopilotSpacesAddCollaboratorForUserInputBody"],
297
+ },
298
+ total=False,
299
+ )
300
+ GithubCopilotSpacesAddCollaboratorForUserInputBody = TypedDict(
301
+ "GithubCopilotSpacesAddCollaboratorForUserInputBody",
302
+ {
303
+ "actor_identifier": Required["str"],
304
+ "actor_type": Required["Literal['User', 'Team']"],
305
+ "role": Required["Literal['reader', 'writer', 'admin']"],
306
+ },
307
+ total=False,
308
+ )
309
+ GithubCopilotSpacesAddCollaboratorForUserInputPath = TypedDict(
310
+ "GithubCopilotSpacesAddCollaboratorForUserInputPath",
311
+ {"username": Required["str"], "space_number": Required["int"]},
312
+ total=False,
313
+ )
314
+ GithubCopilotSpacesAddCollaboratorForUserOutput: TypeAlias = "OutputcopilotSpaceCollaborator"
315
+ GithubCopilotSpacesCreateForOrgInput = TypedDict(
316
+ "GithubCopilotSpacesCreateForOrgInput",
317
+ {
318
+ "path": Required["GithubCopilotSpacesCreateForOrgInputPath"],
319
+ "body": Required["GithubCopilotSpacesCreateForOrgInputBody"],
320
+ },
321
+ total=False,
322
+ )
323
+ GithubCopilotSpacesCreateForOrgInputBody = TypedDict(
324
+ "GithubCopilotSpacesCreateForOrgInputBody",
325
+ {
326
+ "base_role": NotRequired["Literal['reader', 'writer', 'admin', 'no_access']"],
327
+ "description": NotRequired["str"],
328
+ "general_instructions": NotRequired["str"],
329
+ "name": Required["str"],
330
+ "resources_attributes": NotRequired[
331
+ "list[GithubCopilotSpacesCreateForOrgInputBodyResourcesAttributesItem]"
332
+ ],
333
+ },
334
+ total=False,
335
+ )
336
+ GithubCopilotSpacesCreateForOrgInputBodyResourcesAttributesItem = TypedDict(
337
+ "GithubCopilotSpacesCreateForOrgInputBodyResourcesAttributesItem",
338
+ {
339
+ "metadata": NotRequired[
340
+ "GithubCopilotSpacesCreateForOrgInputBodyResourcesAttributesItemMetadata"
341
+ ],
342
+ "resource_type": NotRequired[
343
+ "Literal['repository', 'github_file', 'free_text', 'github_issue', 'github_pull_request', 'media_content', 'uploaded_text_file']"
344
+ ],
345
+ },
346
+ total=False,
347
+ )
348
+ GithubCopilotSpacesCreateForOrgInputBodyResourcesAttributesItemMetadata = TypedDict(
349
+ "GithubCopilotSpacesCreateForOrgInputBodyResourcesAttributesItemMetadata",
350
+ {
351
+ "file_path": NotRequired["str"],
352
+ "name": NotRequired["str"],
353
+ "number": NotRequired["int"],
354
+ "repository_id": NotRequired["int"],
355
+ "text": NotRequired["str"],
356
+ },
357
+ total=False,
358
+ )
359
+ GithubCopilotSpacesCreateForOrgInputPath = TypedDict(
360
+ "GithubCopilotSpacesCreateForOrgInputPath", {"org": Required["str"]}, total=False
361
+ )
362
+ GithubCopilotSpacesCreateForOrgOutput: TypeAlias = "OutputcopilotSpace"
363
+ GithubCopilotSpacesCreateForUserInput = TypedDict(
364
+ "GithubCopilotSpacesCreateForUserInput",
365
+ {
366
+ "path": Required["GithubCopilotSpacesCreateForUserInputPath"],
367
+ "body": Required["GithubCopilotSpacesCreateForUserInputBody"],
368
+ },
369
+ total=False,
370
+ )
371
+ GithubCopilotSpacesCreateForUserInputBody = TypedDict(
372
+ "GithubCopilotSpacesCreateForUserInputBody",
373
+ {
374
+ "base_role": NotRequired["Literal['reader', 'no_access']"],
375
+ "description": NotRequired["str"],
376
+ "general_instructions": NotRequired["str"],
377
+ "name": Required["str"],
378
+ "resources_attributes": NotRequired[
379
+ "list[GithubCopilotSpacesCreateForUserInputBodyResourcesAttributesItem]"
380
+ ],
381
+ },
382
+ total=False,
383
+ )
384
+ GithubCopilotSpacesCreateForUserInputBodyResourcesAttributesItem = TypedDict(
385
+ "GithubCopilotSpacesCreateForUserInputBodyResourcesAttributesItem",
386
+ {
387
+ "metadata": NotRequired[
388
+ "GithubCopilotSpacesCreateForUserInputBodyResourcesAttributesItemMetadata"
389
+ ],
390
+ "resource_type": NotRequired[
391
+ "Literal['repository', 'github_file', 'free_text', 'github_issue', 'github_pull_request', 'media_content', 'uploaded_text_file']"
392
+ ],
393
+ },
394
+ total=False,
395
+ )
396
+ GithubCopilotSpacesCreateForUserInputBodyResourcesAttributesItemMetadata = TypedDict(
397
+ "GithubCopilotSpacesCreateForUserInputBodyResourcesAttributesItemMetadata",
398
+ {
399
+ "file_path": NotRequired["str"],
400
+ "name": NotRequired["str"],
401
+ "number": NotRequired["int"],
402
+ "repository_id": NotRequired["int"],
403
+ "text": NotRequired["str"],
404
+ },
405
+ total=False,
406
+ )
407
+ GithubCopilotSpacesCreateForUserInputPath = TypedDict(
408
+ "GithubCopilotSpacesCreateForUserInputPath", {"username": Required["str"]}, total=False
409
+ )
410
+ GithubCopilotSpacesCreateForUserOutput: TypeAlias = "OutputcopilotSpace"
411
+ GithubCopilotSpacesCreateResourceForOrgInput = TypedDict(
412
+ "GithubCopilotSpacesCreateResourceForOrgInput",
413
+ {
414
+ "path": Required["GithubCopilotSpacesCreateResourceForOrgInputPath"],
415
+ "body": Required["GithubCopilotSpacesCreateResourceForOrgInputBody"],
416
+ },
417
+ total=False,
418
+ )
419
+ GithubCopilotSpacesCreateResourceForOrgInputBody = TypedDict(
420
+ "GithubCopilotSpacesCreateResourceForOrgInputBody",
421
+ {
422
+ "metadata": Required["dict[str, object]"],
423
+ "resource_type": Required[
424
+ "Literal['repository', 'github_file', 'free_text', 'github_issue', 'github_pull_request']"
425
+ ],
426
+ },
427
+ total=False,
428
+ )
429
+ GithubCopilotSpacesCreateResourceForOrgInputPath = TypedDict(
430
+ "GithubCopilotSpacesCreateResourceForOrgInputPath",
431
+ {"org": Required["str"], "space_number": Required["int"]},
432
+ total=False,
433
+ )
434
+ GithubCopilotSpacesCreateResourceForOrgOutput: TypeAlias = "OutputcopilotSpaceResource"
435
+ GithubCopilotSpacesCreateResourceForUserInput = TypedDict(
436
+ "GithubCopilotSpacesCreateResourceForUserInput",
437
+ {
438
+ "path": Required["GithubCopilotSpacesCreateResourceForUserInputPath"],
439
+ "body": Required["GithubCopilotSpacesCreateResourceForUserInputBody"],
440
+ },
441
+ total=False,
442
+ )
443
+ GithubCopilotSpacesCreateResourceForUserInputBody = TypedDict(
444
+ "GithubCopilotSpacesCreateResourceForUserInputBody",
445
+ {
446
+ "metadata": Required["dict[str, object]"],
447
+ "resource_type": Required[
448
+ "Literal['repository', 'github_file', 'free_text', 'github_issue', 'github_pull_request']"
449
+ ],
450
+ },
451
+ total=False,
452
+ )
453
+ GithubCopilotSpacesCreateResourceForUserInputPath = TypedDict(
454
+ "GithubCopilotSpacesCreateResourceForUserInputPath",
455
+ {"username": Required["str"], "space_number": Required["int"]},
456
+ total=False,
457
+ )
458
+ GithubCopilotSpacesCreateResourceForUserOutput: TypeAlias = "OutputcopilotSpaceResource"
459
+ GithubCopilotSpacesDeleteForOrgInput = TypedDict(
460
+ "GithubCopilotSpacesDeleteForOrgInput",
461
+ {"path": Required["GithubCopilotSpacesDeleteForOrgInputPath"]},
462
+ total=False,
463
+ )
464
+ GithubCopilotSpacesDeleteForOrgInputPath = TypedDict(
465
+ "GithubCopilotSpacesDeleteForOrgInputPath",
466
+ {"org": Required["str"], "space_number": Required["int"]},
467
+ total=False,
468
+ )
469
+ GithubCopilotSpacesDeleteForOrgOutput: TypeAlias = "None"
470
+ GithubCopilotSpacesDeleteForUserInput = TypedDict(
471
+ "GithubCopilotSpacesDeleteForUserInput",
472
+ {"path": Required["GithubCopilotSpacesDeleteForUserInputPath"]},
473
+ total=False,
474
+ )
475
+ GithubCopilotSpacesDeleteForUserInputPath = TypedDict(
476
+ "GithubCopilotSpacesDeleteForUserInputPath",
477
+ {"username": Required["str"], "space_number": Required["int"]},
478
+ total=False,
479
+ )
480
+ GithubCopilotSpacesDeleteForUserOutput: TypeAlias = "None"
481
+ GithubCopilotSpacesDeleteResourceForOrgInput = TypedDict(
482
+ "GithubCopilotSpacesDeleteResourceForOrgInput",
483
+ {"path": Required["GithubCopilotSpacesDeleteResourceForOrgInputPath"]},
484
+ total=False,
485
+ )
486
+ GithubCopilotSpacesDeleteResourceForOrgInputPath = TypedDict(
487
+ "GithubCopilotSpacesDeleteResourceForOrgInputPath",
488
+ {"org": Required["str"], "space_number": Required["int"], "space_resource_id": Required["int"]},
489
+ total=False,
490
+ )
491
+ GithubCopilotSpacesDeleteResourceForOrgOutput: TypeAlias = "None"
492
+ GithubCopilotSpacesDeleteResourceForUserInput = TypedDict(
493
+ "GithubCopilotSpacesDeleteResourceForUserInput",
494
+ {"path": Required["GithubCopilotSpacesDeleteResourceForUserInputPath"]},
495
+ total=False,
496
+ )
497
+ GithubCopilotSpacesDeleteResourceForUserInputPath = TypedDict(
498
+ "GithubCopilotSpacesDeleteResourceForUserInputPath",
499
+ {
500
+ "username": Required["str"],
501
+ "space_number": Required["int"],
502
+ "space_resource_id": Required["int"],
503
+ },
504
+ total=False,
505
+ )
506
+ GithubCopilotSpacesDeleteResourceForUserOutput: TypeAlias = "None"
507
+ GithubCopilotSpacesGetForOrgInput = TypedDict(
508
+ "GithubCopilotSpacesGetForOrgInput",
509
+ {"path": Required["GithubCopilotSpacesGetForOrgInputPath"]},
510
+ total=False,
511
+ )
512
+ GithubCopilotSpacesGetForOrgInputPath = TypedDict(
513
+ "GithubCopilotSpacesGetForOrgInputPath",
514
+ {"org": Required["str"], "space_number": Required["int"]},
515
+ total=False,
516
+ )
517
+ GithubCopilotSpacesGetForOrgOutput: TypeAlias = "OutputcopilotSpace"
518
+ GithubCopilotSpacesGetForUserInput = TypedDict(
519
+ "GithubCopilotSpacesGetForUserInput",
520
+ {"path": Required["GithubCopilotSpacesGetForUserInputPath"]},
521
+ total=False,
522
+ )
523
+ GithubCopilotSpacesGetForUserInputPath = TypedDict(
524
+ "GithubCopilotSpacesGetForUserInputPath",
525
+ {"username": Required["str"], "space_number": Required["int"]},
526
+ total=False,
527
+ )
528
+ GithubCopilotSpacesGetForUserOutput: TypeAlias = "OutputcopilotSpace"
529
+ GithubCopilotSpacesGetResourceForOrgInput = TypedDict(
530
+ "GithubCopilotSpacesGetResourceForOrgInput",
531
+ {"path": Required["GithubCopilotSpacesGetResourceForOrgInputPath"]},
532
+ total=False,
533
+ )
534
+ GithubCopilotSpacesGetResourceForOrgInputPath = TypedDict(
535
+ "GithubCopilotSpacesGetResourceForOrgInputPath",
536
+ {"org": Required["str"], "space_number": Required["int"], "space_resource_id": Required["int"]},
537
+ total=False,
538
+ )
539
+ GithubCopilotSpacesGetResourceForOrgOutput: TypeAlias = "OutputcopilotSpaceResource"
540
+ GithubCopilotSpacesGetResourceForUserInput = TypedDict(
541
+ "GithubCopilotSpacesGetResourceForUserInput",
542
+ {"path": Required["GithubCopilotSpacesGetResourceForUserInputPath"]},
543
+ total=False,
544
+ )
545
+ GithubCopilotSpacesGetResourceForUserInputPath = TypedDict(
546
+ "GithubCopilotSpacesGetResourceForUserInputPath",
547
+ {
548
+ "username": Required["str"],
549
+ "space_number": Required["int"],
550
+ "space_resource_id": Required["int"],
551
+ },
552
+ total=False,
553
+ )
554
+ GithubCopilotSpacesGetResourceForUserOutput: TypeAlias = "OutputcopilotSpaceResource"
555
+ GithubCopilotSpacesListCollaboratorsForOrgInput = TypedDict(
556
+ "GithubCopilotSpacesListCollaboratorsForOrgInput",
557
+ {"path": Required["GithubCopilotSpacesListCollaboratorsForOrgInputPath"]},
558
+ total=False,
559
+ )
560
+ GithubCopilotSpacesListCollaboratorsForOrgInputPath = TypedDict(
561
+ "GithubCopilotSpacesListCollaboratorsForOrgInputPath",
562
+ {"org": Required["str"], "space_number": Required["int"]},
563
+ total=False,
564
+ )
565
+ GithubCopilotSpacesListCollaboratorsForOrgOutput = TypedDict(
566
+ "GithubCopilotSpacesListCollaboratorsForOrgOutput",
567
+ {"collaborators": Required["list[OutputcopilotSpaceCollaborator]"]},
568
+ total=False,
569
+ )
570
+ GithubCopilotSpacesListCollaboratorsForUserInput = TypedDict(
571
+ "GithubCopilotSpacesListCollaboratorsForUserInput",
572
+ {"path": Required["GithubCopilotSpacesListCollaboratorsForUserInputPath"]},
573
+ total=False,
574
+ )
575
+ GithubCopilotSpacesListCollaboratorsForUserInputPath = TypedDict(
576
+ "GithubCopilotSpacesListCollaboratorsForUserInputPath",
577
+ {"username": Required["str"], "space_number": Required["int"]},
578
+ total=False,
579
+ )
580
+ GithubCopilotSpacesListCollaboratorsForUserOutput = TypedDict(
581
+ "GithubCopilotSpacesListCollaboratorsForUserOutput",
582
+ {"collaborators": Required["list[OutputcopilotSpaceCollaborator]"]},
583
+ total=False,
584
+ )
585
+ GithubCopilotSpacesListForOrgInput = TypedDict(
586
+ "GithubCopilotSpacesListForOrgInput",
587
+ {
588
+ "path": Required["GithubCopilotSpacesListForOrgInputPath"],
589
+ "query": NotRequired["GithubCopilotSpacesListForOrgInputQuery"],
590
+ },
591
+ total=False,
592
+ )
593
+ GithubCopilotSpacesListForOrgInputPath = TypedDict(
594
+ "GithubCopilotSpacesListForOrgInputPath", {"org": Required["str"]}, total=False
595
+ )
596
+ GithubCopilotSpacesListForOrgInputQuery = TypedDict(
597
+ "GithubCopilotSpacesListForOrgInputQuery",
598
+ {"per_page": NotRequired["int"], "before": NotRequired["str"], "after": NotRequired["str"]},
599
+ total=False,
600
+ )
601
+ GithubCopilotSpacesListForOrgOutput = TypedDict(
602
+ "GithubCopilotSpacesListForOrgOutput",
603
+ {"spaces": Required["list[OutputcopilotSpace]"]},
604
+ total=False,
605
+ )
606
+ GithubCopilotSpacesListForUserInput = TypedDict(
607
+ "GithubCopilotSpacesListForUserInput",
608
+ {
609
+ "path": Required["GithubCopilotSpacesListForUserInputPath"],
610
+ "query": NotRequired["GithubCopilotSpacesListForUserInputQuery"],
611
+ },
612
+ total=False,
613
+ )
614
+ GithubCopilotSpacesListForUserInputPath = TypedDict(
615
+ "GithubCopilotSpacesListForUserInputPath", {"username": Required["str"]}, total=False
616
+ )
617
+ GithubCopilotSpacesListForUserInputQuery = TypedDict(
618
+ "GithubCopilotSpacesListForUserInputQuery",
619
+ {"per_page": NotRequired["int"], "before": NotRequired["str"], "after": NotRequired["str"]},
620
+ total=False,
621
+ )
622
+ GithubCopilotSpacesListForUserOutput = TypedDict(
623
+ "GithubCopilotSpacesListForUserOutput",
624
+ {"spaces": Required["list[OutputcopilotSpace]"]},
625
+ total=False,
626
+ )
627
+ GithubCopilotSpacesListResourcesForOrgInput = TypedDict(
628
+ "GithubCopilotSpacesListResourcesForOrgInput",
629
+ {"path": Required["GithubCopilotSpacesListResourcesForOrgInputPath"]},
630
+ total=False,
631
+ )
632
+ GithubCopilotSpacesListResourcesForOrgInputPath = TypedDict(
633
+ "GithubCopilotSpacesListResourcesForOrgInputPath",
634
+ {"org": Required["str"], "space_number": Required["int"]},
635
+ total=False,
636
+ )
637
+ GithubCopilotSpacesListResourcesForOrgOutput = TypedDict(
638
+ "GithubCopilotSpacesListResourcesForOrgOutput",
639
+ {"resources": Required["list[OutputcopilotSpaceResource]"]},
640
+ total=False,
641
+ )
642
+ GithubCopilotSpacesListResourcesForUserInput = TypedDict(
643
+ "GithubCopilotSpacesListResourcesForUserInput",
644
+ {"path": Required["GithubCopilotSpacesListResourcesForUserInputPath"]},
645
+ total=False,
646
+ )
647
+ GithubCopilotSpacesListResourcesForUserInputPath = TypedDict(
648
+ "GithubCopilotSpacesListResourcesForUserInputPath",
649
+ {"username": Required["str"], "space_number": Required["int"]},
650
+ total=False,
651
+ )
652
+ GithubCopilotSpacesListResourcesForUserOutput = TypedDict(
653
+ "GithubCopilotSpacesListResourcesForUserOutput",
654
+ {"resources": Required["list[OutputcopilotSpaceResource]"]},
655
+ total=False,
656
+ )
657
+ GithubCopilotSpacesRemoveCollaboratorForOrgInput = TypedDict(
658
+ "GithubCopilotSpacesRemoveCollaboratorForOrgInput",
659
+ {"path": Required["GithubCopilotSpacesRemoveCollaboratorForOrgInputPath"]},
660
+ total=False,
661
+ )
662
+ GithubCopilotSpacesRemoveCollaboratorForOrgInputPath = TypedDict(
663
+ "GithubCopilotSpacesRemoveCollaboratorForOrgInputPath",
664
+ {
665
+ "org": Required["str"],
666
+ "space_number": Required["int"],
667
+ "actor_type": Required["Literal['User', 'Team']"],
668
+ "actor_identifier": Required["str"],
669
+ },
670
+ total=False,
671
+ )
672
+ GithubCopilotSpacesRemoveCollaboratorForOrgOutput: TypeAlias = "None"
673
+ GithubCopilotSpacesRemoveCollaboratorForUserInput = TypedDict(
674
+ "GithubCopilotSpacesRemoveCollaboratorForUserInput",
675
+ {"path": Required["GithubCopilotSpacesRemoveCollaboratorForUserInputPath"]},
676
+ total=False,
677
+ )
678
+ GithubCopilotSpacesRemoveCollaboratorForUserInputPath = TypedDict(
679
+ "GithubCopilotSpacesRemoveCollaboratorForUserInputPath",
680
+ {
681
+ "username": Required["str"],
682
+ "space_number": Required["int"],
683
+ "actor_type": Required["Literal['User', 'Team']"],
684
+ "actor_identifier": Required["str"],
685
+ },
686
+ total=False,
687
+ )
688
+ GithubCopilotSpacesRemoveCollaboratorForUserOutput: TypeAlias = "None"
689
+ GithubCopilotSpacesUpdateCollaboratorForOrgInput = TypedDict(
690
+ "GithubCopilotSpacesUpdateCollaboratorForOrgInput",
691
+ {
692
+ "path": Required["GithubCopilotSpacesUpdateCollaboratorForOrgInputPath"],
693
+ "body": Required["GithubCopilotSpacesUpdateCollaboratorForOrgInputBody"],
694
+ },
695
+ total=False,
696
+ )
697
+ GithubCopilotSpacesUpdateCollaboratorForOrgInputBody = TypedDict(
698
+ "GithubCopilotSpacesUpdateCollaboratorForOrgInputBody",
699
+ {"role": Required["Literal['reader', 'writer', 'admin', 'no_access']"]},
700
+ total=False,
701
+ )
702
+ GithubCopilotSpacesUpdateCollaboratorForOrgInputPath = TypedDict(
703
+ "GithubCopilotSpacesUpdateCollaboratorForOrgInputPath",
704
+ {
705
+ "org": Required["str"],
706
+ "space_number": Required["int"],
707
+ "actor_type": Required["Literal['User', 'Team']"],
708
+ "actor_identifier": Required["str"],
709
+ },
710
+ total=False,
711
+ )
712
+ GithubCopilotSpacesUpdateCollaboratorForOrgOutput: TypeAlias = (
713
+ "Union[OutputcopilotSpaceCollaborator, None]"
714
+ )
715
+ GithubCopilotSpacesUpdateCollaboratorForUserInput = TypedDict(
716
+ "GithubCopilotSpacesUpdateCollaboratorForUserInput",
717
+ {
718
+ "path": Required["GithubCopilotSpacesUpdateCollaboratorForUserInputPath"],
719
+ "body": Required["GithubCopilotSpacesUpdateCollaboratorForUserInputBody"],
720
+ },
721
+ total=False,
722
+ )
723
+ GithubCopilotSpacesUpdateCollaboratorForUserInputBody = TypedDict(
724
+ "GithubCopilotSpacesUpdateCollaboratorForUserInputBody",
725
+ {"role": Required["Literal['reader', 'writer', 'admin', 'no_access']"]},
726
+ total=False,
727
+ )
728
+ GithubCopilotSpacesUpdateCollaboratorForUserInputPath = TypedDict(
729
+ "GithubCopilotSpacesUpdateCollaboratorForUserInputPath",
730
+ {
731
+ "username": Required["str"],
732
+ "space_number": Required["int"],
733
+ "actor_type": Required["Literal['User', 'Team']"],
734
+ "actor_identifier": Required["str"],
735
+ },
736
+ total=False,
737
+ )
738
+ GithubCopilotSpacesUpdateCollaboratorForUserOutput: TypeAlias = (
739
+ "Union[OutputcopilotSpaceCollaborator, None]"
740
+ )
741
+ GithubCopilotSpacesUpdateForOrgInput = TypedDict(
742
+ "GithubCopilotSpacesUpdateForOrgInput",
743
+ {
744
+ "path": Required["GithubCopilotSpacesUpdateForOrgInputPath"],
745
+ "body": Required["GithubCopilotSpacesUpdateForOrgInputBody"],
746
+ },
747
+ total=False,
748
+ )
749
+ GithubCopilotSpacesUpdateForOrgInputBody = TypedDict(
750
+ "GithubCopilotSpacesUpdateForOrgInputBody",
751
+ {
752
+ "base_role": NotRequired["Literal['reader', 'writer', 'admin', 'no_access']"],
753
+ "description": NotRequired["str"],
754
+ "general_instructions": NotRequired["str"],
755
+ "name": NotRequired["str"],
756
+ "resources_attributes": NotRequired[
757
+ "list[GithubCopilotSpacesUpdateForOrgInputBodyResourcesAttributesItem]"
758
+ ],
759
+ },
760
+ total=False,
761
+ )
762
+ GithubCopilotSpacesUpdateForOrgInputBodyResourcesAttributesItem = TypedDict(
763
+ "GithubCopilotSpacesUpdateForOrgInputBodyResourcesAttributesItem",
764
+ {
765
+ "metadata": NotRequired[
766
+ "GithubCopilotSpacesUpdateForOrgInputBodyResourcesAttributesItemMetadata"
767
+ ],
768
+ "resource_type": NotRequired[
769
+ "Literal['repository', 'github_file', 'free_text', 'github_issue', 'github_pull_request', 'media_content', 'uploaded_text_file']"
770
+ ],
771
+ },
772
+ total=False,
773
+ )
774
+ GithubCopilotSpacesUpdateForOrgInputBodyResourcesAttributesItemMetadata = TypedDict(
775
+ "GithubCopilotSpacesUpdateForOrgInputBodyResourcesAttributesItemMetadata",
776
+ {
777
+ "file_path": NotRequired["str"],
778
+ "name": NotRequired["str"],
779
+ "number": NotRequired["int"],
780
+ "repository_id": NotRequired["int"],
781
+ "text": NotRequired["str"],
782
+ },
783
+ total=False,
784
+ )
785
+ GithubCopilotSpacesUpdateForOrgInputPath = TypedDict(
786
+ "GithubCopilotSpacesUpdateForOrgInputPath",
787
+ {"org": Required["str"], "space_number": Required["int"]},
788
+ total=False,
789
+ )
790
+ GithubCopilotSpacesUpdateForOrgOutput: TypeAlias = "OutputcopilotSpace"
791
+ GithubCopilotSpacesUpdateForUserInput = TypedDict(
792
+ "GithubCopilotSpacesUpdateForUserInput",
793
+ {
794
+ "path": Required["GithubCopilotSpacesUpdateForUserInputPath"],
795
+ "body": Required["GithubCopilotSpacesUpdateForUserInputBody"],
796
+ },
797
+ total=False,
798
+ )
799
+ GithubCopilotSpacesUpdateForUserInputBody = TypedDict(
800
+ "GithubCopilotSpacesUpdateForUserInputBody",
801
+ {
802
+ "base_role": NotRequired["Literal['reader', 'no_access']"],
803
+ "description": NotRequired["str"],
804
+ "general_instructions": NotRequired["str"],
805
+ "name": NotRequired["str"],
806
+ "resources_attributes": NotRequired[
807
+ "list[GithubCopilotSpacesUpdateForUserInputBodyResourcesAttributesItem]"
808
+ ],
809
+ },
810
+ total=False,
811
+ )
812
+ GithubCopilotSpacesUpdateForUserInputBodyResourcesAttributesItem = TypedDict(
813
+ "GithubCopilotSpacesUpdateForUserInputBodyResourcesAttributesItem",
814
+ {
815
+ "metadata": NotRequired[
816
+ "GithubCopilotSpacesUpdateForUserInputBodyResourcesAttributesItemMetadata"
817
+ ],
818
+ "resource_type": NotRequired[
819
+ "Literal['repository', 'github_file', 'free_text', 'github_issue', 'github_pull_request', 'media_content', 'uploaded_text_file']"
820
+ ],
821
+ },
822
+ total=False,
823
+ )
824
+ GithubCopilotSpacesUpdateForUserInputBodyResourcesAttributesItemMetadata = TypedDict(
825
+ "GithubCopilotSpacesUpdateForUserInputBodyResourcesAttributesItemMetadata",
826
+ {
827
+ "file_path": NotRequired["str"],
828
+ "name": NotRequired["str"],
829
+ "number": NotRequired["int"],
830
+ "repository_id": NotRequired["int"],
831
+ "text": NotRequired["str"],
832
+ },
833
+ total=False,
834
+ )
835
+ GithubCopilotSpacesUpdateForUserInputPath = TypedDict(
836
+ "GithubCopilotSpacesUpdateForUserInputPath",
837
+ {"username": Required["str"], "space_number": Required["int"]},
838
+ total=False,
839
+ )
840
+ GithubCopilotSpacesUpdateForUserOutput: TypeAlias = "OutputcopilotSpace"
841
+ GithubCopilotSpacesUpdateResourceForOrgInput = TypedDict(
842
+ "GithubCopilotSpacesUpdateResourceForOrgInput",
843
+ {
844
+ "path": Required["GithubCopilotSpacesUpdateResourceForOrgInputPath"],
845
+ "body": Required["GithubCopilotSpacesUpdateResourceForOrgInputBody"],
846
+ },
847
+ total=False,
848
+ )
849
+ GithubCopilotSpacesUpdateResourceForOrgInputBody = TypedDict(
850
+ "GithubCopilotSpacesUpdateResourceForOrgInputBody",
851
+ {"metadata": NotRequired["dict[str, object]"]},
852
+ total=False,
853
+ )
854
+ GithubCopilotSpacesUpdateResourceForOrgInputPath = TypedDict(
855
+ "GithubCopilotSpacesUpdateResourceForOrgInputPath",
856
+ {"org": Required["str"], "space_number": Required["int"], "space_resource_id": Required["int"]},
857
+ total=False,
858
+ )
859
+ GithubCopilotSpacesUpdateResourceForOrgOutput: TypeAlias = "OutputcopilotSpaceResource"
860
+ GithubCopilotSpacesUpdateResourceForUserInput = TypedDict(
861
+ "GithubCopilotSpacesUpdateResourceForUserInput",
862
+ {
863
+ "path": Required["GithubCopilotSpacesUpdateResourceForUserInputPath"],
864
+ "body": Required["GithubCopilotSpacesUpdateResourceForUserInputBody"],
865
+ },
866
+ total=False,
867
+ )
868
+ GithubCopilotSpacesUpdateResourceForUserInputBody = TypedDict(
869
+ "GithubCopilotSpacesUpdateResourceForUserInputBody",
870
+ {"metadata": NotRequired["dict[str, object]"]},
871
+ total=False,
872
+ )
873
+ GithubCopilotSpacesUpdateResourceForUserInputPath = TypedDict(
874
+ "GithubCopilotSpacesUpdateResourceForUserInputPath",
875
+ {
876
+ "username": Required["str"],
877
+ "space_number": Required["int"],
878
+ "space_resource_id": Required["int"],
879
+ },
880
+ total=False,
881
+ )
882
+ GithubCopilotSpacesUpdateResourceForUserOutput: TypeAlias = "OutputcopilotSpaceResource"
883
+ GithubCredentialsRevokeInput = TypedDict(
884
+ "GithubCredentialsRevokeInput",
885
+ {"body": Required["GithubCredentialsRevokeInputBody"]},
886
+ total=False,
887
+ )
888
+ GithubCredentialsRevokeInputBody = TypedDict(
889
+ "GithubCredentialsRevokeInputBody", {"credentials": Required["list[str]"]}, total=False
890
+ )
891
+ GithubCredentialsRevokeOutput: TypeAlias = "dict[str, object]"
892
+ GithubDependabotAddSelectedRepoToOrgSecretInput = TypedDict(
893
+ "GithubDependabotAddSelectedRepoToOrgSecretInput",
894
+ {"path": Required["GithubDependabotAddSelectedRepoToOrgSecretInputPath"]},
895
+ total=False,
896
+ )
897
+ GithubDependabotAddSelectedRepoToOrgSecretInputPath = TypedDict(
898
+ "GithubDependabotAddSelectedRepoToOrgSecretInputPath",
899
+ {"org": Required["str"], "secret_name": Required["str"], "repository_id": Required["int"]},
900
+ total=False,
901
+ )
902
+ GithubDependabotAddSelectedRepoToOrgSecretOutput: TypeAlias = "None"
903
+ GithubDependabotCreateOrUpdateOrgSecretInput = TypedDict(
904
+ "GithubDependabotCreateOrUpdateOrgSecretInput",
905
+ {
906
+ "path": Required["GithubDependabotCreateOrUpdateOrgSecretInputPath"],
907
+ "body": Required["GithubDependabotCreateOrUpdateOrgSecretInputBody"],
908
+ },
909
+ total=False,
910
+ )
911
+ GithubDependabotCreateOrUpdateOrgSecretInputBody = TypedDict(
912
+ "GithubDependabotCreateOrUpdateOrgSecretInputBody",
913
+ {
914
+ "encrypted_value": NotRequired["str"],
915
+ "key_id": NotRequired["str"],
916
+ "selected_repository_ids": NotRequired["list[int]"],
917
+ "visibility": Required["Literal['all', 'private', 'selected']"],
918
+ },
919
+ total=False,
920
+ )
921
+ GithubDependabotCreateOrUpdateOrgSecretInputPath = TypedDict(
922
+ "GithubDependabotCreateOrUpdateOrgSecretInputPath",
923
+ {"org": Required["str"], "secret_name": Required["str"]},
924
+ total=False,
925
+ )
926
+ GithubDependabotCreateOrUpdateOrgSecretOutput: TypeAlias = "Union[OutputemptyObject, None]"
927
+ GithubDependabotCreateOrUpdateRepoSecretInput = TypedDict(
928
+ "GithubDependabotCreateOrUpdateRepoSecretInput",
929
+ {
930
+ "path": Required["GithubDependabotCreateOrUpdateRepoSecretInputPath"],
931
+ "body": Required["GithubDependabotCreateOrUpdateRepoSecretInputBody"],
932
+ },
933
+ total=False,
934
+ )
935
+ GithubDependabotCreateOrUpdateRepoSecretInputBody = TypedDict(
936
+ "GithubDependabotCreateOrUpdateRepoSecretInputBody",
937
+ {"encrypted_value": NotRequired["str"], "key_id": NotRequired["str"]},
938
+ total=False,
939
+ )
940
+ GithubDependabotCreateOrUpdateRepoSecretInputPath = TypedDict(
941
+ "GithubDependabotCreateOrUpdateRepoSecretInputPath",
942
+ {"owner": Required["str"], "repo": Required["str"], "secret_name": Required["str"]},
943
+ total=False,
944
+ )
945
+ GithubDependabotCreateOrUpdateRepoSecretOutput: TypeAlias = "Union[OutputemptyObject, None]"
946
+ GithubDependabotDeleteOrgSecretInput = TypedDict(
947
+ "GithubDependabotDeleteOrgSecretInput",
948
+ {"path": Required["GithubDependabotDeleteOrgSecretInputPath"]},
949
+ total=False,
950
+ )
951
+ GithubDependabotDeleteOrgSecretInputPath = TypedDict(
952
+ "GithubDependabotDeleteOrgSecretInputPath",
953
+ {"org": Required["str"], "secret_name": Required["str"]},
954
+ total=False,
955
+ )
956
+ GithubDependabotDeleteOrgSecretOutput: TypeAlias = "None"
957
+ GithubDependabotDeleteRepoSecretInput = TypedDict(
958
+ "GithubDependabotDeleteRepoSecretInput",
959
+ {"path": Required["GithubDependabotDeleteRepoSecretInputPath"]},
960
+ total=False,
961
+ )
962
+ GithubDependabotDeleteRepoSecretInputPath = TypedDict(
963
+ "GithubDependabotDeleteRepoSecretInputPath",
964
+ {"owner": Required["str"], "repo": Required["str"], "secret_name": Required["str"]},
965
+ total=False,
966
+ )
967
+ GithubDependabotDeleteRepoSecretOutput: TypeAlias = "None"
968
+ GithubDependabotGetAlertInput = TypedDict(
969
+ "GithubDependabotGetAlertInput",
970
+ {"path": Required["GithubDependabotGetAlertInputPath"]},
971
+ total=False,
972
+ )
973
+ GithubDependabotGetAlertInputPath = TypedDict(
974
+ "GithubDependabotGetAlertInputPath",
975
+ {"owner": Required["str"], "repo": Required["str"], "alert_number": Required["AlertNumber"]},
976
+ total=False,
977
+ )
978
+ GithubDependabotGetAlertOutput: TypeAlias = "OutputdependabotAlert"
979
+ GithubDependabotGetOrgPublicKeyInput = TypedDict(
980
+ "GithubDependabotGetOrgPublicKeyInput",
981
+ {"path": Required["GithubDependabotGetOrgPublicKeyInputPath"]},
982
+ total=False,
983
+ )
984
+ GithubDependabotGetOrgPublicKeyInputPath = TypedDict(
985
+ "GithubDependabotGetOrgPublicKeyInputPath", {"org": Required["str"]}, total=False
986
+ )
987
+ GithubDependabotGetOrgPublicKeyOutput: TypeAlias = "OutputdependabotPublicKey"
988
+ GithubDependabotGetOrgSecretInput = TypedDict(
989
+ "GithubDependabotGetOrgSecretInput",
990
+ {"path": Required["GithubDependabotGetOrgSecretInputPath"]},
991
+ total=False,
992
+ )
993
+ GithubDependabotGetOrgSecretInputPath = TypedDict(
994
+ "GithubDependabotGetOrgSecretInputPath",
995
+ {"org": Required["str"], "secret_name": Required["str"]},
996
+ total=False,
997
+ )
998
+ GithubDependabotGetOrgSecretOutput: TypeAlias = "OutputorganizationDependabotSecret"
999
+ GithubDependabotGetRepoPublicKeyInput = TypedDict(
1000
+ "GithubDependabotGetRepoPublicKeyInput",
1001
+ {"path": Required["GithubDependabotGetRepoPublicKeyInputPath"]},
1002
+ total=False,
1003
+ )
1004
+ GithubDependabotGetRepoPublicKeyInputPath = TypedDict(
1005
+ "GithubDependabotGetRepoPublicKeyInputPath",
1006
+ {"owner": Required["str"], "repo": Required["str"]},
1007
+ total=False,
1008
+ )
1009
+ GithubDependabotGetRepoPublicKeyOutput: TypeAlias = "OutputdependabotPublicKey"
1010
+ GithubDependabotGetRepoSecretInput = TypedDict(
1011
+ "GithubDependabotGetRepoSecretInput",
1012
+ {"path": Required["GithubDependabotGetRepoSecretInputPath"]},
1013
+ total=False,
1014
+ )
1015
+ GithubDependabotGetRepoSecretInputPath = TypedDict(
1016
+ "GithubDependabotGetRepoSecretInputPath",
1017
+ {"owner": Required["str"], "repo": Required["str"], "secret_name": Required["str"]},
1018
+ total=False,
1019
+ )
1020
+ GithubDependabotGetRepoSecretOutput: TypeAlias = "OutputdependabotSecret"
1021
+ GithubDependabotListAlertsForEnterpriseInput = TypedDict(
1022
+ "GithubDependabotListAlertsForEnterpriseInput",
1023
+ {
1024
+ "path": Required["GithubDependabotListAlertsForEnterpriseInputPath"],
1025
+ "query": NotRequired["GithubDependabotListAlertsForEnterpriseInputQuery"],
1026
+ },
1027
+ total=False,
1028
+ )
1029
+ GithubDependabotListAlertsForEnterpriseInputPath = TypedDict(
1030
+ "GithubDependabotListAlertsForEnterpriseInputPath", {"enterprise": Required["str"]}, total=False
1031
+ )
1032
+ GithubDependabotListAlertsForEnterpriseInputQuery = TypedDict(
1033
+ "GithubDependabotListAlertsForEnterpriseInputQuery",
1034
+ {
1035
+ "classification": NotRequired["str"],
1036
+ "state": NotRequired["str"],
1037
+ "severity": NotRequired["str"],
1038
+ "ecosystem": NotRequired["str"],
1039
+ "package": NotRequired["str"],
1040
+ "epss_percentage": NotRequired["str"],
1041
+ "has": NotRequired["str | list[Literal['patch']]"],
1042
+ "assignee": NotRequired["str"],
1043
+ "scope": NotRequired["Literal['development', 'runtime']"],
1044
+ "relationship": NotRequired["str"],
1045
+ "sort": NotRequired["Literal['created', 'updated', 'epss_percentage']"],
1046
+ "direction": NotRequired["Literal['asc', 'desc']"],
1047
+ "before": NotRequired["str"],
1048
+ "after": NotRequired["str"],
1049
+ "per_page": NotRequired["int"],
1050
+ },
1051
+ total=False,
1052
+ )
1053
+ GithubDependabotListAlertsForEnterpriseOutput: TypeAlias = (
1054
+ "list[OutputdependabotAlertWithRepository]"
1055
+ )
1056
+ GithubDependabotListAlertsForOrgInput = TypedDict(
1057
+ "GithubDependabotListAlertsForOrgInput",
1058
+ {
1059
+ "path": Required["GithubDependabotListAlertsForOrgInputPath"],
1060
+ "query": NotRequired["GithubDependabotListAlertsForOrgInputQuery"],
1061
+ },
1062
+ total=False,
1063
+ )
1064
+ GithubDependabotListAlertsForOrgInputPath = TypedDict(
1065
+ "GithubDependabotListAlertsForOrgInputPath", {"org": Required["str"]}, total=False
1066
+ )
1067
+ GithubDependabotListAlertsForOrgInputQuery = TypedDict(
1068
+ "GithubDependabotListAlertsForOrgInputQuery",
1069
+ {
1070
+ "classification": NotRequired["str"],
1071
+ "state": NotRequired["str"],
1072
+ "severity": NotRequired["str"],
1073
+ "ecosystem": NotRequired["str"],
1074
+ "package": NotRequired["str"],
1075
+ "epss_percentage": NotRequired["str"],
1076
+ "artifact_registry_url": NotRequired["str"],
1077
+ "artifact_registry": NotRequired["str"],
1078
+ "has": NotRequired["str | list[Literal['patch', 'deployment']]"],
1079
+ "assignee": NotRequired["str"],
1080
+ "runtime_risk": NotRequired["str"],
1081
+ "scope": NotRequired["Literal['development', 'runtime']"],
1082
+ "relationship": NotRequired["str"],
1083
+ "sort": NotRequired["Literal['created', 'updated', 'epss_percentage']"],
1084
+ "direction": NotRequired["Literal['asc', 'desc']"],
1085
+ "before": NotRequired["str"],
1086
+ "after": NotRequired["str"],
1087
+ "per_page": NotRequired["int"],
1088
+ },
1089
+ total=False,
1090
+ )
1091
+ GithubDependabotListAlertsForOrgOutput: TypeAlias = "list[OutputdependabotAlertWithRepository]"
1092
+ GithubDependabotListAlertsForRepoInput = TypedDict(
1093
+ "GithubDependabotListAlertsForRepoInput",
1094
+ {
1095
+ "path": Required["GithubDependabotListAlertsForRepoInputPath"],
1096
+ "query": NotRequired["GithubDependabotListAlertsForRepoInputQuery"],
1097
+ },
1098
+ total=False,
1099
+ )
1100
+ GithubDependabotListAlertsForRepoInputPath = TypedDict(
1101
+ "GithubDependabotListAlertsForRepoInputPath",
1102
+ {"owner": Required["str"], "repo": Required["str"]},
1103
+ total=False,
1104
+ )
1105
+ GithubDependabotListAlertsForRepoInputQuery = TypedDict(
1106
+ "GithubDependabotListAlertsForRepoInputQuery",
1107
+ {
1108
+ "classification": NotRequired["str"],
1109
+ "state": NotRequired["str"],
1110
+ "severity": NotRequired["str"],
1111
+ "ecosystem": NotRequired["str"],
1112
+ "package": NotRequired["str"],
1113
+ "manifest": NotRequired["str"],
1114
+ "epss_percentage": NotRequired["str"],
1115
+ "has": NotRequired["str | list[Literal['patch']]"],
1116
+ "assignee": NotRequired["str"],
1117
+ "scope": NotRequired["Literal['development', 'runtime']"],
1118
+ "relationship": NotRequired["str"],
1119
+ "sort": NotRequired["Literal['created', 'updated', 'epss_percentage']"],
1120
+ "direction": NotRequired["Literal['asc', 'desc']"],
1121
+ "before": NotRequired["str"],
1122
+ "after": NotRequired["str"],
1123
+ "per_page": NotRequired["int"],
1124
+ },
1125
+ total=False,
1126
+ )
1127
+ GithubDependabotListAlertsForRepoOutput: TypeAlias = "list[OutputdependabotAlert]"
1128
+ GithubDependabotListOrgSecretsInput = TypedDict(
1129
+ "GithubDependabotListOrgSecretsInput",
1130
+ {
1131
+ "path": Required["GithubDependabotListOrgSecretsInputPath"],
1132
+ "query": NotRequired["GithubDependabotListOrgSecretsInputQuery"],
1133
+ },
1134
+ total=False,
1135
+ )
1136
+ GithubDependabotListOrgSecretsInputPath = TypedDict(
1137
+ "GithubDependabotListOrgSecretsInputPath", {"org": Required["str"]}, total=False
1138
+ )
1139
+ GithubDependabotListOrgSecretsInputQuery = TypedDict(
1140
+ "GithubDependabotListOrgSecretsInputQuery",
1141
+ {"per_page": NotRequired["int"], "page": NotRequired["int"]},
1142
+ total=False,
1143
+ )
1144
+ GithubDependabotListOrgSecretsOutput = TypedDict(
1145
+ "GithubDependabotListOrgSecretsOutput",
1146
+ {
1147
+ "secrets": Required["list[OutputorganizationDependabotSecret]"],
1148
+ "total_count": Required["int | str"],
1149
+ },
1150
+ total=False,
1151
+ )
1152
+ GithubDependabotListRepoSecretsInput = TypedDict(
1153
+ "GithubDependabotListRepoSecretsInput",
1154
+ {
1155
+ "path": Required["GithubDependabotListRepoSecretsInputPath"],
1156
+ "query": NotRequired["GithubDependabotListRepoSecretsInputQuery"],
1157
+ },
1158
+ total=False,
1159
+ )
1160
+ GithubDependabotListRepoSecretsInputPath = TypedDict(
1161
+ "GithubDependabotListRepoSecretsInputPath",
1162
+ {"owner": Required["str"], "repo": Required["str"]},
1163
+ total=False,
1164
+ )
1165
+ GithubDependabotListRepoSecretsInputQuery = TypedDict(
1166
+ "GithubDependabotListRepoSecretsInputQuery",
1167
+ {"per_page": NotRequired["int"], "page": NotRequired["int"]},
1168
+ total=False,
1169
+ )
1170
+ GithubDependabotListRepoSecretsOutput = TypedDict(
1171
+ "GithubDependabotListRepoSecretsOutput",
1172
+ {"secrets": Required["list[OutputdependabotSecret]"], "total_count": Required["int | str"]},
1173
+ total=False,
1174
+ )
1175
+ GithubDependabotListSelectedReposForOrgSecretInput = TypedDict(
1176
+ "GithubDependabotListSelectedReposForOrgSecretInput",
1177
+ {
1178
+ "path": Required["GithubDependabotListSelectedReposForOrgSecretInputPath"],
1179
+ "query": NotRequired["GithubDependabotListSelectedReposForOrgSecretInputQuery"],
1180
+ },
1181
+ total=False,
1182
+ )
1183
+ GithubDependabotListSelectedReposForOrgSecretInputPath = TypedDict(
1184
+ "GithubDependabotListSelectedReposForOrgSecretInputPath",
1185
+ {"org": Required["str"], "secret_name": Required["str"]},
1186
+ total=False,
1187
+ )
1188
+ GithubDependabotListSelectedReposForOrgSecretInputQuery = TypedDict(
1189
+ "GithubDependabotListSelectedReposForOrgSecretInputQuery",
1190
+ {"page": NotRequired["int"], "per_page": NotRequired["int"]},
1191
+ total=False,
1192
+ )
1193
+ GithubDependabotListSelectedReposForOrgSecretOutput = TypedDict(
1194
+ "GithubDependabotListSelectedReposForOrgSecretOutput",
1195
+ {
1196
+ "repositories": Required["list[OutputminimalRepository]"],
1197
+ "total_count": Required["int | str"],
1198
+ },
1199
+ total=False,
1200
+ )
1201
+ GithubDependabotRemoveSelectedRepoFromOrgSecretInput = TypedDict(
1202
+ "GithubDependabotRemoveSelectedRepoFromOrgSecretInput",
1203
+ {"path": Required["GithubDependabotRemoveSelectedRepoFromOrgSecretInputPath"]},
1204
+ total=False,
1205
+ )
1206
+ GithubDependabotRemoveSelectedRepoFromOrgSecretInputPath = TypedDict(
1207
+ "GithubDependabotRemoveSelectedRepoFromOrgSecretInputPath",
1208
+ {"org": Required["str"], "secret_name": Required["str"], "repository_id": Required["int"]},
1209
+ total=False,
1210
+ )
1211
+ GithubDependabotRemoveSelectedRepoFromOrgSecretOutput: TypeAlias = "None"
1212
+ GithubDependabotRepositoryAccessForEnterpriseInput = TypedDict(
1213
+ "GithubDependabotRepositoryAccessForEnterpriseInput",
1214
+ {
1215
+ "path": Required["GithubDependabotRepositoryAccessForEnterpriseInputPath"],
1216
+ "query": NotRequired["GithubDependabotRepositoryAccessForEnterpriseInputQuery"],
1217
+ },
1218
+ total=False,
1219
+ )
1220
+ GithubDependabotRepositoryAccessForEnterpriseInputPath = TypedDict(
1221
+ "GithubDependabotRepositoryAccessForEnterpriseInputPath",
1222
+ {"enterprise": Required["str"]},
1223
+ total=False,
1224
+ )
1225
+ GithubDependabotRepositoryAccessForEnterpriseInputQuery = TypedDict(
1226
+ "GithubDependabotRepositoryAccessForEnterpriseInputQuery",
1227
+ {"page": NotRequired["int"], "per_page": NotRequired["int"]},
1228
+ total=False,
1229
+ )
1230
+ GithubDependabotRepositoryAccessForEnterpriseOutput: TypeAlias = (
1231
+ "OutputdependabotRepositoryAccessDetails"
1232
+ )
1233
+ GithubDependabotRepositoryAccessForOrgInput = TypedDict(
1234
+ "GithubDependabotRepositoryAccessForOrgInput",
1235
+ {
1236
+ "path": Required["GithubDependabotRepositoryAccessForOrgInputPath"],
1237
+ "query": NotRequired["GithubDependabotRepositoryAccessForOrgInputQuery"],
1238
+ },
1239
+ total=False,
1240
+ )
1241
+ GithubDependabotRepositoryAccessForOrgInputPath = TypedDict(
1242
+ "GithubDependabotRepositoryAccessForOrgInputPath", {"org": Required["str"]}, total=False
1243
+ )
1244
+ GithubDependabotRepositoryAccessForOrgInputQuery = TypedDict(
1245
+ "GithubDependabotRepositoryAccessForOrgInputQuery",
1246
+ {"page": NotRequired["int"], "per_page": NotRequired["int"]},
1247
+ total=False,
1248
+ )
1249
+ GithubDependabotRepositoryAccessForOrgOutput: TypeAlias = "OutputdependabotRepositoryAccessDetails"
1250
+ GithubDependabotSetRepositoryAccessDefaultLevelForEnterpriseInput = TypedDict(
1251
+ "GithubDependabotSetRepositoryAccessDefaultLevelForEnterpriseInput",
1252
+ {
1253
+ "path": Required["GithubDependabotSetRepositoryAccessDefaultLevelForEnterpriseInputPath"],
1254
+ "body": Required["GithubDependabotSetRepositoryAccessDefaultLevelForEnterpriseInputBody"],
1255
+ },
1256
+ total=False,
1257
+ )
1258
+ GithubDependabotSetRepositoryAccessDefaultLevelForEnterpriseInputBody = TypedDict(
1259
+ "GithubDependabotSetRepositoryAccessDefaultLevelForEnterpriseInputBody",
1260
+ {"default_level": Required["Literal['public', 'internal']"]},
1261
+ total=False,
1262
+ )
1263
+ GithubDependabotSetRepositoryAccessDefaultLevelForEnterpriseInputPath = TypedDict(
1264
+ "GithubDependabotSetRepositoryAccessDefaultLevelForEnterpriseInputPath",
1265
+ {"enterprise": Required["str"]},
1266
+ total=False,
1267
+ )
1268
+ GithubDependabotSetRepositoryAccessDefaultLevelForEnterpriseOutput: TypeAlias = "None"
1269
+ GithubDependabotSetRepositoryAccessDefaultLevelInput = TypedDict(
1270
+ "GithubDependabotSetRepositoryAccessDefaultLevelInput",
1271
+ {
1272
+ "path": Required["GithubDependabotSetRepositoryAccessDefaultLevelInputPath"],
1273
+ "body": Required["GithubDependabotSetRepositoryAccessDefaultLevelInputBody"],
1274
+ },
1275
+ total=False,
1276
+ )
1277
+ GithubDependabotSetRepositoryAccessDefaultLevelInputBody = TypedDict(
1278
+ "GithubDependabotSetRepositoryAccessDefaultLevelInputBody",
1279
+ {"default_level": Required["Literal['public', 'internal']"]},
1280
+ total=False,
1281
+ )
1282
+ GithubDependabotSetRepositoryAccessDefaultLevelInputPath = TypedDict(
1283
+ "GithubDependabotSetRepositoryAccessDefaultLevelInputPath",
1284
+ {"org": Required["str"]},
1285
+ total=False,
1286
+ )
1287
+ GithubDependabotSetRepositoryAccessDefaultLevelOutput: TypeAlias = "None"
1288
+ GithubDependabotSetSelectedReposForOrgSecretInput = TypedDict(
1289
+ "GithubDependabotSetSelectedReposForOrgSecretInput",
1290
+ {
1291
+ "path": Required["GithubDependabotSetSelectedReposForOrgSecretInputPath"],
1292
+ "body": Required["GithubDependabotSetSelectedReposForOrgSecretInputBody"],
1293
+ },
1294
+ total=False,
1295
+ )
1296
+ GithubDependabotSetSelectedReposForOrgSecretInputBody = TypedDict(
1297
+ "GithubDependabotSetSelectedReposForOrgSecretInputBody",
1298
+ {"selected_repository_ids": Required["list[int]"]},
1299
+ total=False,
1300
+ )
1301
+ GithubDependabotSetSelectedReposForOrgSecretInputPath = TypedDict(
1302
+ "GithubDependabotSetSelectedReposForOrgSecretInputPath",
1303
+ {"org": Required["str"], "secret_name": Required["str"]},
1304
+ total=False,
1305
+ )
1306
+ GithubDependabotSetSelectedReposForOrgSecretOutput: TypeAlias = "None"
1307
+ GithubDependabotUpdateAlertInput = TypedDict(
1308
+ "GithubDependabotUpdateAlertInput",
1309
+ {
1310
+ "path": Required["GithubDependabotUpdateAlertInputPath"],
1311
+ "body": Required[
1312
+ "GithubDependabotUpdateAlertInputBodyVariant0 | GithubDependabotUpdateAlertInputBodyVariant1"
1313
+ ],
1314
+ },
1315
+ total=False,
1316
+ )
1317
+ GithubDependabotUpdateAlertInputBodyVariant0 = TypedDict(
1318
+ "GithubDependabotUpdateAlertInputBodyVariant0",
1319
+ {
1320
+ "agent_assignment": NotRequired[
1321
+ "GithubDependabotUpdateAlertInputBodyVariant0AgentAssignment"
1322
+ ],
1323
+ "assignees": NotRequired["list[str]"],
1324
+ "dismissed_comment": NotRequired["str"],
1325
+ "dismissed_reason": NotRequired[
1326
+ "Literal['fix_started', 'inaccurate', 'no_bandwidth', 'not_used', 'tolerable_risk']"
1327
+ ],
1328
+ "state": Required["Literal['dismissed', 'open']"],
1329
+ },
1330
+ total=False,
1331
+ )
1332
+ GithubDependabotUpdateAlertInputBodyVariant0AgentAssignment = TypedDict(
1333
+ "GithubDependabotUpdateAlertInputBodyVariant0AgentAssignment",
1334
+ {
1335
+ "custom_agent": NotRequired["str"],
1336
+ "custom_instructions": NotRequired["str"],
1337
+ "model": NotRequired["str"],
1338
+ },
1339
+ total=False,
1340
+ )
1341
+ GithubDependabotUpdateAlertInputBodyVariant1 = TypedDict(
1342
+ "GithubDependabotUpdateAlertInputBodyVariant1",
1343
+ {
1344
+ "agent_assignment": NotRequired[
1345
+ "GithubDependabotUpdateAlertInputBodyVariant1AgentAssignment"
1346
+ ],
1347
+ "assignees": Required["list[str]"],
1348
+ "dismissed_comment": NotRequired["str"],
1349
+ "dismissed_reason": NotRequired[
1350
+ "Literal['fix_started', 'inaccurate', 'no_bandwidth', 'not_used', 'tolerable_risk']"
1351
+ ],
1352
+ "state": NotRequired["Literal['dismissed', 'open']"],
1353
+ },
1354
+ total=False,
1355
+ )
1356
+ GithubDependabotUpdateAlertInputBodyVariant1AgentAssignment = TypedDict(
1357
+ "GithubDependabotUpdateAlertInputBodyVariant1AgentAssignment",
1358
+ {
1359
+ "custom_agent": NotRequired["str"],
1360
+ "custom_instructions": NotRequired["str"],
1361
+ "model": NotRequired["str"],
1362
+ },
1363
+ total=False,
1364
+ )
1365
+ GithubDependabotUpdateAlertInputPath = TypedDict(
1366
+ "GithubDependabotUpdateAlertInputPath",
1367
+ {"owner": Required["str"], "repo": Required["str"], "alert_number": Required["AlertNumber"]},
1368
+ total=False,
1369
+ )
1370
+ GithubDependabotUpdateAlertOutput: TypeAlias = "OutputdependabotAlert"
1371
+ GithubDependabotUpdateRepositoryAccessForEnterpriseInput = TypedDict(
1372
+ "GithubDependabotUpdateRepositoryAccessForEnterpriseInput",
1373
+ {
1374
+ "path": Required["GithubDependabotUpdateRepositoryAccessForEnterpriseInputPath"],
1375
+ "body": Required["GithubDependabotUpdateRepositoryAccessForEnterpriseInputBody"],
1376
+ },
1377
+ total=False,
1378
+ )
1379
+ GithubDependabotUpdateRepositoryAccessForEnterpriseInputBody = TypedDict(
1380
+ "GithubDependabotUpdateRepositoryAccessForEnterpriseInputBody",
1381
+ {
1382
+ "repository_ids_to_add": NotRequired["list[int]"],
1383
+ "repository_ids_to_remove": NotRequired["list[int]"],
1384
+ },
1385
+ total=False,
1386
+ )
1387
+ GithubDependabotUpdateRepositoryAccessForEnterpriseInputPath = TypedDict(
1388
+ "GithubDependabotUpdateRepositoryAccessForEnterpriseInputPath",
1389
+ {"enterprise": Required["str"]},
1390
+ total=False,
1391
+ )
1392
+ GithubDependabotUpdateRepositoryAccessForEnterpriseOutput: TypeAlias = "None"
1393
+ GithubDependabotUpdateRepositoryAccessForOrgInput = TypedDict(
1394
+ "GithubDependabotUpdateRepositoryAccessForOrgInput",
1395
+ {
1396
+ "path": Required["GithubDependabotUpdateRepositoryAccessForOrgInputPath"],
1397
+ "body": Required["GithubDependabotUpdateRepositoryAccessForOrgInputBody"],
1398
+ },
1399
+ total=False,
1400
+ )
1401
+ GithubDependabotUpdateRepositoryAccessForOrgInputBody = TypedDict(
1402
+ "GithubDependabotUpdateRepositoryAccessForOrgInputBody",
1403
+ {
1404
+ "repository_ids_to_add": NotRequired["list[int]"],
1405
+ "repository_ids_to_remove": NotRequired["list[int]"],
1406
+ },
1407
+ total=False,
1408
+ )
1409
+ GithubDependabotUpdateRepositoryAccessForOrgInputPath = TypedDict(
1410
+ "GithubDependabotUpdateRepositoryAccessForOrgInputPath", {"org": Required["str"]}, total=False
1411
+ )
1412
+ GithubDependabotUpdateRepositoryAccessForOrgOutput: TypeAlias = "None"
1413
+ GithubDependencyGraphCreateRepositorySnapshotInput = TypedDict(
1414
+ "GithubDependencyGraphCreateRepositorySnapshotInput",
1415
+ {
1416
+ "path": Required["GithubDependencyGraphCreateRepositorySnapshotInputPath"],
1417
+ "body": Required["Snapshot"],
1418
+ },
1419
+ total=False,
1420
+ )
1421
+ GithubDependencyGraphCreateRepositorySnapshotInputPath = TypedDict(
1422
+ "GithubDependencyGraphCreateRepositorySnapshotInputPath",
1423
+ {"owner": Required["str"], "repo": Required["str"]},
1424
+ total=False,
1425
+ )
1426
+ GithubDependencyGraphCreateRepositorySnapshotOutput = TypedDict(
1427
+ "GithubDependencyGraphCreateRepositorySnapshotOutput",
1428
+ {
1429
+ "created_at": Required["str"],
1430
+ "id": Required["int | str"],
1431
+ "message": Required["str"],
1432
+ "result": Required["str"],
1433
+ },
1434
+ total=False,
1435
+ )
1436
+ GithubDependencyGraphDiffRangeInput = TypedDict(
1437
+ "GithubDependencyGraphDiffRangeInput",
1438
+ {
1439
+ "path": Required["GithubDependencyGraphDiffRangeInputPath"],
1440
+ "query": NotRequired["GithubDependencyGraphDiffRangeInputQuery"],
1441
+ },
1442
+ total=False,
1443
+ )
1444
+ GithubDependencyGraphDiffRangeInputPath = TypedDict(
1445
+ "GithubDependencyGraphDiffRangeInputPath",
1446
+ {"owner": Required["str"], "repo": Required["str"], "basehead": Required["str"]},
1447
+ total=False,
1448
+ )
1449
+ GithubDependencyGraphDiffRangeInputQuery = TypedDict(
1450
+ "GithubDependencyGraphDiffRangeInputQuery", {"name": NotRequired["str"]}, total=False
1451
+ )
1452
+ GithubDependencyGraphDiffRangeOutput: TypeAlias = "OutputdependencyGraphDiff"
1453
+ GithubDependencyGraphExportSbomInput = TypedDict(
1454
+ "GithubDependencyGraphExportSbomInput",
1455
+ {"path": Required["GithubDependencyGraphExportSbomInputPath"]},
1456
+ total=False,
1457
+ )
1458
+ GithubDependencyGraphExportSbomInputPath = TypedDict(
1459
+ "GithubDependencyGraphExportSbomInputPath",
1460
+ {"owner": Required["str"], "repo": Required["str"]},
1461
+ total=False,
1462
+ )
1463
+ GithubDependencyGraphExportSbomOutput: TypeAlias = "OutputdependencyGraphSpdxSbom"
1464
+ GithubDependencyGraphFetchSbomReportInput = TypedDict(
1465
+ "GithubDependencyGraphFetchSbomReportInput",
1466
+ {"path": Required["GithubDependencyGraphFetchSbomReportInputPath"]},
1467
+ total=False,
1468
+ )
1469
+ GithubDependencyGraphFetchSbomReportInputPath = TypedDict(
1470
+ "GithubDependencyGraphFetchSbomReportInputPath",
1471
+ {"owner": Required["str"], "repo": Required["str"], "sbom_uuid": Required["str"]},
1472
+ total=False,
1473
+ )
1474
+ GithubDependencyGraphFetchSbomReportOutput: TypeAlias = "Any"
1475
+ GithubDependencyGraphGenerateSbomReportInput = TypedDict(
1476
+ "GithubDependencyGraphGenerateSbomReportInput",
1477
+ {"path": Required["GithubDependencyGraphGenerateSbomReportInputPath"]},
1478
+ total=False,
1479
+ )
1480
+ GithubDependencyGraphGenerateSbomReportInputPath = TypedDict(
1481
+ "GithubDependencyGraphGenerateSbomReportInputPath",
1482
+ {"owner": Required["str"], "repo": Required["str"]},
1483
+ total=False,
1484
+ )
1485
+ GithubDependencyGraphGenerateSbomReportOutput = TypedDict(
1486
+ "GithubDependencyGraphGenerateSbomReportOutput", {"sbom_url": NotRequired["str"]}, total=False
1487
+ )
1488
+ GithubEmojisGetInput = TypedDict("GithubEmojisGetInput", {}, total=False)
1489
+ GithubEmojisGetOutput: TypeAlias = "dict[str, str]"
1490
+ GithubGistsCheckIsStarredInput = TypedDict(
1491
+ "GithubGistsCheckIsStarredInput",
1492
+ {"path": Required["GithubGistsCheckIsStarredInputPath"]},
1493
+ total=False,
1494
+ )
1495
+ GithubGistsCheckIsStarredInputPath = TypedDict(
1496
+ "GithubGistsCheckIsStarredInputPath", {"gist_id": Required["str"]}, total=False
1497
+ )
1498
+ GithubGistsCheckIsStarredOutput: TypeAlias = "None"
1499
+ GithubGistsCreateCommentInput = TypedDict(
1500
+ "GithubGistsCreateCommentInput",
1501
+ {
1502
+ "path": Required["GithubGistsCreateCommentInputPath"],
1503
+ "body": Required["GithubGistsCreateCommentInputBody"],
1504
+ },
1505
+ total=False,
1506
+ )
1507
+ GithubGistsCreateCommentInputBody = TypedDict(
1508
+ "GithubGistsCreateCommentInputBody", {"body": Required["str"]}, total=False
1509
+ )
1510
+ GithubGistsCreateCommentInputPath = TypedDict(
1511
+ "GithubGistsCreateCommentInputPath", {"gist_id": Required["str"]}, total=False
1512
+ )
1513
+ GithubGistsCreateCommentOutput: TypeAlias = "OutputgistComment"
1514
+ GithubGistsCreateInput = TypedDict(
1515
+ "GithubGistsCreateInput", {"body": Required["GithubGistsCreateInputBody"]}, total=False
1516
+ )
1517
+ GithubGistsCreateInputBody = TypedDict(
1518
+ "GithubGistsCreateInputBody",
1519
+ {
1520
+ "description": NotRequired["str"],
1521
+ "files": Required["dict[str, GithubGistsCreateInputBodyFilesValue]"],
1522
+ "public": NotRequired["bool | Literal['true', 'false']"],
1523
+ },
1524
+ total=False,
1525
+ )
1526
+ GithubGistsCreateInputBodyFilesValue = TypedDict(
1527
+ "GithubGistsCreateInputBodyFilesValue", {"content": Required["str"]}, total=False
1528
+ )
1529
+ GithubGistsCreateOutput: TypeAlias = "OutputgistSimple"
1530
+ GithubGistsDeleteCommentInput = TypedDict(
1531
+ "GithubGistsDeleteCommentInput",
1532
+ {"path": Required["GithubGistsDeleteCommentInputPath"]},
1533
+ total=False,
1534
+ )
1535
+ GithubGistsDeleteCommentInputPath = TypedDict(
1536
+ "GithubGistsDeleteCommentInputPath",
1537
+ {"gist_id": Required["str"], "comment_id": Required["int"]},
1538
+ total=False,
1539
+ )
1540
+ GithubGistsDeleteCommentOutput: TypeAlias = "None"
1541
+ GithubGistsDeleteInput = TypedDict(
1542
+ "GithubGistsDeleteInput", {"path": Required["GithubGistsDeleteInputPath"]}, total=False
1543
+ )
1544
+ GithubGistsDeleteInputPath = TypedDict(
1545
+ "GithubGistsDeleteInputPath", {"gist_id": Required["str"]}, total=False
1546
+ )
1547
+ GithubGistsDeleteOutput: TypeAlias = "None"
1548
+ GithubGistsForkInput = TypedDict(
1549
+ "GithubGistsForkInput", {"path": Required["GithubGistsForkInputPath"]}, total=False
1550
+ )
1551
+ GithubGistsForkInputPath = TypedDict(
1552
+ "GithubGistsForkInputPath", {"gist_id": Required["str"]}, total=False
1553
+ )
1554
+ GithubGistsForkOutput: TypeAlias = "OutputbaseGist"
1555
+ GithubGistsGetCommentInput = TypedDict(
1556
+ "GithubGistsGetCommentInput", {"path": Required["GithubGistsGetCommentInputPath"]}, total=False
1557
+ )
1558
+ GithubGistsGetCommentInputPath = TypedDict(
1559
+ "GithubGistsGetCommentInputPath",
1560
+ {"gist_id": Required["str"], "comment_id": Required["int"]},
1561
+ total=False,
1562
+ )
1563
+ GithubGistsGetCommentOutput: TypeAlias = "OutputgistComment"
1564
+ GithubGistsGetInput = TypedDict(
1565
+ "GithubGistsGetInput", {"path": Required["GithubGistsGetInputPath"]}, total=False
1566
+ )
1567
+ GithubGistsGetInputPath = TypedDict(
1568
+ "GithubGistsGetInputPath", {"gist_id": Required["str"]}, total=False
1569
+ )
1570
+ GithubGistsGetOutput: TypeAlias = "OutputgistSimple"
1571
+ GithubGistsGetRevisionInput = TypedDict(
1572
+ "GithubGistsGetRevisionInput",
1573
+ {"path": Required["GithubGistsGetRevisionInputPath"]},
1574
+ total=False,
1575
+ )
1576
+ GithubGistsGetRevisionInputPath = TypedDict(
1577
+ "GithubGistsGetRevisionInputPath",
1578
+ {"gist_id": Required["str"], "sha": Required["str"]},
1579
+ total=False,
1580
+ )
1581
+ GithubGistsGetRevisionOutput: TypeAlias = "OutputgistSimple"
1582
+ GithubGistsListCommentsInput = TypedDict(
1583
+ "GithubGistsListCommentsInput",
1584
+ {
1585
+ "path": Required["GithubGistsListCommentsInputPath"],
1586
+ "query": NotRequired["GithubGistsListCommentsInputQuery"],
1587
+ },
1588
+ total=False,
1589
+ )
1590
+ GithubGistsListCommentsInputPath = TypedDict(
1591
+ "GithubGistsListCommentsInputPath", {"gist_id": Required["str"]}, total=False
1592
+ )
1593
+ GithubGistsListCommentsInputQuery = TypedDict(
1594
+ "GithubGistsListCommentsInputQuery",
1595
+ {"per_page": NotRequired["int"], "page": NotRequired["int"]},
1596
+ total=False,
1597
+ )
1598
+ GithubGistsListCommentsOutput: TypeAlias = "list[OutputgistComment]"
1599
+ GithubGistsListCommitsInput = TypedDict(
1600
+ "GithubGistsListCommitsInput",
1601
+ {
1602
+ "path": Required["GithubGistsListCommitsInputPath"],
1603
+ "query": NotRequired["GithubGistsListCommitsInputQuery"],
1604
+ },
1605
+ total=False,
1606
+ )
1607
+ GithubGistsListCommitsInputPath = TypedDict(
1608
+ "GithubGistsListCommitsInputPath", {"gist_id": Required["str"]}, total=False
1609
+ )
1610
+ GithubGistsListCommitsInputQuery = TypedDict(
1611
+ "GithubGistsListCommitsInputQuery",
1612
+ {"per_page": NotRequired["int"], "page": NotRequired["int"]},
1613
+ total=False,
1614
+ )
1615
+ GithubGistsListCommitsOutput: TypeAlias = "list[OutputgistCommit]"
1616
+ GithubGistsListForUserInput = TypedDict(
1617
+ "GithubGistsListForUserInput",
1618
+ {
1619
+ "path": Required["GithubGistsListForUserInputPath"],
1620
+ "query": NotRequired["GithubGistsListForUserInputQuery"],
1621
+ },
1622
+ total=False,
1623
+ )
1624
+ GithubGistsListForUserInputPath = TypedDict(
1625
+ "GithubGistsListForUserInputPath", {"username": Required["str"]}, total=False
1626
+ )
1627
+ GithubGistsListForUserInputQuery = TypedDict(
1628
+ "GithubGistsListForUserInputQuery",
1629
+ {"since": NotRequired["str"], "per_page": NotRequired["int"], "page": NotRequired["int"]},
1630
+ total=False,
1631
+ )
1632
+ GithubGistsListForUserOutput: TypeAlias = "list[OutputbaseGist]"
1633
+ GithubGistsListForksInput = TypedDict(
1634
+ "GithubGistsListForksInput",
1635
+ {
1636
+ "path": Required["GithubGistsListForksInputPath"],
1637
+ "query": NotRequired["GithubGistsListForksInputQuery"],
1638
+ },
1639
+ total=False,
1640
+ )
1641
+ GithubGistsListForksInputPath = TypedDict(
1642
+ "GithubGistsListForksInputPath", {"gist_id": Required["str"]}, total=False
1643
+ )
1644
+ GithubGistsListForksInputQuery = TypedDict(
1645
+ "GithubGistsListForksInputQuery",
1646
+ {"per_page": NotRequired["int"], "page": NotRequired["int"]},
1647
+ total=False,
1648
+ )
1649
+ GithubGistsListForksOutput: TypeAlias = "list[OutputgistSimple]"
1650
+ GithubGistsListInput = TypedDict(
1651
+ "GithubGistsListInput", {"query": NotRequired["GithubGistsListInputQuery"]}, total=False
1652
+ )
1653
+ GithubGistsListInputQuery = TypedDict(
1654
+ "GithubGistsListInputQuery",
1655
+ {"since": NotRequired["str"], "per_page": NotRequired["int"], "page": NotRequired["int"]},
1656
+ total=False,
1657
+ )
1658
+ GithubGistsListOutput: TypeAlias = "list[OutputbaseGist]"
1659
+ GithubGistsListPublicInput = TypedDict(
1660
+ "GithubGistsListPublicInput",
1661
+ {"query": NotRequired["GithubGistsListPublicInputQuery"]},
1662
+ total=False,
1663
+ )
1664
+ GithubGistsListPublicInputQuery = TypedDict(
1665
+ "GithubGistsListPublicInputQuery",
1666
+ {"since": NotRequired["str"], "per_page": NotRequired["int"], "page": NotRequired["int"]},
1667
+ total=False,
1668
+ )
1669
+ GithubGistsListPublicOutput: TypeAlias = "list[OutputbaseGist]"
1670
+ GithubGistsListStarredInput = TypedDict(
1671
+ "GithubGistsListStarredInput",
1672
+ {"query": NotRequired["GithubGistsListStarredInputQuery"]},
1673
+ total=False,
1674
+ )
1675
+ GithubGistsListStarredInputQuery = TypedDict(
1676
+ "GithubGistsListStarredInputQuery",
1677
+ {"since": NotRequired["str"], "per_page": NotRequired["int"], "page": NotRequired["int"]},
1678
+ total=False,
1679
+ )
1680
+ GithubGistsListStarredOutput: TypeAlias = "list[OutputbaseGist]"
1681
+ GithubGistsStarInput = TypedDict(
1682
+ "GithubGistsStarInput", {"path": Required["GithubGistsStarInputPath"]}, total=False
1683
+ )
1684
+ GithubGistsStarInputPath = TypedDict(
1685
+ "GithubGistsStarInputPath", {"gist_id": Required["str"]}, total=False
1686
+ )
1687
+ GithubGistsStarOutput: TypeAlias = "None"
1688
+ GithubGistsUnstarInput = TypedDict(
1689
+ "GithubGistsUnstarInput", {"path": Required["GithubGistsUnstarInputPath"]}, total=False
1690
+ )
1691
+ GithubGistsUnstarInputPath = TypedDict(
1692
+ "GithubGistsUnstarInputPath", {"gist_id": Required["str"]}, total=False
1693
+ )
1694
+ GithubGistsUnstarOutput: TypeAlias = "None"
1695
+ GithubGistsUpdateCommentInput = TypedDict(
1696
+ "GithubGistsUpdateCommentInput",
1697
+ {
1698
+ "path": Required["GithubGistsUpdateCommentInputPath"],
1699
+ "body": Required["GithubGistsUpdateCommentInputBody"],
1700
+ },
1701
+ total=False,
1702
+ )
1703
+ GithubGistsUpdateCommentInputBody = TypedDict(
1704
+ "GithubGistsUpdateCommentInputBody", {"body": Required["str"]}, total=False
1705
+ )
1706
+ GithubGistsUpdateCommentInputPath = TypedDict(
1707
+ "GithubGistsUpdateCommentInputPath",
1708
+ {"gist_id": Required["str"], "comment_id": Required["int"]},
1709
+ total=False,
1710
+ )
1711
+ GithubGistsUpdateCommentOutput: TypeAlias = "OutputgistComment"
1712
+ GithubGistsUpdateInput = TypedDict(
1713
+ "GithubGistsUpdateInput",
1714
+ {
1715
+ "path": Required["GithubGistsUpdateInputPath"],
1716
+ "body": Required["GithubGistsUpdateInputBodyVariant0 | None"],
1717
+ },
1718
+ total=False,
1719
+ )
1720
+ GithubGistsUpdateInputBodyVariant0 = TypedDict(
1721
+ "GithubGistsUpdateInputBodyVariant0",
1722
+ {
1723
+ "description": NotRequired["str"],
1724
+ "files": NotRequired[
1725
+ "dict[str, GithubGistsUpdateInputBodyVariant0FilesValueVariant0 | None]"
1726
+ ],
1727
+ },
1728
+ total=False,
1729
+ )
1730
+ GithubGistsUpdateInputBodyVariant0FilesValueVariant0 = TypedDict(
1731
+ "GithubGistsUpdateInputBodyVariant0FilesValueVariant0",
1732
+ {"content": NotRequired["str"], "filename": NotRequired["str | None"]},
1733
+ total=False,
1734
+ )
1735
+ GithubGistsUpdateInputPath = TypedDict(
1736
+ "GithubGistsUpdateInputPath", {"gist_id": Required["str"]}, total=False
1737
+ )
1738
+ GithubGistsUpdateOutput: TypeAlias = "OutputgistSimple"
1739
+ GithubGitCreateBlobInput = TypedDict(
1740
+ "GithubGitCreateBlobInput",
1741
+ {
1742
+ "path": Required["GithubGitCreateBlobInputPath"],
1743
+ "body": Required["GithubGitCreateBlobInputBody"],
1744
+ },
1745
+ total=False,
1746
+ )
1747
+ GithubGitCreateBlobInputBody = TypedDict(
1748
+ "GithubGitCreateBlobInputBody",
1749
+ {"content": Required["str"], "encoding": NotRequired["str"]},
1750
+ total=False,
1751
+ )
1752
+ GithubGitCreateBlobInputPath = TypedDict(
1753
+ "GithubGitCreateBlobInputPath", {"owner": Required["str"], "repo": Required["str"]}, total=False
1754
+ )
1755
+ GithubGitCreateBlobOutput: TypeAlias = "OutputshortBlob"
1756
+ GithubGitCreateCommitInput = TypedDict(
1757
+ "GithubGitCreateCommitInput",
1758
+ {
1759
+ "path": Required["GithubGitCreateCommitInputPath"],
1760
+ "body": Required["GithubGitCreateCommitInputBody"],
1761
+ },
1762
+ total=False,
1763
+ )
1764
+ GithubGitCreateCommitInputBody = TypedDict(
1765
+ "GithubGitCreateCommitInputBody",
1766
+ {
1767
+ "author": NotRequired["GithubGitCreateCommitInputBodyAuthor"],
1768
+ "committer": NotRequired["GithubGitCreateCommitInputBodyCommitter"],
1769
+ "message": Required["str"],
1770
+ "parents": NotRequired["list[str]"],
1771
+ "signature": NotRequired["str"],
1772
+ "tree": Required["str"],
1773
+ },
1774
+ total=False,
1775
+ )
1776
+ GithubGitCreateCommitInputBodyAuthor = TypedDict(
1777
+ "GithubGitCreateCommitInputBodyAuthor",
1778
+ {"date": NotRequired["str"], "email": Required["str"], "name": Required["str"]},
1779
+ total=False,
1780
+ )
1781
+ GithubGitCreateCommitInputBodyCommitter = TypedDict(
1782
+ "GithubGitCreateCommitInputBodyCommitter",
1783
+ {"date": NotRequired["str"], "email": NotRequired["str"], "name": NotRequired["str"]},
1784
+ total=False,
1785
+ )
1786
+ GithubGitCreateCommitInputPath = TypedDict(
1787
+ "GithubGitCreateCommitInputPath",
1788
+ {"owner": Required["str"], "repo": Required["str"]},
1789
+ total=False,
1790
+ )
1791
+ GithubGitCreateCommitOutput: TypeAlias = "OutputgitCommit"
1792
+ GithubGitCreateRefInput = TypedDict(
1793
+ "GithubGitCreateRefInput",
1794
+ {
1795
+ "path": Required["GithubGitCreateRefInputPath"],
1796
+ "body": Required["GithubGitCreateRefInputBody"],
1797
+ },
1798
+ total=False,
1799
+ )
1800
+ GithubGitCreateRefInputBody = TypedDict(
1801
+ "GithubGitCreateRefInputBody", {"ref": Required["str"], "sha": Required["str"]}, total=False
1802
+ )
1803
+ GithubGitCreateRefInputPath = TypedDict(
1804
+ "GithubGitCreateRefInputPath", {"owner": Required["str"], "repo": Required["str"]}, total=False
1805
+ )
1806
+ GithubGitCreateRefOutput: TypeAlias = "OutputgitRef"
1807
+ GithubGitCreateTagInput = TypedDict(
1808
+ "GithubGitCreateTagInput",
1809
+ {
1810
+ "path": Required["GithubGitCreateTagInputPath"],
1811
+ "body": Required["GithubGitCreateTagInputBody"],
1812
+ },
1813
+ total=False,
1814
+ )
1815
+ GithubGitCreateTagInputBody = TypedDict(
1816
+ "GithubGitCreateTagInputBody",
1817
+ {
1818
+ "message": Required["str"],
1819
+ "object": Required["str"],
1820
+ "tag": Required["str"],
1821
+ "tagger": NotRequired["GithubGitCreateTagInputBodyTagger"],
1822
+ "type": Required["Literal['commit', 'tree', 'blob']"],
1823
+ },
1824
+ total=False,
1825
+ )
1826
+ GithubGitCreateTagInputBodyTagger = TypedDict(
1827
+ "GithubGitCreateTagInputBodyTagger",
1828
+ {"date": NotRequired["str"], "email": Required["str"], "name": Required["str"]},
1829
+ total=False,
1830
+ )
1831
+ GithubGitCreateTagInputPath = TypedDict(
1832
+ "GithubGitCreateTagInputPath", {"owner": Required["str"], "repo": Required["str"]}, total=False
1833
+ )
1834
+ GithubGitCreateTagOutput: TypeAlias = "OutputgitTag"
1835
+ GithubGitCreateTreeInput = TypedDict(
1836
+ "GithubGitCreateTreeInput",
1837
+ {
1838
+ "path": Required["GithubGitCreateTreeInputPath"],
1839
+ "body": Required["GithubGitCreateTreeInputBody"],
1840
+ },
1841
+ total=False,
1842
+ )
1843
+ GithubGitCreateTreeInputBody = TypedDict(
1844
+ "GithubGitCreateTreeInputBody",
1845
+ {
1846
+ "base_tree": NotRequired["str"],
1847
+ "tree": Required["list[GithubGitCreateTreeInputBodyTreeItem]"],
1848
+ },
1849
+ total=False,
1850
+ )
1851
+ GithubGitCreateTreeInputBodyTreeItem = TypedDict(
1852
+ "GithubGitCreateTreeInputBodyTreeItem",
1853
+ {
1854
+ "content": NotRequired["str"],
1855
+ "mode": NotRequired["Literal['100644', '100755', '040000', '160000', '120000']"],
1856
+ "path": NotRequired["str"],
1857
+ "sha": NotRequired["str | None"],
1858
+ "type": NotRequired["Literal['blob', 'tree', 'commit']"],
1859
+ },
1860
+ total=False,
1861
+ )
1862
+ GithubGitCreateTreeInputPath = TypedDict(
1863
+ "GithubGitCreateTreeInputPath", {"owner": Required["str"], "repo": Required["str"]}, total=False
1864
+ )
1865
+ GithubGitCreateTreeOutput: TypeAlias = "OutputgitTree"
1866
+ GithubGitDeleteRefInput = TypedDict(
1867
+ "GithubGitDeleteRefInput", {"path": Required["GithubGitDeleteRefInputPath"]}, total=False
1868
+ )
1869
+ GithubGitDeleteRefInputPath = TypedDict(
1870
+ "GithubGitDeleteRefInputPath",
1871
+ {"owner": Required["str"], "repo": Required["str"], "ref": Required["str"]},
1872
+ total=False,
1873
+ )
1874
+ GithubGitDeleteRefOutput: TypeAlias = "None"
1875
+ GithubGitGetBlobInput = TypedDict(
1876
+ "GithubGitGetBlobInput", {"path": Required["GithubGitGetBlobInputPath"]}, total=False
1877
+ )
1878
+ GithubGitGetBlobInputPath = TypedDict(
1879
+ "GithubGitGetBlobInputPath",
1880
+ {"owner": Required["str"], "repo": Required["str"], "file_sha": Required["str"]},
1881
+ total=False,
1882
+ )
1883
+ GithubGitGetBlobOutput: TypeAlias = "Outputblob"
1884
+ GithubGitGetCommitInput = TypedDict(
1885
+ "GithubGitGetCommitInput", {"path": Required["GithubGitGetCommitInputPath"]}, total=False
1886
+ )
1887
+ GithubGitGetCommitInputPath = TypedDict(
1888
+ "GithubGitGetCommitInputPath",
1889
+ {"owner": Required["str"], "repo": Required["str"], "commit_sha": Required["str"]},
1890
+ total=False,
1891
+ )
1892
+ GithubGitGetCommitOutput: TypeAlias = "OutputgitCommit"
1893
+ GithubGitGetRefInput = TypedDict(
1894
+ "GithubGitGetRefInput", {"path": Required["GithubGitGetRefInputPath"]}, total=False
1895
+ )
1896
+ GithubGitGetRefInputPath = TypedDict(
1897
+ "GithubGitGetRefInputPath",
1898
+ {"owner": Required["str"], "repo": Required["str"], "ref": Required["str"]},
1899
+ total=False,
1900
+ )
1901
+ GithubGitGetRefOutput: TypeAlias = "OutputgitRef"
1902
+ GithubGitGetTagInput = TypedDict(
1903
+ "GithubGitGetTagInput", {"path": Required["GithubGitGetTagInputPath"]}, total=False
1904
+ )
1905
+ GithubGitGetTagInputPath = TypedDict(
1906
+ "GithubGitGetTagInputPath",
1907
+ {"owner": Required["str"], "repo": Required["str"], "tag_sha": Required["str"]},
1908
+ total=False,
1909
+ )
1910
+ GithubGitGetTagOutput: TypeAlias = "OutputgitTag"
1911
+ GithubGitGetTreeInput = TypedDict(
1912
+ "GithubGitGetTreeInput",
1913
+ {
1914
+ "path": Required["GithubGitGetTreeInputPath"],
1915
+ "query": NotRequired["GithubGitGetTreeInputQuery"],
1916
+ },
1917
+ total=False,
1918
+ )
1919
+ GithubGitGetTreeInputPath = TypedDict(
1920
+ "GithubGitGetTreeInputPath",
1921
+ {"owner": Required["str"], "repo": Required["str"], "tree_sha": Required["str"]},
1922
+ total=False,
1923
+ )
1924
+ GithubGitGetTreeInputQuery = TypedDict(
1925
+ "GithubGitGetTreeInputQuery", {"recursive": NotRequired["str"]}, total=False
1926
+ )
1927
+ GithubGitGetTreeOutput: TypeAlias = "OutputgitTree"
1928
+ GithubGitListMatchingRefsInput = TypedDict(
1929
+ "GithubGitListMatchingRefsInput",
1930
+ {"path": Required["GithubGitListMatchingRefsInputPath"]},
1931
+ total=False,
1932
+ )
1933
+ GithubGitListMatchingRefsInputPath = TypedDict(
1934
+ "GithubGitListMatchingRefsInputPath",
1935
+ {"owner": Required["str"], "repo": Required["str"], "ref": NotRequired["str"]},
1936
+ total=False,
1937
+ )
1938
+ GithubGitListMatchingRefsOutput: TypeAlias = "list[OutputgitRef]"
1939
+ GithubGitUpdateRefInput = TypedDict(
1940
+ "GithubGitUpdateRefInput",
1941
+ {
1942
+ "path": Required["GithubGitUpdateRefInputPath"],
1943
+ "body": Required["GithubGitUpdateRefInputBody"],
1944
+ },
1945
+ total=False,
1946
+ )
1947
+ GithubGitUpdateRefInputBody = TypedDict(
1948
+ "GithubGitUpdateRefInputBody",
1949
+ {"force": NotRequired["bool"], "sha": Required["str"]},
1950
+ total=False,
1951
+ )
1952
+ GithubGitUpdateRefInputPath = TypedDict(
1953
+ "GithubGitUpdateRefInputPath",
1954
+ {"owner": Required["str"], "repo": Required["str"], "ref": Required["str"]},
1955
+ total=False,
1956
+ )
1957
+ GithubGitUpdateRefOutput: TypeAlias = "OutputgitRef"
1958
+ GithubGitignoreGetAllTemplatesInput = TypedDict(
1959
+ "GithubGitignoreGetAllTemplatesInput", {}, total=False
1960
+ )
1961
+ GithubGitignoreGetAllTemplatesOutput: TypeAlias = "list[str]"
1962
+ GithubGitignoreGetTemplateInput = TypedDict(
1963
+ "GithubGitignoreGetTemplateInput",
1964
+ {"path": Required["GithubGitignoreGetTemplateInputPath"]},
1965
+ total=False,
1966
+ )
1967
+ GithubGitignoreGetTemplateInputPath = TypedDict(
1968
+ "GithubGitignoreGetTemplateInputPath", {"name": Required["str"]}, total=False
1969
+ )
1970
+ GithubGitignoreGetTemplateOutput: TypeAlias = "OutputgitignoreTemplate"
1971
+ GithubHostedComputeCreateNetworkConfigurationForOrgInput = TypedDict(
1972
+ "GithubHostedComputeCreateNetworkConfigurationForOrgInput",
1973
+ {
1974
+ "path": Required["GithubHostedComputeCreateNetworkConfigurationForOrgInputPath"],
1975
+ "body": Required["GithubHostedComputeCreateNetworkConfigurationForOrgInputBody"],
1976
+ },
1977
+ total=False,
1978
+ )
1979
+ GithubHostedComputeCreateNetworkConfigurationForOrgInputBody = TypedDict(
1980
+ "GithubHostedComputeCreateNetworkConfigurationForOrgInputBody",
1981
+ {
1982
+ "compute_service": NotRequired["Literal['none', 'actions']"],
1983
+ "failover_network_enabled": NotRequired["bool"],
1984
+ "failover_network_settings_ids": NotRequired["list[str]"],
1985
+ "name": Required["str"],
1986
+ "network_settings_ids": Required["list[str]"],
1987
+ },
1988
+ total=False,
1989
+ )
1990
+ GithubHostedComputeCreateNetworkConfigurationForOrgInputPath = TypedDict(
1991
+ "GithubHostedComputeCreateNetworkConfigurationForOrgInputPath",
1992
+ {"org": Required["str"]},
1993
+ total=False,
1994
+ )
1995
+ GithubHostedComputeCreateNetworkConfigurationForOrgOutput: TypeAlias = "OutputnetworkConfiguration"
1996
+ GithubHostedComputeDeleteNetworkConfigurationFromOrgInput = TypedDict(
1997
+ "GithubHostedComputeDeleteNetworkConfigurationFromOrgInput",
1998
+ {"path": Required["GithubHostedComputeDeleteNetworkConfigurationFromOrgInputPath"]},
1999
+ total=False,
2000
+ )
2001
+ GithubHostedComputeDeleteNetworkConfigurationFromOrgInputPath = TypedDict(
2002
+ "GithubHostedComputeDeleteNetworkConfigurationFromOrgInputPath",
2003
+ {"org": Required["str"], "network_configuration_id": Required["str"]},
2004
+ total=False,
2005
+ )
2006
+ GithubHostedComputeDeleteNetworkConfigurationFromOrgOutput: TypeAlias = "None"
2007
+ GithubHostedComputeGetNetworkConfigurationForOrgInput = TypedDict(
2008
+ "GithubHostedComputeGetNetworkConfigurationForOrgInput",
2009
+ {"path": Required["GithubHostedComputeGetNetworkConfigurationForOrgInputPath"]},
2010
+ total=False,
2011
+ )
2012
+ GithubHostedComputeGetNetworkConfigurationForOrgInputPath = TypedDict(
2013
+ "GithubHostedComputeGetNetworkConfigurationForOrgInputPath",
2014
+ {"org": Required["str"], "network_configuration_id": Required["str"]},
2015
+ total=False,
2016
+ )
2017
+ GithubHostedComputeGetNetworkConfigurationForOrgOutput: TypeAlias = "OutputnetworkConfiguration"
2018
+ GithubHostedComputeGetNetworkSettingsForOrgInput = TypedDict(
2019
+ "GithubHostedComputeGetNetworkSettingsForOrgInput",
2020
+ {"path": Required["GithubHostedComputeGetNetworkSettingsForOrgInputPath"]},
2021
+ total=False,
2022
+ )
2023
+ GithubHostedComputeGetNetworkSettingsForOrgInputPath = TypedDict(
2024
+ "GithubHostedComputeGetNetworkSettingsForOrgInputPath",
2025
+ {"org": Required["str"], "network_settings_id": Required["str"]},
2026
+ total=False,
2027
+ )
2028
+ GithubHostedComputeGetNetworkSettingsForOrgOutput: TypeAlias = "OutputnetworkSettings"
2029
+ GithubHostedComputeListNetworkConfigurationsForOrgInput = TypedDict(
2030
+ "GithubHostedComputeListNetworkConfigurationsForOrgInput",
2031
+ {
2032
+ "path": Required["GithubHostedComputeListNetworkConfigurationsForOrgInputPath"],
2033
+ "query": NotRequired["GithubHostedComputeListNetworkConfigurationsForOrgInputQuery"],
2034
+ },
2035
+ total=False,
2036
+ )
2037
+ GithubHostedComputeListNetworkConfigurationsForOrgInputPath = TypedDict(
2038
+ "GithubHostedComputeListNetworkConfigurationsForOrgInputPath",
2039
+ {"org": Required["str"]},
2040
+ total=False,
2041
+ )