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,2307 @@
1
+ """Generated native provider models. Do not edit."""
2
+
3
+ # ruff: noqa: E501 - native provider model names cannot be shortened without changing public types
4
+ from __future__ import annotations
5
+ from typing import TYPE_CHECKING, Literal, NotRequired, Required, TypedDict, TypeAlias, Union
6
+
7
+ if TYPE_CHECKING:
8
+ from alter_sdk_github._github_models_00 import AlertNumber
9
+ from alter_sdk_github._github_models_00 import CodeScanningAiScanEnablementUpdate
10
+ from alter_sdk_github._github_models_00 import CodeScanningAiScanOrgEnablementUpdate
11
+ from alter_sdk_github._github_models_00 import CodeScanningAlertAssignees
12
+ from alter_sdk_github._github_models_00 import CodeScanningAlertCreateRequest
13
+ from alter_sdk_github._github_models_00 import CodeScanningAlertDismissedComment
14
+ from alter_sdk_github._github_models_00 import CodeScanningAlertDismissedReason
15
+ from alter_sdk_github._github_models_00 import CodeScanningAlertSetState
16
+ from alter_sdk_github._github_models_00 import CodeScanningAlertSeverity
17
+ from alter_sdk_github._github_models_00 import CodeScanningAlertStateQuery
18
+ from alter_sdk_github._github_models_00 import CodeScanningAnalysisCommitSha
19
+ from alter_sdk_github._github_models_00 import CodeScanningAnalysisSarifFile
20
+ from alter_sdk_github._github_models_00 import CodeScanningAnalysisSarifId
21
+ from alter_sdk_github._github_models_00 import CodeScanningAnalysisToolGuid
22
+ from alter_sdk_github._github_models_00 import CodeScanningAnalysisToolName
23
+ from alter_sdk_github._github_models_00 import CodeScanningDefaultSetupOptions
24
+ from alter_sdk_github._github_models_00 import CodeScanningDefaultSetupUpdate
25
+ from alter_sdk_github._github_models_00 import CodeScanningOptions
26
+ from alter_sdk_github._github_models_00 import CodeScanningRef
27
+ from alter_sdk_github._github_models_00 import CodeScanningRefFull
28
+ from alter_sdk_github._github_models_06 import (
29
+ GithubCopilotGetCopilotCloudAgentConfigurationOutputEnabledTools,
30
+ )
31
+ from alter_sdk_github._github_models_13 import OutputcodeOfConduct
32
+ from alter_sdk_github._github_models_13 import OutputcodeScanningAiScanEnablement
33
+ from alter_sdk_github._github_models_13 import OutputcodeScanningAiScanOrgSettings
34
+ from alter_sdk_github._github_models_13 import OutputcodeScanningAlert
35
+ from alter_sdk_github._github_models_13 import OutputcodeScanningAlertInstanceList
36
+ from alter_sdk_github._github_models_13 import OutputcodeScanningAlertItems
37
+ from alter_sdk_github._github_models_13 import OutputcodeScanningAnalysis
38
+ from alter_sdk_github._github_models_13 import OutputcodeScanningAutofix
39
+ from alter_sdk_github._github_models_14 import OutputcodeScanningCodeqlDatabase
40
+ from alter_sdk_github._github_models_14 import OutputcodeScanningDefaultSetup
41
+ from alter_sdk_github._github_models_14 import OutputcodeScanningDefaultSetupUpdateResponse
42
+ from alter_sdk_github._github_models_14 import OutputcodeScanningOrganizationAlertItems
43
+ from alter_sdk_github._github_models_14 import OutputcodeScanningSarifsReceipt
44
+ from alter_sdk_github._github_models_14 import OutputcodeScanningSarifsStatus
45
+ from alter_sdk_github._github_models_14 import OutputcodeScanningVariantAnalysis
46
+ from alter_sdk_github._github_models_14 import OutputcodeScanningVariantAnalysisRepoTask
47
+ from alter_sdk_github._github_models_14 import OutputcodeSecurityConfiguration
48
+ from alter_sdk_github._github_models_14 import OutputcodeSecurityConfigurationForRepository
49
+ from alter_sdk_github._github_models_14 import OutputcodeSecurityConfigurationRepositories
50
+ from alter_sdk_github._github_models_14 import OutputcodeSecurityDefaultConfigurations
51
+ from alter_sdk_github._github_models_14 import Outputcodespace
52
+ from alter_sdk_github._github_models_14 import OutputcodespaceExportDetails
53
+ from alter_sdk_github._github_models_14 import OutputcodespaceMachine
54
+ from alter_sdk_github._github_models_14 import OutputcodespaceWithFullRepository
55
+ from alter_sdk_github._github_models_14 import OutputcodespacesOrgSecret
56
+ from alter_sdk_github._github_models_14 import OutputcodespacesPermissionsCheckForDevcontainer
57
+ from alter_sdk_github._github_models_14 import OutputcodespacesPublicKey
58
+ from alter_sdk_github._github_models_14 import OutputcodespacesSecret
59
+ from alter_sdk_github._github_models_14 import OutputcodespacesUserPublicKey
60
+ from alter_sdk_github._github_models_14 import OutputcopilotOrganizationContentExclusionDetails
61
+ from alter_sdk_github._github_models_14 import OutputcopilotUsageMetrics1DayReport
62
+ from alter_sdk_github._github_models_14 import OutputcopilotUsageMetrics28DayReport
63
+ from alter_sdk_github._github_models_14 import OutputemptyObject
64
+ from alter_sdk_github._github_models_14 import OutputminimalRepository
65
+ from alter_sdk_github._github_models_15 import OutputrepoCodespacesSecret
66
+ from alter_sdk_github._github_models_15 import OutputsimpleUser
67
+
68
+ GithubCodeScanningDeleteCodeqlDatabaseOutput: TypeAlias = "None"
69
+ GithubCodeScanningGetAiScanEnablementForOrgInput = TypedDict(
70
+ "GithubCodeScanningGetAiScanEnablementForOrgInput",
71
+ {"path": Required["GithubCodeScanningGetAiScanEnablementForOrgInputPath"]},
72
+ total=False,
73
+ )
74
+ GithubCodeScanningGetAiScanEnablementForOrgInputPath = TypedDict(
75
+ "GithubCodeScanningGetAiScanEnablementForOrgInputPath", {"org": Required["str"]}, total=False
76
+ )
77
+ GithubCodeScanningGetAiScanEnablementForOrgOutput: TypeAlias = "OutputcodeScanningAiScanOrgSettings"
78
+ GithubCodeScanningGetAiScanEnablementInput = TypedDict(
79
+ "GithubCodeScanningGetAiScanEnablementInput",
80
+ {"path": Required["GithubCodeScanningGetAiScanEnablementInputPath"]},
81
+ total=False,
82
+ )
83
+ GithubCodeScanningGetAiScanEnablementInputPath = TypedDict(
84
+ "GithubCodeScanningGetAiScanEnablementInputPath",
85
+ {"owner": Required["str"], "repo": Required["str"]},
86
+ total=False,
87
+ )
88
+ GithubCodeScanningGetAiScanEnablementOutput: TypeAlias = "OutputcodeScanningAiScanEnablement"
89
+ GithubCodeScanningGetAlertInput = TypedDict(
90
+ "GithubCodeScanningGetAlertInput",
91
+ {"path": Required["GithubCodeScanningGetAlertInputPath"]},
92
+ total=False,
93
+ )
94
+ GithubCodeScanningGetAlertInputPath = TypedDict(
95
+ "GithubCodeScanningGetAlertInputPath",
96
+ {"owner": Required["str"], "repo": Required["str"], "alert_number": Required["AlertNumber"]},
97
+ total=False,
98
+ )
99
+ GithubCodeScanningGetAlertOutput: TypeAlias = "OutputcodeScanningAlert"
100
+ GithubCodeScanningGetAnalysisInput = TypedDict(
101
+ "GithubCodeScanningGetAnalysisInput",
102
+ {"path": Required["GithubCodeScanningGetAnalysisInputPath"]},
103
+ total=False,
104
+ )
105
+ GithubCodeScanningGetAnalysisInputPath = TypedDict(
106
+ "GithubCodeScanningGetAnalysisInputPath",
107
+ {"owner": Required["str"], "repo": Required["str"], "analysis_id": Required["int"]},
108
+ total=False,
109
+ )
110
+ GithubCodeScanningGetAnalysisOutput: TypeAlias = "OutputcodeScanningAnalysis"
111
+ GithubCodeScanningGetAutofixInput = TypedDict(
112
+ "GithubCodeScanningGetAutofixInput",
113
+ {"path": Required["GithubCodeScanningGetAutofixInputPath"]},
114
+ total=False,
115
+ )
116
+ GithubCodeScanningGetAutofixInputPath = TypedDict(
117
+ "GithubCodeScanningGetAutofixInputPath",
118
+ {"owner": Required["str"], "repo": Required["str"], "alert_number": Required["AlertNumber"]},
119
+ total=False,
120
+ )
121
+ GithubCodeScanningGetAutofixOutput: TypeAlias = "OutputcodeScanningAutofix"
122
+ GithubCodeScanningGetCodeqlDatabaseInput = TypedDict(
123
+ "GithubCodeScanningGetCodeqlDatabaseInput",
124
+ {"path": Required["GithubCodeScanningGetCodeqlDatabaseInputPath"]},
125
+ total=False,
126
+ )
127
+ GithubCodeScanningGetCodeqlDatabaseInputPath = TypedDict(
128
+ "GithubCodeScanningGetCodeqlDatabaseInputPath",
129
+ {"owner": Required["str"], "repo": Required["str"], "language": Required["str"]},
130
+ total=False,
131
+ )
132
+ GithubCodeScanningGetCodeqlDatabaseOutput: TypeAlias = "OutputcodeScanningCodeqlDatabase"
133
+ GithubCodeScanningGetDefaultSetupInput = TypedDict(
134
+ "GithubCodeScanningGetDefaultSetupInput",
135
+ {"path": Required["GithubCodeScanningGetDefaultSetupInputPath"]},
136
+ total=False,
137
+ )
138
+ GithubCodeScanningGetDefaultSetupInputPath = TypedDict(
139
+ "GithubCodeScanningGetDefaultSetupInputPath",
140
+ {"owner": Required["str"], "repo": Required["str"]},
141
+ total=False,
142
+ )
143
+ GithubCodeScanningGetDefaultSetupOutput: TypeAlias = "OutputcodeScanningDefaultSetup"
144
+ GithubCodeScanningGetSarifInput = TypedDict(
145
+ "GithubCodeScanningGetSarifInput",
146
+ {"path": Required["GithubCodeScanningGetSarifInputPath"]},
147
+ total=False,
148
+ )
149
+ GithubCodeScanningGetSarifInputPath = TypedDict(
150
+ "GithubCodeScanningGetSarifInputPath",
151
+ {"owner": Required["str"], "repo": Required["str"], "sarif_id": Required["str"]},
152
+ total=False,
153
+ )
154
+ GithubCodeScanningGetSarifOutput: TypeAlias = "OutputcodeScanningSarifsStatus"
155
+ GithubCodeScanningGetVariantAnalysisInput = TypedDict(
156
+ "GithubCodeScanningGetVariantAnalysisInput",
157
+ {"path": Required["GithubCodeScanningGetVariantAnalysisInputPath"]},
158
+ total=False,
159
+ )
160
+ GithubCodeScanningGetVariantAnalysisInputPath = TypedDict(
161
+ "GithubCodeScanningGetVariantAnalysisInputPath",
162
+ {
163
+ "owner": Required["str"],
164
+ "repo": Required["str"],
165
+ "codeql_variant_analysis_id": Required["int"],
166
+ },
167
+ total=False,
168
+ )
169
+ GithubCodeScanningGetVariantAnalysisOutput: TypeAlias = "OutputcodeScanningVariantAnalysis"
170
+ GithubCodeScanningGetVariantAnalysisRepoTaskInput = TypedDict(
171
+ "GithubCodeScanningGetVariantAnalysisRepoTaskInput",
172
+ {"path": Required["GithubCodeScanningGetVariantAnalysisRepoTaskInputPath"]},
173
+ total=False,
174
+ )
175
+ GithubCodeScanningGetVariantAnalysisRepoTaskInputPath = TypedDict(
176
+ "GithubCodeScanningGetVariantAnalysisRepoTaskInputPath",
177
+ {
178
+ "owner": Required["str"],
179
+ "repo": Required["str"],
180
+ "codeql_variant_analysis_id": Required["int"],
181
+ "repo_owner": Required["str"],
182
+ "repo_name": Required["str"],
183
+ },
184
+ total=False,
185
+ )
186
+ GithubCodeScanningGetVariantAnalysisRepoTaskOutput: TypeAlias = (
187
+ "OutputcodeScanningVariantAnalysisRepoTask"
188
+ )
189
+ GithubCodeScanningListAlertInstancesInput = TypedDict(
190
+ "GithubCodeScanningListAlertInstancesInput",
191
+ {
192
+ "path": Required["GithubCodeScanningListAlertInstancesInputPath"],
193
+ "query": NotRequired["GithubCodeScanningListAlertInstancesInputQuery"],
194
+ },
195
+ total=False,
196
+ )
197
+ GithubCodeScanningListAlertInstancesInputPath = TypedDict(
198
+ "GithubCodeScanningListAlertInstancesInputPath",
199
+ {"owner": Required["str"], "repo": Required["str"], "alert_number": Required["AlertNumber"]},
200
+ total=False,
201
+ )
202
+ GithubCodeScanningListAlertInstancesInputQuery = TypedDict(
203
+ "GithubCodeScanningListAlertInstancesInputQuery",
204
+ {
205
+ "page": NotRequired["int"],
206
+ "per_page": NotRequired["int"],
207
+ "ref": NotRequired["CodeScanningRef"],
208
+ "pr": NotRequired["int"],
209
+ },
210
+ total=False,
211
+ )
212
+ GithubCodeScanningListAlertInstancesOutput: TypeAlias = "list[OutputcodeScanningAlertInstanceList]"
213
+ GithubCodeScanningListAlertsForOrgInput = TypedDict(
214
+ "GithubCodeScanningListAlertsForOrgInput",
215
+ {
216
+ "path": Required["GithubCodeScanningListAlertsForOrgInputPath"],
217
+ "query": NotRequired["GithubCodeScanningListAlertsForOrgInputQuery"],
218
+ },
219
+ total=False,
220
+ )
221
+ GithubCodeScanningListAlertsForOrgInputPath = TypedDict(
222
+ "GithubCodeScanningListAlertsForOrgInputPath", {"org": Required["str"]}, total=False
223
+ )
224
+ GithubCodeScanningListAlertsForOrgInputQuery = TypedDict(
225
+ "GithubCodeScanningListAlertsForOrgInputQuery",
226
+ {
227
+ "tool_name": NotRequired["CodeScanningAnalysisToolName"],
228
+ "tool_guid": NotRequired["CodeScanningAnalysisToolGuid"],
229
+ "before": NotRequired["str"],
230
+ "after": NotRequired["str"],
231
+ "page": NotRequired["int"],
232
+ "per_page": NotRequired["int"],
233
+ "direction": NotRequired["Literal['asc', 'desc']"],
234
+ "state": NotRequired["CodeScanningAlertStateQuery"],
235
+ "sort": NotRequired["Literal['created', 'updated']"],
236
+ "severity": NotRequired["CodeScanningAlertSeverity"],
237
+ "assignees": NotRequired["str"],
238
+ },
239
+ total=False,
240
+ )
241
+ GithubCodeScanningListAlertsForOrgOutput: TypeAlias = (
242
+ "list[OutputcodeScanningOrganizationAlertItems]"
243
+ )
244
+ GithubCodeScanningListAlertsForRepoInput = TypedDict(
245
+ "GithubCodeScanningListAlertsForRepoInput",
246
+ {
247
+ "path": Required["GithubCodeScanningListAlertsForRepoInputPath"],
248
+ "query": NotRequired["GithubCodeScanningListAlertsForRepoInputQuery"],
249
+ },
250
+ total=False,
251
+ )
252
+ GithubCodeScanningListAlertsForRepoInputPath = TypedDict(
253
+ "GithubCodeScanningListAlertsForRepoInputPath",
254
+ {"owner": Required["str"], "repo": Required["str"]},
255
+ total=False,
256
+ )
257
+ GithubCodeScanningListAlertsForRepoInputQuery = TypedDict(
258
+ "GithubCodeScanningListAlertsForRepoInputQuery",
259
+ {
260
+ "tool_name": NotRequired["CodeScanningAnalysisToolName"],
261
+ "tool_guid": NotRequired["CodeScanningAnalysisToolGuid"],
262
+ "page": NotRequired["int"],
263
+ "per_page": NotRequired["int"],
264
+ "ref": NotRequired["CodeScanningRef"],
265
+ "pr": NotRequired["int"],
266
+ "direction": NotRequired["Literal['asc', 'desc']"],
267
+ "before": NotRequired["str"],
268
+ "after": NotRequired["str"],
269
+ "sort": NotRequired["Literal['created', 'updated']"],
270
+ "state": NotRequired["CodeScanningAlertStateQuery"],
271
+ "severity": NotRequired["CodeScanningAlertSeverity"],
272
+ "assignees": NotRequired["str"],
273
+ },
274
+ total=False,
275
+ )
276
+ GithubCodeScanningListAlertsForRepoOutput: TypeAlias = "list[OutputcodeScanningAlertItems]"
277
+ GithubCodeScanningListCodeqlDatabasesInput = TypedDict(
278
+ "GithubCodeScanningListCodeqlDatabasesInput",
279
+ {"path": Required["GithubCodeScanningListCodeqlDatabasesInputPath"]},
280
+ total=False,
281
+ )
282
+ GithubCodeScanningListCodeqlDatabasesInputPath = TypedDict(
283
+ "GithubCodeScanningListCodeqlDatabasesInputPath",
284
+ {"owner": Required["str"], "repo": Required["str"]},
285
+ total=False,
286
+ )
287
+ GithubCodeScanningListCodeqlDatabasesOutput: TypeAlias = "list[OutputcodeScanningCodeqlDatabase]"
288
+ GithubCodeScanningListRecentAnalysesInput = TypedDict(
289
+ "GithubCodeScanningListRecentAnalysesInput",
290
+ {
291
+ "path": Required["GithubCodeScanningListRecentAnalysesInputPath"],
292
+ "query": NotRequired["GithubCodeScanningListRecentAnalysesInputQuery"],
293
+ },
294
+ total=False,
295
+ )
296
+ GithubCodeScanningListRecentAnalysesInputPath = TypedDict(
297
+ "GithubCodeScanningListRecentAnalysesInputPath",
298
+ {"owner": Required["str"], "repo": Required["str"]},
299
+ total=False,
300
+ )
301
+ GithubCodeScanningListRecentAnalysesInputQuery = TypedDict(
302
+ "GithubCodeScanningListRecentAnalysesInputQuery",
303
+ {
304
+ "tool_name": NotRequired["CodeScanningAnalysisToolName"],
305
+ "tool_guid": NotRequired["CodeScanningAnalysisToolGuid"],
306
+ "page": NotRequired["int"],
307
+ "per_page": NotRequired["int"],
308
+ "pr": NotRequired["int"],
309
+ "ref": NotRequired["CodeScanningRef"],
310
+ "sarif_id": NotRequired["CodeScanningAnalysisSarifId"],
311
+ "direction": NotRequired["Literal['asc', 'desc']"],
312
+ "sort": NotRequired["Literal['created']"],
313
+ },
314
+ total=False,
315
+ )
316
+ GithubCodeScanningListRecentAnalysesOutput: TypeAlias = "list[OutputcodeScanningAnalysis]"
317
+ GithubCodeScanningUpdateAiScanEnablementForOrgInput = TypedDict(
318
+ "GithubCodeScanningUpdateAiScanEnablementForOrgInput",
319
+ {
320
+ "path": Required["GithubCodeScanningUpdateAiScanEnablementForOrgInputPath"],
321
+ "body": Required["CodeScanningAiScanOrgEnablementUpdate"],
322
+ },
323
+ total=False,
324
+ )
325
+ GithubCodeScanningUpdateAiScanEnablementForOrgInputPath = TypedDict(
326
+ "GithubCodeScanningUpdateAiScanEnablementForOrgInputPath", {"org": Required["str"]}, total=False
327
+ )
328
+ GithubCodeScanningUpdateAiScanEnablementForOrgOutput: TypeAlias = (
329
+ "OutputcodeScanningAiScanOrgSettings"
330
+ )
331
+ GithubCodeScanningUpdateAiScanEnablementInput = TypedDict(
332
+ "GithubCodeScanningUpdateAiScanEnablementInput",
333
+ {
334
+ "path": Required["GithubCodeScanningUpdateAiScanEnablementInputPath"],
335
+ "body": Required["CodeScanningAiScanEnablementUpdate"],
336
+ },
337
+ total=False,
338
+ )
339
+ GithubCodeScanningUpdateAiScanEnablementInputPath = TypedDict(
340
+ "GithubCodeScanningUpdateAiScanEnablementInputPath",
341
+ {"owner": Required["str"], "repo": Required["str"]},
342
+ total=False,
343
+ )
344
+ GithubCodeScanningUpdateAiScanEnablementOutput: TypeAlias = "OutputcodeScanningAiScanEnablement"
345
+ GithubCodeScanningUpdateAlertInput = TypedDict(
346
+ "GithubCodeScanningUpdateAlertInput",
347
+ {
348
+ "path": Required["GithubCodeScanningUpdateAlertInputPath"],
349
+ "body": Required[
350
+ "GithubCodeScanningUpdateAlertInputBodyVariant0 | GithubCodeScanningUpdateAlertInputBodyVariant1"
351
+ ],
352
+ },
353
+ total=False,
354
+ )
355
+ GithubCodeScanningUpdateAlertInputBodyVariant0 = TypedDict(
356
+ "GithubCodeScanningUpdateAlertInputBodyVariant0",
357
+ {
358
+ "assignees": NotRequired["CodeScanningAlertAssignees"],
359
+ "create_request": NotRequired["CodeScanningAlertCreateRequest"],
360
+ "dismissed_comment": NotRequired["CodeScanningAlertDismissedComment"],
361
+ "dismissed_reason": NotRequired["CodeScanningAlertDismissedReason"],
362
+ "state": Required["CodeScanningAlertSetState"],
363
+ },
364
+ total=False,
365
+ )
366
+ GithubCodeScanningUpdateAlertInputBodyVariant1 = TypedDict(
367
+ "GithubCodeScanningUpdateAlertInputBodyVariant1",
368
+ {
369
+ "assignees": Required["CodeScanningAlertAssignees"],
370
+ "create_request": NotRequired["CodeScanningAlertCreateRequest"],
371
+ "dismissed_comment": NotRequired["CodeScanningAlertDismissedComment"],
372
+ "dismissed_reason": NotRequired["CodeScanningAlertDismissedReason"],
373
+ "state": NotRequired["CodeScanningAlertSetState"],
374
+ },
375
+ total=False,
376
+ )
377
+ GithubCodeScanningUpdateAlertInputPath = TypedDict(
378
+ "GithubCodeScanningUpdateAlertInputPath",
379
+ {"owner": Required["str"], "repo": Required["str"], "alert_number": Required["AlertNumber"]},
380
+ total=False,
381
+ )
382
+ GithubCodeScanningUpdateAlertOutput: TypeAlias = "OutputcodeScanningAlert"
383
+ GithubCodeScanningUpdateDefaultSetupInput = TypedDict(
384
+ "GithubCodeScanningUpdateDefaultSetupInput",
385
+ {
386
+ "path": Required["GithubCodeScanningUpdateDefaultSetupInputPath"],
387
+ "body": Required["CodeScanningDefaultSetupUpdate"],
388
+ },
389
+ total=False,
390
+ )
391
+ GithubCodeScanningUpdateDefaultSetupInputPath = TypedDict(
392
+ "GithubCodeScanningUpdateDefaultSetupInputPath",
393
+ {"owner": Required["str"], "repo": Required["str"]},
394
+ total=False,
395
+ )
396
+ GithubCodeScanningUpdateDefaultSetupOutput: TypeAlias = (
397
+ "Union[OutputemptyObject, OutputcodeScanningDefaultSetupUpdateResponse]"
398
+ )
399
+ GithubCodeScanningUploadSarifInput = TypedDict(
400
+ "GithubCodeScanningUploadSarifInput",
401
+ {
402
+ "path": Required["GithubCodeScanningUploadSarifInputPath"],
403
+ "body": Required["GithubCodeScanningUploadSarifInputBody"],
404
+ },
405
+ total=False,
406
+ )
407
+ GithubCodeScanningUploadSarifInputBody = TypedDict(
408
+ "GithubCodeScanningUploadSarifInputBody",
409
+ {
410
+ "checkout_uri": NotRequired["str"],
411
+ "commit_sha": Required["CodeScanningAnalysisCommitSha"],
412
+ "ref": Required["CodeScanningRefFull"],
413
+ "sarif": Required["CodeScanningAnalysisSarifFile"],
414
+ "started_at": NotRequired["str"],
415
+ "tool_name": NotRequired["str"],
416
+ "validate": NotRequired["bool"],
417
+ },
418
+ total=False,
419
+ )
420
+ GithubCodeScanningUploadSarifInputPath = TypedDict(
421
+ "GithubCodeScanningUploadSarifInputPath",
422
+ {"owner": Required["str"], "repo": Required["str"]},
423
+ total=False,
424
+ )
425
+ GithubCodeScanningUploadSarifOutput: TypeAlias = "OutputcodeScanningSarifsReceipt"
426
+ GithubCodeSecurityAttachConfigurationInput = TypedDict(
427
+ "GithubCodeSecurityAttachConfigurationInput",
428
+ {
429
+ "path": Required["GithubCodeSecurityAttachConfigurationInputPath"],
430
+ "body": Required["GithubCodeSecurityAttachConfigurationInputBody"],
431
+ },
432
+ total=False,
433
+ )
434
+ GithubCodeSecurityAttachConfigurationInputBody = TypedDict(
435
+ "GithubCodeSecurityAttachConfigurationInputBody",
436
+ {
437
+ "scope": Required[
438
+ "Literal['all', 'all_without_configurations', 'public', 'private_or_internal', 'selected']"
439
+ ],
440
+ "selected_repository_ids": NotRequired["list[int]"],
441
+ },
442
+ total=False,
443
+ )
444
+ GithubCodeSecurityAttachConfigurationInputPath = TypedDict(
445
+ "GithubCodeSecurityAttachConfigurationInputPath",
446
+ {"org": Required["str"], "configuration_id": Required["int"]},
447
+ total=False,
448
+ )
449
+ GithubCodeSecurityAttachConfigurationOutput: TypeAlias = "dict[str, object]"
450
+ GithubCodeSecurityAttachEnterpriseConfigurationInput = TypedDict(
451
+ "GithubCodeSecurityAttachEnterpriseConfigurationInput",
452
+ {
453
+ "path": Required["GithubCodeSecurityAttachEnterpriseConfigurationInputPath"],
454
+ "body": Required["GithubCodeSecurityAttachEnterpriseConfigurationInputBody"],
455
+ },
456
+ total=False,
457
+ )
458
+ GithubCodeSecurityAttachEnterpriseConfigurationInputBody = TypedDict(
459
+ "GithubCodeSecurityAttachEnterpriseConfigurationInputBody",
460
+ {"scope": Required["Literal['all', 'all_without_configurations']"]},
461
+ total=False,
462
+ )
463
+ GithubCodeSecurityAttachEnterpriseConfigurationInputPath = TypedDict(
464
+ "GithubCodeSecurityAttachEnterpriseConfigurationInputPath",
465
+ {"enterprise": Required["str"], "configuration_id": Required["int"]},
466
+ total=False,
467
+ )
468
+ GithubCodeSecurityAttachEnterpriseConfigurationOutput: TypeAlias = "dict[str, object]"
469
+ GithubCodeSecurityCreateConfigurationForEnterpriseInput = TypedDict(
470
+ "GithubCodeSecurityCreateConfigurationForEnterpriseInput",
471
+ {
472
+ "path": Required["GithubCodeSecurityCreateConfigurationForEnterpriseInputPath"],
473
+ "body": Required["GithubCodeSecurityCreateConfigurationForEnterpriseInputBody"],
474
+ },
475
+ total=False,
476
+ )
477
+ GithubCodeSecurityCreateConfigurationForEnterpriseInputBody = TypedDict(
478
+ "GithubCodeSecurityCreateConfigurationForEnterpriseInputBody",
479
+ {
480
+ "advanced_security": NotRequired[
481
+ "Literal['enabled', 'disabled', 'code_security', 'secret_protection']"
482
+ ],
483
+ "code_scanning_default_setup": NotRequired["Literal['enabled', 'disabled', 'not_set']"],
484
+ "code_scanning_default_setup_options": NotRequired["CodeScanningDefaultSetupOptions"],
485
+ "code_scanning_delegated_alert_dismissal": NotRequired[
486
+ "Literal['enabled', 'disabled', 'not_set']"
487
+ ],
488
+ "code_scanning_options": NotRequired["CodeScanningOptions"],
489
+ "code_security": NotRequired["Literal['enabled', 'disabled', 'not_set']"],
490
+ "dependabot_alerts": NotRequired["Literal['enabled', 'disabled', 'not_set']"],
491
+ "dependabot_reachability": NotRequired["Literal['enabled', 'disabled', 'not_set']"],
492
+ "dependabot_security_updates": NotRequired["Literal['enabled', 'disabled', 'not_set']"],
493
+ "dependency_graph": NotRequired["Literal['enabled', 'disabled', 'not_set']"],
494
+ "dependency_graph_autosubmit_action": NotRequired[
495
+ "Literal['enabled', 'disabled', 'not_set']"
496
+ ],
497
+ "dependency_graph_autosubmit_action_options": NotRequired[
498
+ "GithubCodeSecurityCreateConfigurationForEnterpriseInputBodyDependencyGraphAutosubmitActionOptions"
499
+ ],
500
+ "description": NotRequired["str"],
501
+ "enforcement": NotRequired["Literal['enforced', 'unenforced', 'enterprise_enforced']"],
502
+ "name": Required["str"],
503
+ "private_vulnerability_reporting": NotRequired["Literal['enabled', 'disabled', 'not_set']"],
504
+ "secret_protection": NotRequired["Literal['enabled', 'disabled', 'not_set']"],
505
+ "secret_scanning": NotRequired["Literal['enabled', 'disabled', 'not_set']"],
506
+ "secret_scanning_delegated_alert_dismissal": NotRequired[
507
+ "Literal['enabled', 'disabled', 'not_set']"
508
+ ],
509
+ "secret_scanning_extended_metadata": NotRequired[
510
+ "Literal['enabled', 'disabled', 'not_set']"
511
+ ],
512
+ "secret_scanning_generic_secrets": NotRequired["Literal['enabled', 'disabled', 'not_set']"],
513
+ "secret_scanning_generic_secrets_push_protection": NotRequired[
514
+ "Literal['enabled', 'disabled', 'not_set']"
515
+ ],
516
+ "secret_scanning_non_provider_patterns": NotRequired[
517
+ "Literal['enabled', 'disabled', 'not_set']"
518
+ ],
519
+ "secret_scanning_push_protection": NotRequired["Literal['enabled', 'disabled', 'not_set']"],
520
+ "secret_scanning_validity_checks": NotRequired["Literal['enabled', 'disabled', 'not_set']"],
521
+ },
522
+ total=False,
523
+ )
524
+ GithubCodeSecurityCreateConfigurationForEnterpriseInputBodyDependencyGraphAutosubmitActionOptions = TypedDict(
525
+ "GithubCodeSecurityCreateConfigurationForEnterpriseInputBodyDependencyGraphAutosubmitActionOptions",
526
+ {"labeled_runners": NotRequired["bool"]},
527
+ total=False,
528
+ )
529
+ GithubCodeSecurityCreateConfigurationForEnterpriseInputPath = TypedDict(
530
+ "GithubCodeSecurityCreateConfigurationForEnterpriseInputPath",
531
+ {"enterprise": Required["str"]},
532
+ total=False,
533
+ )
534
+ GithubCodeSecurityCreateConfigurationForEnterpriseOutput: TypeAlias = (
535
+ "OutputcodeSecurityConfiguration"
536
+ )
537
+ GithubCodeSecurityCreateConfigurationInput = TypedDict(
538
+ "GithubCodeSecurityCreateConfigurationInput",
539
+ {
540
+ "path": Required["GithubCodeSecurityCreateConfigurationInputPath"],
541
+ "body": Required["GithubCodeSecurityCreateConfigurationInputBody"],
542
+ },
543
+ total=False,
544
+ )
545
+ GithubCodeSecurityCreateConfigurationInputBody = TypedDict(
546
+ "GithubCodeSecurityCreateConfigurationInputBody",
547
+ {
548
+ "advanced_security": NotRequired[
549
+ "Literal['enabled', 'disabled', 'code_security', 'secret_protection']"
550
+ ],
551
+ "code_scanning_default_setup": NotRequired["Literal['enabled', 'disabled', 'not_set']"],
552
+ "code_scanning_default_setup_options": NotRequired["CodeScanningDefaultSetupOptions"],
553
+ "code_scanning_delegated_alert_dismissal": NotRequired[
554
+ "Literal['enabled', 'disabled', 'not_set']"
555
+ ],
556
+ "code_scanning_options": NotRequired["CodeScanningOptions"],
557
+ "code_security": NotRequired["Literal['enabled', 'disabled', 'not_set']"],
558
+ "dependabot_alerts": NotRequired["Literal['enabled', 'disabled', 'not_set']"],
559
+ "dependabot_delegated_alert_dismissal": NotRequired[
560
+ "Literal['enabled', 'disabled', 'not_set']"
561
+ ],
562
+ "dependabot_reachability": NotRequired["Literal['enabled', 'disabled', 'not_set']"],
563
+ "dependabot_security_updates": NotRequired["Literal['enabled', 'disabled', 'not_set']"],
564
+ "dependency_graph": NotRequired["Literal['enabled', 'disabled', 'not_set']"],
565
+ "dependency_graph_autosubmit_action": NotRequired[
566
+ "Literal['enabled', 'disabled', 'not_set']"
567
+ ],
568
+ "dependency_graph_autosubmit_action_options": NotRequired[
569
+ "GithubCodeSecurityCreateConfigurationInputBodyDependencyGraphAutosubmitActionOptions"
570
+ ],
571
+ "description": NotRequired["str"],
572
+ "enforcement": NotRequired["Literal['enforced', 'unenforced']"],
573
+ "name": Required["str"],
574
+ "private_vulnerability_reporting": NotRequired["Literal['enabled', 'disabled', 'not_set']"],
575
+ "secret_protection": NotRequired["Literal['enabled', 'disabled', 'not_set']"],
576
+ "secret_scanning": NotRequired["Literal['enabled', 'disabled', 'not_set']"],
577
+ "secret_scanning_delegated_alert_dismissal": NotRequired[
578
+ "Literal['enabled', 'disabled', 'not_set']"
579
+ ],
580
+ "secret_scanning_delegated_bypass": NotRequired[
581
+ "Literal['enabled', 'disabled', 'not_set']"
582
+ ],
583
+ "secret_scanning_delegated_bypass_options": NotRequired[
584
+ "GithubCodeSecurityCreateConfigurationInputBodySecretScanningDelegatedBypassOptions"
585
+ ],
586
+ "secret_scanning_extended_metadata": NotRequired[
587
+ "Literal['enabled', 'disabled', 'not_set']"
588
+ ],
589
+ "secret_scanning_generic_secrets": NotRequired["Literal['enabled', 'disabled', 'not_set']"],
590
+ "secret_scanning_generic_secrets_push_protection": NotRequired[
591
+ "Literal['enabled', 'disabled', 'not_set']"
592
+ ],
593
+ "secret_scanning_non_provider_patterns": NotRequired[
594
+ "Literal['enabled', 'disabled', 'not_set']"
595
+ ],
596
+ "secret_scanning_push_protection": NotRequired["Literal['enabled', 'disabled', 'not_set']"],
597
+ "secret_scanning_validity_checks": NotRequired["Literal['enabled', 'disabled', 'not_set']"],
598
+ },
599
+ total=False,
600
+ )
601
+ GithubCodeSecurityCreateConfigurationInputBodyDependencyGraphAutosubmitActionOptions = TypedDict(
602
+ "GithubCodeSecurityCreateConfigurationInputBodyDependencyGraphAutosubmitActionOptions",
603
+ {"labeled_runners": NotRequired["bool"]},
604
+ total=False,
605
+ )
606
+ GithubCodeSecurityCreateConfigurationInputBodySecretScanningDelegatedBypassOptions = TypedDict(
607
+ "GithubCodeSecurityCreateConfigurationInputBodySecretScanningDelegatedBypassOptions",
608
+ {
609
+ "reviewers": NotRequired[
610
+ "list[GithubCodeSecurityCreateConfigurationInputBodySecretScanningDelegatedBypassOptionsReviewersItem]"
611
+ ]
612
+ },
613
+ total=False,
614
+ )
615
+ GithubCodeSecurityCreateConfigurationInputBodySecretScanningDelegatedBypassOptionsReviewersItem = TypedDict(
616
+ "GithubCodeSecurityCreateConfigurationInputBodySecretScanningDelegatedBypassOptionsReviewersItem",
617
+ {
618
+ "mode": NotRequired["Literal['ALWAYS', 'EXEMPT']"],
619
+ "reviewer_id": Required["int"],
620
+ "reviewer_type": Required["Literal['TEAM', 'ROLE']"],
621
+ },
622
+ total=False,
623
+ )
624
+ GithubCodeSecurityCreateConfigurationInputPath = TypedDict(
625
+ "GithubCodeSecurityCreateConfigurationInputPath", {"org": Required["str"]}, total=False
626
+ )
627
+ GithubCodeSecurityCreateConfigurationOutput: TypeAlias = "OutputcodeSecurityConfiguration"
628
+ GithubCodeSecurityDeleteConfigurationForEnterpriseInput = TypedDict(
629
+ "GithubCodeSecurityDeleteConfigurationForEnterpriseInput",
630
+ {"path": Required["GithubCodeSecurityDeleteConfigurationForEnterpriseInputPath"]},
631
+ total=False,
632
+ )
633
+ GithubCodeSecurityDeleteConfigurationForEnterpriseInputPath = TypedDict(
634
+ "GithubCodeSecurityDeleteConfigurationForEnterpriseInputPath",
635
+ {"enterprise": Required["str"], "configuration_id": Required["int"]},
636
+ total=False,
637
+ )
638
+ GithubCodeSecurityDeleteConfigurationForEnterpriseOutput: TypeAlias = "None"
639
+ GithubCodeSecurityDeleteConfigurationInput = TypedDict(
640
+ "GithubCodeSecurityDeleteConfigurationInput",
641
+ {"path": Required["GithubCodeSecurityDeleteConfigurationInputPath"]},
642
+ total=False,
643
+ )
644
+ GithubCodeSecurityDeleteConfigurationInputPath = TypedDict(
645
+ "GithubCodeSecurityDeleteConfigurationInputPath",
646
+ {"org": Required["str"], "configuration_id": Required["int"]},
647
+ total=False,
648
+ )
649
+ GithubCodeSecurityDeleteConfigurationOutput: TypeAlias = "None"
650
+ GithubCodeSecurityDetachConfigurationInput = TypedDict(
651
+ "GithubCodeSecurityDetachConfigurationInput",
652
+ {
653
+ "path": Required["GithubCodeSecurityDetachConfigurationInputPath"],
654
+ "body": Required["GithubCodeSecurityDetachConfigurationInputBody"],
655
+ },
656
+ total=False,
657
+ )
658
+ GithubCodeSecurityDetachConfigurationInputBody = TypedDict(
659
+ "GithubCodeSecurityDetachConfigurationInputBody",
660
+ {"selected_repository_ids": Required["list[int]"]},
661
+ total=False,
662
+ )
663
+ GithubCodeSecurityDetachConfigurationInputPath = TypedDict(
664
+ "GithubCodeSecurityDetachConfigurationInputPath", {"org": Required["str"]}, total=False
665
+ )
666
+ GithubCodeSecurityDetachConfigurationOutput: TypeAlias = "None"
667
+ GithubCodeSecurityGetConfigurationForRepositoryInput = TypedDict(
668
+ "GithubCodeSecurityGetConfigurationForRepositoryInput",
669
+ {"path": Required["GithubCodeSecurityGetConfigurationForRepositoryInputPath"]},
670
+ total=False,
671
+ )
672
+ GithubCodeSecurityGetConfigurationForRepositoryInputPath = TypedDict(
673
+ "GithubCodeSecurityGetConfigurationForRepositoryInputPath",
674
+ {"owner": Required["str"], "repo": Required["str"]},
675
+ total=False,
676
+ )
677
+ GithubCodeSecurityGetConfigurationForRepositoryOutput: TypeAlias = (
678
+ "OutputcodeSecurityConfigurationForRepository | None"
679
+ )
680
+ GithubCodeSecurityGetConfigurationInput = TypedDict(
681
+ "GithubCodeSecurityGetConfigurationInput",
682
+ {"path": Required["GithubCodeSecurityGetConfigurationInputPath"]},
683
+ total=False,
684
+ )
685
+ GithubCodeSecurityGetConfigurationInputPath = TypedDict(
686
+ "GithubCodeSecurityGetConfigurationInputPath",
687
+ {"org": Required["str"], "configuration_id": Required["int"]},
688
+ total=False,
689
+ )
690
+ GithubCodeSecurityGetConfigurationOutput: TypeAlias = "OutputcodeSecurityConfiguration"
691
+ GithubCodeSecurityGetConfigurationsForEnterpriseInput = TypedDict(
692
+ "GithubCodeSecurityGetConfigurationsForEnterpriseInput",
693
+ {
694
+ "path": Required["GithubCodeSecurityGetConfigurationsForEnterpriseInputPath"],
695
+ "query": NotRequired["GithubCodeSecurityGetConfigurationsForEnterpriseInputQuery"],
696
+ },
697
+ total=False,
698
+ )
699
+ GithubCodeSecurityGetConfigurationsForEnterpriseInputPath = TypedDict(
700
+ "GithubCodeSecurityGetConfigurationsForEnterpriseInputPath",
701
+ {"enterprise": Required["str"]},
702
+ total=False,
703
+ )
704
+ GithubCodeSecurityGetConfigurationsForEnterpriseInputQuery = TypedDict(
705
+ "GithubCodeSecurityGetConfigurationsForEnterpriseInputQuery",
706
+ {"per_page": NotRequired["int"], "before": NotRequired["str"], "after": NotRequired["str"]},
707
+ total=False,
708
+ )
709
+ GithubCodeSecurityGetConfigurationsForEnterpriseOutput: TypeAlias = (
710
+ "list[OutputcodeSecurityConfiguration]"
711
+ )
712
+ GithubCodeSecurityGetConfigurationsForOrgInput = TypedDict(
713
+ "GithubCodeSecurityGetConfigurationsForOrgInput",
714
+ {
715
+ "path": Required["GithubCodeSecurityGetConfigurationsForOrgInputPath"],
716
+ "query": NotRequired["GithubCodeSecurityGetConfigurationsForOrgInputQuery"],
717
+ },
718
+ total=False,
719
+ )
720
+ GithubCodeSecurityGetConfigurationsForOrgInputPath = TypedDict(
721
+ "GithubCodeSecurityGetConfigurationsForOrgInputPath", {"org": Required["str"]}, total=False
722
+ )
723
+ GithubCodeSecurityGetConfigurationsForOrgInputQuery = TypedDict(
724
+ "GithubCodeSecurityGetConfigurationsForOrgInputQuery",
725
+ {
726
+ "target_type": NotRequired["Literal['global', 'all']"],
727
+ "per_page": NotRequired["int"],
728
+ "before": NotRequired["str"],
729
+ "after": NotRequired["str"],
730
+ },
731
+ total=False,
732
+ )
733
+ GithubCodeSecurityGetConfigurationsForOrgOutput: TypeAlias = "list[OutputcodeSecurityConfiguration]"
734
+ GithubCodeSecurityGetDefaultConfigurationsForEnterpriseInput = TypedDict(
735
+ "GithubCodeSecurityGetDefaultConfigurationsForEnterpriseInput",
736
+ {"path": Required["GithubCodeSecurityGetDefaultConfigurationsForEnterpriseInputPath"]},
737
+ total=False,
738
+ )
739
+ GithubCodeSecurityGetDefaultConfigurationsForEnterpriseInputPath = TypedDict(
740
+ "GithubCodeSecurityGetDefaultConfigurationsForEnterpriseInputPath",
741
+ {"enterprise": Required["str"]},
742
+ total=False,
743
+ )
744
+ GithubCodeSecurityGetDefaultConfigurationsForEnterpriseOutput: TypeAlias = (
745
+ "OutputcodeSecurityDefaultConfigurations"
746
+ )
747
+ GithubCodeSecurityGetDefaultConfigurationsInput = TypedDict(
748
+ "GithubCodeSecurityGetDefaultConfigurationsInput",
749
+ {"path": Required["GithubCodeSecurityGetDefaultConfigurationsInputPath"]},
750
+ total=False,
751
+ )
752
+ GithubCodeSecurityGetDefaultConfigurationsInputPath = TypedDict(
753
+ "GithubCodeSecurityGetDefaultConfigurationsInputPath", {"org": Required["str"]}, total=False
754
+ )
755
+ GithubCodeSecurityGetDefaultConfigurationsOutput: TypeAlias = (
756
+ "OutputcodeSecurityDefaultConfigurations"
757
+ )
758
+ GithubCodeSecurityGetRepositoriesForConfigurationInput = TypedDict(
759
+ "GithubCodeSecurityGetRepositoriesForConfigurationInput",
760
+ {
761
+ "path": Required["GithubCodeSecurityGetRepositoriesForConfigurationInputPath"],
762
+ "query": NotRequired["GithubCodeSecurityGetRepositoriesForConfigurationInputQuery"],
763
+ },
764
+ total=False,
765
+ )
766
+ GithubCodeSecurityGetRepositoriesForConfigurationInputPath = TypedDict(
767
+ "GithubCodeSecurityGetRepositoriesForConfigurationInputPath",
768
+ {"org": Required["str"], "configuration_id": Required["int"]},
769
+ total=False,
770
+ )
771
+ GithubCodeSecurityGetRepositoriesForConfigurationInputQuery = TypedDict(
772
+ "GithubCodeSecurityGetRepositoriesForConfigurationInputQuery",
773
+ {
774
+ "per_page": NotRequired["int"],
775
+ "before": NotRequired["str"],
776
+ "after": NotRequired["str"],
777
+ "status": NotRequired["str"],
778
+ },
779
+ total=False,
780
+ )
781
+ GithubCodeSecurityGetRepositoriesForConfigurationOutput: TypeAlias = (
782
+ "list[OutputcodeSecurityConfigurationRepositories]"
783
+ )
784
+ GithubCodeSecurityGetRepositoriesForEnterpriseConfigurationInput = TypedDict(
785
+ "GithubCodeSecurityGetRepositoriesForEnterpriseConfigurationInput",
786
+ {
787
+ "path": Required["GithubCodeSecurityGetRepositoriesForEnterpriseConfigurationInputPath"],
788
+ "query": NotRequired[
789
+ "GithubCodeSecurityGetRepositoriesForEnterpriseConfigurationInputQuery"
790
+ ],
791
+ },
792
+ total=False,
793
+ )
794
+ GithubCodeSecurityGetRepositoriesForEnterpriseConfigurationInputPath = TypedDict(
795
+ "GithubCodeSecurityGetRepositoriesForEnterpriseConfigurationInputPath",
796
+ {"enterprise": Required["str"], "configuration_id": Required["int"]},
797
+ total=False,
798
+ )
799
+ GithubCodeSecurityGetRepositoriesForEnterpriseConfigurationInputQuery = TypedDict(
800
+ "GithubCodeSecurityGetRepositoriesForEnterpriseConfigurationInputQuery",
801
+ {
802
+ "per_page": NotRequired["int"],
803
+ "before": NotRequired["str"],
804
+ "after": NotRequired["str"],
805
+ "status": NotRequired["str"],
806
+ },
807
+ total=False,
808
+ )
809
+ GithubCodeSecurityGetRepositoriesForEnterpriseConfigurationOutput: TypeAlias = (
810
+ "list[OutputcodeSecurityConfigurationRepositories]"
811
+ )
812
+ GithubCodeSecurityGetSingleConfigurationForEnterpriseInput = TypedDict(
813
+ "GithubCodeSecurityGetSingleConfigurationForEnterpriseInput",
814
+ {"path": Required["GithubCodeSecurityGetSingleConfigurationForEnterpriseInputPath"]},
815
+ total=False,
816
+ )
817
+ GithubCodeSecurityGetSingleConfigurationForEnterpriseInputPath = TypedDict(
818
+ "GithubCodeSecurityGetSingleConfigurationForEnterpriseInputPath",
819
+ {"enterprise": Required["str"], "configuration_id": Required["int"]},
820
+ total=False,
821
+ )
822
+ GithubCodeSecurityGetSingleConfigurationForEnterpriseOutput: TypeAlias = (
823
+ "OutputcodeSecurityConfiguration"
824
+ )
825
+ GithubCodeSecuritySetConfigurationAsDefaultForEnterpriseInput = TypedDict(
826
+ "GithubCodeSecuritySetConfigurationAsDefaultForEnterpriseInput",
827
+ {
828
+ "path": Required["GithubCodeSecuritySetConfigurationAsDefaultForEnterpriseInputPath"],
829
+ "body": Required["GithubCodeSecuritySetConfigurationAsDefaultForEnterpriseInputBody"],
830
+ },
831
+ total=False,
832
+ )
833
+ GithubCodeSecuritySetConfigurationAsDefaultForEnterpriseInputBody = TypedDict(
834
+ "GithubCodeSecuritySetConfigurationAsDefaultForEnterpriseInputBody",
835
+ {
836
+ "default_for_new_repos": NotRequired[
837
+ "Literal['all', 'none', 'private_and_internal', 'public']"
838
+ ]
839
+ },
840
+ total=False,
841
+ )
842
+ GithubCodeSecuritySetConfigurationAsDefaultForEnterpriseInputPath = TypedDict(
843
+ "GithubCodeSecuritySetConfigurationAsDefaultForEnterpriseInputPath",
844
+ {"enterprise": Required["str"], "configuration_id": Required["int"]},
845
+ total=False,
846
+ )
847
+ GithubCodeSecuritySetConfigurationAsDefaultForEnterpriseOutput = TypedDict(
848
+ "GithubCodeSecuritySetConfigurationAsDefaultForEnterpriseOutput",
849
+ {
850
+ "configuration": NotRequired["OutputcodeSecurityConfiguration"],
851
+ "default_for_new_repos": NotRequired["str"],
852
+ },
853
+ total=False,
854
+ )
855
+ GithubCodeSecuritySetConfigurationAsDefaultInput = TypedDict(
856
+ "GithubCodeSecuritySetConfigurationAsDefaultInput",
857
+ {
858
+ "path": Required["GithubCodeSecuritySetConfigurationAsDefaultInputPath"],
859
+ "body": Required["GithubCodeSecuritySetConfigurationAsDefaultInputBody"],
860
+ },
861
+ total=False,
862
+ )
863
+ GithubCodeSecuritySetConfigurationAsDefaultInputBody = TypedDict(
864
+ "GithubCodeSecuritySetConfigurationAsDefaultInputBody",
865
+ {
866
+ "default_for_new_repos": NotRequired[
867
+ "Literal['all', 'none', 'private_and_internal', 'public']"
868
+ ]
869
+ },
870
+ total=False,
871
+ )
872
+ GithubCodeSecuritySetConfigurationAsDefaultInputPath = TypedDict(
873
+ "GithubCodeSecuritySetConfigurationAsDefaultInputPath",
874
+ {"org": Required["str"], "configuration_id": Required["int"]},
875
+ total=False,
876
+ )
877
+ GithubCodeSecuritySetConfigurationAsDefaultOutput = TypedDict(
878
+ "GithubCodeSecuritySetConfigurationAsDefaultOutput",
879
+ {
880
+ "configuration": NotRequired["OutputcodeSecurityConfiguration"],
881
+ "default_for_new_repos": NotRequired["str"],
882
+ },
883
+ total=False,
884
+ )
885
+ GithubCodeSecurityUpdateConfigurationInput = TypedDict(
886
+ "GithubCodeSecurityUpdateConfigurationInput",
887
+ {
888
+ "path": Required["GithubCodeSecurityUpdateConfigurationInputPath"],
889
+ "body": Required["GithubCodeSecurityUpdateConfigurationInputBody"],
890
+ },
891
+ total=False,
892
+ )
893
+ GithubCodeSecurityUpdateConfigurationInputBody = TypedDict(
894
+ "GithubCodeSecurityUpdateConfigurationInputBody",
895
+ {
896
+ "advanced_security": NotRequired[
897
+ "Literal['enabled', 'disabled', 'code_security', 'secret_protection']"
898
+ ],
899
+ "code_scanning_default_setup": NotRequired["Literal['enabled', 'disabled', 'not_set']"],
900
+ "code_scanning_default_setup_options": NotRequired["CodeScanningDefaultSetupOptions"],
901
+ "code_scanning_delegated_alert_dismissal": NotRequired[
902
+ "Literal['enabled', 'disabled', 'not_set']"
903
+ ],
904
+ "code_scanning_options": NotRequired["CodeScanningOptions"],
905
+ "code_security": NotRequired["Literal['enabled', 'disabled', 'not_set']"],
906
+ "dependabot_alerts": NotRequired["Literal['enabled', 'disabled', 'not_set']"],
907
+ "dependabot_delegated_alert_dismissal": NotRequired[
908
+ "Literal['enabled', 'disabled', 'not_set']"
909
+ ],
910
+ "dependabot_reachability": NotRequired["Literal['enabled', 'disabled', 'not_set']"],
911
+ "dependabot_security_updates": NotRequired["Literal['enabled', 'disabled', 'not_set']"],
912
+ "dependency_graph": NotRequired["Literal['enabled', 'disabled', 'not_set']"],
913
+ "dependency_graph_autosubmit_action": NotRequired[
914
+ "Literal['enabled', 'disabled', 'not_set']"
915
+ ],
916
+ "dependency_graph_autosubmit_action_options": NotRequired[
917
+ "GithubCodeSecurityUpdateConfigurationInputBodyDependencyGraphAutosubmitActionOptions"
918
+ ],
919
+ "description": NotRequired["str"],
920
+ "enforcement": NotRequired["Literal['enforced', 'unenforced']"],
921
+ "name": NotRequired["str"],
922
+ "private_vulnerability_reporting": NotRequired["Literal['enabled', 'disabled', 'not_set']"],
923
+ "secret_protection": NotRequired["Literal['enabled', 'disabled', 'not_set']"],
924
+ "secret_scanning": NotRequired["Literal['enabled', 'disabled', 'not_set']"],
925
+ "secret_scanning_delegated_alert_dismissal": NotRequired[
926
+ "Literal['enabled', 'disabled', 'not_set']"
927
+ ],
928
+ "secret_scanning_delegated_bypass": NotRequired[
929
+ "Literal['enabled', 'disabled', 'not_set']"
930
+ ],
931
+ "secret_scanning_delegated_bypass_options": NotRequired[
932
+ "GithubCodeSecurityUpdateConfigurationInputBodySecretScanningDelegatedBypassOptions"
933
+ ],
934
+ "secret_scanning_extended_metadata": NotRequired[
935
+ "Literal['enabled', 'disabled', 'not_set']"
936
+ ],
937
+ "secret_scanning_generic_secrets": NotRequired["Literal['enabled', 'disabled', 'not_set']"],
938
+ "secret_scanning_generic_secrets_push_protection": NotRequired[
939
+ "Literal['enabled', 'disabled', 'not_set']"
940
+ ],
941
+ "secret_scanning_non_provider_patterns": NotRequired[
942
+ "Literal['enabled', 'disabled', 'not_set']"
943
+ ],
944
+ "secret_scanning_push_protection": NotRequired["Literal['enabled', 'disabled', 'not_set']"],
945
+ "secret_scanning_validity_checks": NotRequired["Literal['enabled', 'disabled', 'not_set']"],
946
+ },
947
+ total=False,
948
+ )
949
+ GithubCodeSecurityUpdateConfigurationInputBodyDependencyGraphAutosubmitActionOptions = TypedDict(
950
+ "GithubCodeSecurityUpdateConfigurationInputBodyDependencyGraphAutosubmitActionOptions",
951
+ {"labeled_runners": NotRequired["bool"]},
952
+ total=False,
953
+ )
954
+ GithubCodeSecurityUpdateConfigurationInputBodySecretScanningDelegatedBypassOptions = TypedDict(
955
+ "GithubCodeSecurityUpdateConfigurationInputBodySecretScanningDelegatedBypassOptions",
956
+ {
957
+ "reviewers": NotRequired[
958
+ "list[GithubCodeSecurityUpdateConfigurationInputBodySecretScanningDelegatedBypassOptionsReviewersItem]"
959
+ ]
960
+ },
961
+ total=False,
962
+ )
963
+ GithubCodeSecurityUpdateConfigurationInputBodySecretScanningDelegatedBypassOptionsReviewersItem = TypedDict(
964
+ "GithubCodeSecurityUpdateConfigurationInputBodySecretScanningDelegatedBypassOptionsReviewersItem",
965
+ {
966
+ "mode": NotRequired["Literal['ALWAYS', 'EXEMPT']"],
967
+ "reviewer_id": Required["int"],
968
+ "reviewer_type": Required["Literal['TEAM', 'ROLE']"],
969
+ },
970
+ total=False,
971
+ )
972
+ GithubCodeSecurityUpdateConfigurationInputPath = TypedDict(
973
+ "GithubCodeSecurityUpdateConfigurationInputPath",
974
+ {"org": Required["str"], "configuration_id": Required["int"]},
975
+ total=False,
976
+ )
977
+ GithubCodeSecurityUpdateConfigurationOutput: TypeAlias = "OutputcodeSecurityConfiguration | None"
978
+ GithubCodeSecurityUpdateEnterpriseConfigurationInput = TypedDict(
979
+ "GithubCodeSecurityUpdateEnterpriseConfigurationInput",
980
+ {
981
+ "path": Required["GithubCodeSecurityUpdateEnterpriseConfigurationInputPath"],
982
+ "body": Required["GithubCodeSecurityUpdateEnterpriseConfigurationInputBody"],
983
+ },
984
+ total=False,
985
+ )
986
+ GithubCodeSecurityUpdateEnterpriseConfigurationInputBody = TypedDict(
987
+ "GithubCodeSecurityUpdateEnterpriseConfigurationInputBody",
988
+ {
989
+ "advanced_security": NotRequired[
990
+ "Literal['enabled', 'disabled', 'code_security', 'secret_protection']"
991
+ ],
992
+ "code_scanning_default_setup": NotRequired["Literal['enabled', 'disabled', 'not_set']"],
993
+ "code_scanning_default_setup_options": NotRequired["CodeScanningDefaultSetupOptions"],
994
+ "code_scanning_delegated_alert_dismissal": NotRequired[
995
+ "Literal['enabled', 'disabled', 'not_set']"
996
+ ],
997
+ "code_scanning_options": NotRequired["CodeScanningOptions"],
998
+ "code_security": NotRequired["Literal['enabled', 'disabled', 'not_set']"],
999
+ "dependabot_alerts": NotRequired["Literal['enabled', 'disabled', 'not_set']"],
1000
+ "dependabot_reachability": NotRequired["Literal['enabled', 'disabled', 'not_set']"],
1001
+ "dependabot_security_updates": NotRequired["Literal['enabled', 'disabled', 'not_set']"],
1002
+ "dependency_graph": NotRequired["Literal['enabled', 'disabled', 'not_set']"],
1003
+ "dependency_graph_autosubmit_action": NotRequired[
1004
+ "Literal['enabled', 'disabled', 'not_set']"
1005
+ ],
1006
+ "dependency_graph_autosubmit_action_options": NotRequired[
1007
+ "GithubCodeSecurityUpdateEnterpriseConfigurationInputBodyDependencyGraphAutosubmitActionOptions"
1008
+ ],
1009
+ "description": NotRequired["str"],
1010
+ "enforcement": NotRequired["Literal['enforced', 'unenforced', 'enterprise_enforced']"],
1011
+ "name": NotRequired["str"],
1012
+ "private_vulnerability_reporting": NotRequired["Literal['enabled', 'disabled', 'not_set']"],
1013
+ "secret_protection": NotRequired["Literal['enabled', 'disabled', 'not_set']"],
1014
+ "secret_scanning": NotRequired["Literal['enabled', 'disabled', 'not_set']"],
1015
+ "secret_scanning_delegated_alert_dismissal": NotRequired[
1016
+ "Literal['enabled', 'disabled', 'not_set']"
1017
+ ],
1018
+ "secret_scanning_extended_metadata": NotRequired[
1019
+ "Literal['enabled', 'disabled', 'not_set']"
1020
+ ],
1021
+ "secret_scanning_generic_secrets": NotRequired["Literal['enabled', 'disabled', 'not_set']"],
1022
+ "secret_scanning_generic_secrets_push_protection": NotRequired[
1023
+ "Literal['enabled', 'disabled', 'not_set']"
1024
+ ],
1025
+ "secret_scanning_non_provider_patterns": NotRequired[
1026
+ "Literal['enabled', 'disabled', 'not_set']"
1027
+ ],
1028
+ "secret_scanning_push_protection": NotRequired["Literal['enabled', 'disabled', 'not_set']"],
1029
+ "secret_scanning_validity_checks": NotRequired["Literal['enabled', 'disabled', 'not_set']"],
1030
+ },
1031
+ total=False,
1032
+ )
1033
+ GithubCodeSecurityUpdateEnterpriseConfigurationInputBodyDependencyGraphAutosubmitActionOptions = TypedDict(
1034
+ "GithubCodeSecurityUpdateEnterpriseConfigurationInputBodyDependencyGraphAutosubmitActionOptions",
1035
+ {"labeled_runners": NotRequired["bool"]},
1036
+ total=False,
1037
+ )
1038
+ GithubCodeSecurityUpdateEnterpriseConfigurationInputPath = TypedDict(
1039
+ "GithubCodeSecurityUpdateEnterpriseConfigurationInputPath",
1040
+ {"enterprise": Required["str"], "configuration_id": Required["int"]},
1041
+ total=False,
1042
+ )
1043
+ GithubCodeSecurityUpdateEnterpriseConfigurationOutput: TypeAlias = "OutputcodeSecurityConfiguration"
1044
+ GithubCodesOfConductGetAllCodesOfConductInput = TypedDict(
1045
+ "GithubCodesOfConductGetAllCodesOfConductInput", {}, total=False
1046
+ )
1047
+ GithubCodesOfConductGetAllCodesOfConductOutput: TypeAlias = "list[OutputcodeOfConduct]"
1048
+ GithubCodesOfConductGetConductCodeInput = TypedDict(
1049
+ "GithubCodesOfConductGetConductCodeInput",
1050
+ {"path": Required["GithubCodesOfConductGetConductCodeInputPath"]},
1051
+ total=False,
1052
+ )
1053
+ GithubCodesOfConductGetConductCodeInputPath = TypedDict(
1054
+ "GithubCodesOfConductGetConductCodeInputPath", {"key": Required["str"]}, total=False
1055
+ )
1056
+ GithubCodesOfConductGetConductCodeOutput: TypeAlias = "OutputcodeOfConduct"
1057
+ GithubCodespacesAddRepositoryForSecretForAuthenticatedUserInput = TypedDict(
1058
+ "GithubCodespacesAddRepositoryForSecretForAuthenticatedUserInput",
1059
+ {"path": Required["GithubCodespacesAddRepositoryForSecretForAuthenticatedUserInputPath"]},
1060
+ total=False,
1061
+ )
1062
+ GithubCodespacesAddRepositoryForSecretForAuthenticatedUserInputPath = TypedDict(
1063
+ "GithubCodespacesAddRepositoryForSecretForAuthenticatedUserInputPath",
1064
+ {"secret_name": Required["str"], "repository_id": Required["int"]},
1065
+ total=False,
1066
+ )
1067
+ GithubCodespacesAddRepositoryForSecretForAuthenticatedUserOutput: TypeAlias = "None"
1068
+ GithubCodespacesAddSelectedRepoToOrgSecretInput = TypedDict(
1069
+ "GithubCodespacesAddSelectedRepoToOrgSecretInput",
1070
+ {"path": Required["GithubCodespacesAddSelectedRepoToOrgSecretInputPath"]},
1071
+ total=False,
1072
+ )
1073
+ GithubCodespacesAddSelectedRepoToOrgSecretInputPath = TypedDict(
1074
+ "GithubCodespacesAddSelectedRepoToOrgSecretInputPath",
1075
+ {"org": Required["str"], "secret_name": Required["str"], "repository_id": Required["int"]},
1076
+ total=False,
1077
+ )
1078
+ GithubCodespacesAddSelectedRepoToOrgSecretOutput: TypeAlias = "None"
1079
+ GithubCodespacesCheckPermissionsForDevcontainerInput = TypedDict(
1080
+ "GithubCodespacesCheckPermissionsForDevcontainerInput",
1081
+ {
1082
+ "path": Required["GithubCodespacesCheckPermissionsForDevcontainerInputPath"],
1083
+ "query": Required["GithubCodespacesCheckPermissionsForDevcontainerInputQuery"],
1084
+ },
1085
+ total=False,
1086
+ )
1087
+ GithubCodespacesCheckPermissionsForDevcontainerInputPath = TypedDict(
1088
+ "GithubCodespacesCheckPermissionsForDevcontainerInputPath",
1089
+ {"owner": Required["str"], "repo": Required["str"]},
1090
+ total=False,
1091
+ )
1092
+ GithubCodespacesCheckPermissionsForDevcontainerInputQuery = TypedDict(
1093
+ "GithubCodespacesCheckPermissionsForDevcontainerInputQuery",
1094
+ {"ref": Required["str"], "devcontainer_path": Required["str"]},
1095
+ total=False,
1096
+ )
1097
+ GithubCodespacesCheckPermissionsForDevcontainerOutput: TypeAlias = (
1098
+ "OutputcodespacesPermissionsCheckForDevcontainer"
1099
+ )
1100
+ GithubCodespacesCodespaceMachinesForAuthenticatedUserInput = TypedDict(
1101
+ "GithubCodespacesCodespaceMachinesForAuthenticatedUserInput",
1102
+ {"path": Required["GithubCodespacesCodespaceMachinesForAuthenticatedUserInputPath"]},
1103
+ total=False,
1104
+ )
1105
+ GithubCodespacesCodespaceMachinesForAuthenticatedUserInputPath = TypedDict(
1106
+ "GithubCodespacesCodespaceMachinesForAuthenticatedUserInputPath",
1107
+ {"codespace_name": Required["str"]},
1108
+ total=False,
1109
+ )
1110
+ GithubCodespacesCodespaceMachinesForAuthenticatedUserOutput = TypedDict(
1111
+ "GithubCodespacesCodespaceMachinesForAuthenticatedUserOutput",
1112
+ {"machines": Required["list[OutputcodespaceMachine]"], "total_count": Required["int | str"]},
1113
+ total=False,
1114
+ )
1115
+ GithubCodespacesCreateForAuthenticatedUserInput = TypedDict(
1116
+ "GithubCodespacesCreateForAuthenticatedUserInput",
1117
+ {
1118
+ "body": Required[
1119
+ "GithubCodespacesCreateForAuthenticatedUserInputBodyVariant0 | GithubCodespacesCreateForAuthenticatedUserInputBodyVariant1"
1120
+ ]
1121
+ },
1122
+ total=False,
1123
+ )
1124
+ GithubCodespacesCreateForAuthenticatedUserInputBodyVariant0 = TypedDict(
1125
+ "GithubCodespacesCreateForAuthenticatedUserInputBodyVariant0",
1126
+ {
1127
+ "client_ip": NotRequired["str"],
1128
+ "devcontainer_path": NotRequired["str"],
1129
+ "display_name": NotRequired["str"],
1130
+ "geo": NotRequired["Literal['EuropeWest', 'SoutheastAsia', 'UsEast', 'UsWest']"],
1131
+ "idle_timeout_minutes": NotRequired["int"],
1132
+ "location": NotRequired["str"],
1133
+ "machine": NotRequired["str"],
1134
+ "multi_repo_permissions_opt_out": NotRequired["bool"],
1135
+ "ref": NotRequired["str"],
1136
+ "repository_id": Required["int"],
1137
+ "retention_period_minutes": NotRequired["int"],
1138
+ "working_directory": NotRequired["str"],
1139
+ },
1140
+ total=False,
1141
+ )
1142
+ GithubCodespacesCreateForAuthenticatedUserInputBodyVariant1 = TypedDict(
1143
+ "GithubCodespacesCreateForAuthenticatedUserInputBodyVariant1",
1144
+ {
1145
+ "devcontainer_path": NotRequired["str"],
1146
+ "geo": NotRequired["Literal['EuropeWest', 'SoutheastAsia', 'UsEast', 'UsWest']"],
1147
+ "idle_timeout_minutes": NotRequired["int"],
1148
+ "location": NotRequired["str"],
1149
+ "machine": NotRequired["str"],
1150
+ "pull_request": Required[
1151
+ "GithubCodespacesCreateForAuthenticatedUserInputBodyVariant1PullRequest"
1152
+ ],
1153
+ "working_directory": NotRequired["str"],
1154
+ },
1155
+ total=False,
1156
+ )
1157
+ GithubCodespacesCreateForAuthenticatedUserInputBodyVariant1PullRequest = TypedDict(
1158
+ "GithubCodespacesCreateForAuthenticatedUserInputBodyVariant1PullRequest",
1159
+ {"pull_request_number": Required["int"], "repository_id": Required["int"]},
1160
+ total=False,
1161
+ )
1162
+ GithubCodespacesCreateForAuthenticatedUserOutput: TypeAlias = "Outputcodespace"
1163
+ GithubCodespacesCreateOrUpdateOrgSecretInput = TypedDict(
1164
+ "GithubCodespacesCreateOrUpdateOrgSecretInput",
1165
+ {
1166
+ "path": Required["GithubCodespacesCreateOrUpdateOrgSecretInputPath"],
1167
+ "body": Required["GithubCodespacesCreateOrUpdateOrgSecretInputBody"],
1168
+ },
1169
+ total=False,
1170
+ )
1171
+ GithubCodespacesCreateOrUpdateOrgSecretInputBody = TypedDict(
1172
+ "GithubCodespacesCreateOrUpdateOrgSecretInputBody",
1173
+ {
1174
+ "encrypted_value": NotRequired["str"],
1175
+ "key_id": NotRequired["str"],
1176
+ "selected_repository_ids": NotRequired["list[int]"],
1177
+ "visibility": Required["Literal['all', 'private', 'selected']"],
1178
+ },
1179
+ total=False,
1180
+ )
1181
+ GithubCodespacesCreateOrUpdateOrgSecretInputPath = TypedDict(
1182
+ "GithubCodespacesCreateOrUpdateOrgSecretInputPath",
1183
+ {"org": Required["str"], "secret_name": Required["str"]},
1184
+ total=False,
1185
+ )
1186
+ GithubCodespacesCreateOrUpdateOrgSecretOutput: TypeAlias = "Union[OutputemptyObject, None]"
1187
+ GithubCodespacesCreateOrUpdateRepoSecretInput = TypedDict(
1188
+ "GithubCodespacesCreateOrUpdateRepoSecretInput",
1189
+ {
1190
+ "path": Required["GithubCodespacesCreateOrUpdateRepoSecretInputPath"],
1191
+ "body": Required["GithubCodespacesCreateOrUpdateRepoSecretInputBody"],
1192
+ },
1193
+ total=False,
1194
+ )
1195
+ GithubCodespacesCreateOrUpdateRepoSecretInputBody = TypedDict(
1196
+ "GithubCodespacesCreateOrUpdateRepoSecretInputBody",
1197
+ {"encrypted_value": NotRequired["str"], "key_id": NotRequired["str"]},
1198
+ total=False,
1199
+ )
1200
+ GithubCodespacesCreateOrUpdateRepoSecretInputPath = TypedDict(
1201
+ "GithubCodespacesCreateOrUpdateRepoSecretInputPath",
1202
+ {"owner": Required["str"], "repo": Required["str"], "secret_name": Required["str"]},
1203
+ total=False,
1204
+ )
1205
+ GithubCodespacesCreateOrUpdateRepoSecretOutput: TypeAlias = "Union[OutputemptyObject, None]"
1206
+ GithubCodespacesCreateOrUpdateSecretForAuthenticatedUserInput = TypedDict(
1207
+ "GithubCodespacesCreateOrUpdateSecretForAuthenticatedUserInput",
1208
+ {
1209
+ "path": Required["GithubCodespacesCreateOrUpdateSecretForAuthenticatedUserInputPath"],
1210
+ "body": Required["GithubCodespacesCreateOrUpdateSecretForAuthenticatedUserInputBody"],
1211
+ },
1212
+ total=False,
1213
+ )
1214
+ GithubCodespacesCreateOrUpdateSecretForAuthenticatedUserInputBody = TypedDict(
1215
+ "GithubCodespacesCreateOrUpdateSecretForAuthenticatedUserInputBody",
1216
+ {
1217
+ "encrypted_value": NotRequired["str"],
1218
+ "key_id": Required["str"],
1219
+ "selected_repository_ids": NotRequired["list[int | str]"],
1220
+ },
1221
+ total=False,
1222
+ )
1223
+ GithubCodespacesCreateOrUpdateSecretForAuthenticatedUserInputPath = TypedDict(
1224
+ "GithubCodespacesCreateOrUpdateSecretForAuthenticatedUserInputPath",
1225
+ {"secret_name": Required["str"]},
1226
+ total=False,
1227
+ )
1228
+ GithubCodespacesCreateOrUpdateSecretForAuthenticatedUserOutput: TypeAlias = (
1229
+ "Union[OutputemptyObject, None]"
1230
+ )
1231
+ GithubCodespacesCreateWithPrForAuthenticatedUserInput = TypedDict(
1232
+ "GithubCodespacesCreateWithPrForAuthenticatedUserInput",
1233
+ {
1234
+ "path": Required["GithubCodespacesCreateWithPrForAuthenticatedUserInputPath"],
1235
+ "body": Required[
1236
+ "GithubCodespacesCreateWithPrForAuthenticatedUserInputBodyVariant0 | None"
1237
+ ],
1238
+ },
1239
+ total=False,
1240
+ )
1241
+ GithubCodespacesCreateWithPrForAuthenticatedUserInputBodyVariant0 = TypedDict(
1242
+ "GithubCodespacesCreateWithPrForAuthenticatedUserInputBodyVariant0",
1243
+ {
1244
+ "client_ip": NotRequired["str"],
1245
+ "devcontainer_path": NotRequired["str"],
1246
+ "display_name": NotRequired["str"],
1247
+ "geo": NotRequired["Literal['EuropeWest', 'SoutheastAsia', 'UsEast', 'UsWest']"],
1248
+ "idle_timeout_minutes": NotRequired["int"],
1249
+ "location": NotRequired["str"],
1250
+ "machine": NotRequired["str"],
1251
+ "multi_repo_permissions_opt_out": NotRequired["bool"],
1252
+ "retention_period_minutes": NotRequired["int"],
1253
+ "working_directory": NotRequired["str"],
1254
+ },
1255
+ total=False,
1256
+ )
1257
+ GithubCodespacesCreateWithPrForAuthenticatedUserInputPath = TypedDict(
1258
+ "GithubCodespacesCreateWithPrForAuthenticatedUserInputPath",
1259
+ {"owner": Required["str"], "repo": Required["str"], "pull_number": Required["int"]},
1260
+ total=False,
1261
+ )
1262
+ GithubCodespacesCreateWithPrForAuthenticatedUserOutput: TypeAlias = "Outputcodespace"
1263
+ GithubCodespacesCreateWithRepoForAuthenticatedUserInput = TypedDict(
1264
+ "GithubCodespacesCreateWithRepoForAuthenticatedUserInput",
1265
+ {
1266
+ "path": Required["GithubCodespacesCreateWithRepoForAuthenticatedUserInputPath"],
1267
+ "body": Required[
1268
+ "GithubCodespacesCreateWithRepoForAuthenticatedUserInputBodyVariant0 | None"
1269
+ ],
1270
+ },
1271
+ total=False,
1272
+ )
1273
+ GithubCodespacesCreateWithRepoForAuthenticatedUserInputBodyVariant0 = TypedDict(
1274
+ "GithubCodespacesCreateWithRepoForAuthenticatedUserInputBodyVariant0",
1275
+ {
1276
+ "client_ip": NotRequired["str"],
1277
+ "devcontainer_path": NotRequired["str"],
1278
+ "display_name": NotRequired["str"],
1279
+ "geo": NotRequired["Literal['EuropeWest', 'SoutheastAsia', 'UsEast', 'UsWest']"],
1280
+ "idle_timeout_minutes": NotRequired["int"],
1281
+ "location": NotRequired["str"],
1282
+ "machine": NotRequired["str"],
1283
+ "multi_repo_permissions_opt_out": NotRequired["bool"],
1284
+ "ref": NotRequired["str"],
1285
+ "retention_period_minutes": NotRequired["int"],
1286
+ "working_directory": NotRequired["str"],
1287
+ },
1288
+ total=False,
1289
+ )
1290
+ GithubCodespacesCreateWithRepoForAuthenticatedUserInputPath = TypedDict(
1291
+ "GithubCodespacesCreateWithRepoForAuthenticatedUserInputPath",
1292
+ {"owner": Required["str"], "repo": Required["str"]},
1293
+ total=False,
1294
+ )
1295
+ GithubCodespacesCreateWithRepoForAuthenticatedUserOutput: TypeAlias = "Outputcodespace"
1296
+ GithubCodespacesDeleteCodespacesAccessUsersInput = TypedDict(
1297
+ "GithubCodespacesDeleteCodespacesAccessUsersInput",
1298
+ {
1299
+ "path": Required["GithubCodespacesDeleteCodespacesAccessUsersInputPath"],
1300
+ "body": Required["GithubCodespacesDeleteCodespacesAccessUsersInputBody"],
1301
+ },
1302
+ total=False,
1303
+ )
1304
+ GithubCodespacesDeleteCodespacesAccessUsersInputBody = TypedDict(
1305
+ "GithubCodespacesDeleteCodespacesAccessUsersInputBody",
1306
+ {"selected_usernames": Required["list[str]"]},
1307
+ total=False,
1308
+ )
1309
+ GithubCodespacesDeleteCodespacesAccessUsersInputPath = TypedDict(
1310
+ "GithubCodespacesDeleteCodespacesAccessUsersInputPath", {"org": Required["str"]}, total=False
1311
+ )
1312
+ GithubCodespacesDeleteCodespacesAccessUsersOutput: TypeAlias = "None"
1313
+ GithubCodespacesDeleteForAuthenticatedUserInput = TypedDict(
1314
+ "GithubCodespacesDeleteForAuthenticatedUserInput",
1315
+ {"path": Required["GithubCodespacesDeleteForAuthenticatedUserInputPath"]},
1316
+ total=False,
1317
+ )
1318
+ GithubCodespacesDeleteForAuthenticatedUserInputPath = TypedDict(
1319
+ "GithubCodespacesDeleteForAuthenticatedUserInputPath",
1320
+ {"codespace_name": Required["str"]},
1321
+ total=False,
1322
+ )
1323
+ GithubCodespacesDeleteForAuthenticatedUserOutput: TypeAlias = "dict[str, object]"
1324
+ GithubCodespacesDeleteFromOrganizationInput = TypedDict(
1325
+ "GithubCodespacesDeleteFromOrganizationInput",
1326
+ {"path": Required["GithubCodespacesDeleteFromOrganizationInputPath"]},
1327
+ total=False,
1328
+ )
1329
+ GithubCodespacesDeleteFromOrganizationInputPath = TypedDict(
1330
+ "GithubCodespacesDeleteFromOrganizationInputPath",
1331
+ {"org": Required["str"], "username": Required["str"], "codespace_name": Required["str"]},
1332
+ total=False,
1333
+ )
1334
+ GithubCodespacesDeleteFromOrganizationOutput: TypeAlias = "dict[str, object]"
1335
+ GithubCodespacesDeleteOrgSecretInput = TypedDict(
1336
+ "GithubCodespacesDeleteOrgSecretInput",
1337
+ {"path": Required["GithubCodespacesDeleteOrgSecretInputPath"]},
1338
+ total=False,
1339
+ )
1340
+ GithubCodespacesDeleteOrgSecretInputPath = TypedDict(
1341
+ "GithubCodespacesDeleteOrgSecretInputPath",
1342
+ {"org": Required["str"], "secret_name": Required["str"]},
1343
+ total=False,
1344
+ )
1345
+ GithubCodespacesDeleteOrgSecretOutput: TypeAlias = "None"
1346
+ GithubCodespacesDeleteRepoSecretInput = TypedDict(
1347
+ "GithubCodespacesDeleteRepoSecretInput",
1348
+ {"path": Required["GithubCodespacesDeleteRepoSecretInputPath"]},
1349
+ total=False,
1350
+ )
1351
+ GithubCodespacesDeleteRepoSecretInputPath = TypedDict(
1352
+ "GithubCodespacesDeleteRepoSecretInputPath",
1353
+ {"owner": Required["str"], "repo": Required["str"], "secret_name": Required["str"]},
1354
+ total=False,
1355
+ )
1356
+ GithubCodespacesDeleteRepoSecretOutput: TypeAlias = "None"
1357
+ GithubCodespacesDeleteSecretForAuthenticatedUserInput = TypedDict(
1358
+ "GithubCodespacesDeleteSecretForAuthenticatedUserInput",
1359
+ {"path": Required["GithubCodespacesDeleteSecretForAuthenticatedUserInputPath"]},
1360
+ total=False,
1361
+ )
1362
+ GithubCodespacesDeleteSecretForAuthenticatedUserInputPath = TypedDict(
1363
+ "GithubCodespacesDeleteSecretForAuthenticatedUserInputPath",
1364
+ {"secret_name": Required["str"]},
1365
+ total=False,
1366
+ )
1367
+ GithubCodespacesDeleteSecretForAuthenticatedUserOutput: TypeAlias = "None"
1368
+ GithubCodespacesExportForAuthenticatedUserInput = TypedDict(
1369
+ "GithubCodespacesExportForAuthenticatedUserInput",
1370
+ {"path": Required["GithubCodespacesExportForAuthenticatedUserInputPath"]},
1371
+ total=False,
1372
+ )
1373
+ GithubCodespacesExportForAuthenticatedUserInputPath = TypedDict(
1374
+ "GithubCodespacesExportForAuthenticatedUserInputPath",
1375
+ {"codespace_name": Required["str"]},
1376
+ total=False,
1377
+ )
1378
+ GithubCodespacesExportForAuthenticatedUserOutput: TypeAlias = "OutputcodespaceExportDetails"
1379
+ GithubCodespacesGetCodespacesForUserInOrgInput = TypedDict(
1380
+ "GithubCodespacesGetCodespacesForUserInOrgInput",
1381
+ {
1382
+ "path": Required["GithubCodespacesGetCodespacesForUserInOrgInputPath"],
1383
+ "query": NotRequired["GithubCodespacesGetCodespacesForUserInOrgInputQuery"],
1384
+ },
1385
+ total=False,
1386
+ )
1387
+ GithubCodespacesGetCodespacesForUserInOrgInputPath = TypedDict(
1388
+ "GithubCodespacesGetCodespacesForUserInOrgInputPath",
1389
+ {"org": Required["str"], "username": Required["str"]},
1390
+ total=False,
1391
+ )
1392
+ GithubCodespacesGetCodespacesForUserInOrgInputQuery = TypedDict(
1393
+ "GithubCodespacesGetCodespacesForUserInOrgInputQuery",
1394
+ {"per_page": NotRequired["int"], "page": NotRequired["int"]},
1395
+ total=False,
1396
+ )
1397
+ GithubCodespacesGetCodespacesForUserInOrgOutput = TypedDict(
1398
+ "GithubCodespacesGetCodespacesForUserInOrgOutput",
1399
+ {"codespaces": Required["list[Outputcodespace]"], "total_count": Required["int | str"]},
1400
+ total=False,
1401
+ )
1402
+ GithubCodespacesGetExportDetailsForAuthenticatedUserInput = TypedDict(
1403
+ "GithubCodespacesGetExportDetailsForAuthenticatedUserInput",
1404
+ {"path": Required["GithubCodespacesGetExportDetailsForAuthenticatedUserInputPath"]},
1405
+ total=False,
1406
+ )
1407
+ GithubCodespacesGetExportDetailsForAuthenticatedUserInputPath = TypedDict(
1408
+ "GithubCodespacesGetExportDetailsForAuthenticatedUserInputPath",
1409
+ {"codespace_name": Required["str"], "export_id": Required["str"]},
1410
+ total=False,
1411
+ )
1412
+ GithubCodespacesGetExportDetailsForAuthenticatedUserOutput: TypeAlias = (
1413
+ "OutputcodespaceExportDetails"
1414
+ )
1415
+ GithubCodespacesGetForAuthenticatedUserInput = TypedDict(
1416
+ "GithubCodespacesGetForAuthenticatedUserInput",
1417
+ {"path": Required["GithubCodespacesGetForAuthenticatedUserInputPath"]},
1418
+ total=False,
1419
+ )
1420
+ GithubCodespacesGetForAuthenticatedUserInputPath = TypedDict(
1421
+ "GithubCodespacesGetForAuthenticatedUserInputPath",
1422
+ {"codespace_name": Required["str"]},
1423
+ total=False,
1424
+ )
1425
+ GithubCodespacesGetForAuthenticatedUserOutput: TypeAlias = "Outputcodespace"
1426
+ GithubCodespacesGetOrgPublicKeyInput = TypedDict(
1427
+ "GithubCodespacesGetOrgPublicKeyInput",
1428
+ {"path": Required["GithubCodespacesGetOrgPublicKeyInputPath"]},
1429
+ total=False,
1430
+ )
1431
+ GithubCodespacesGetOrgPublicKeyInputPath = TypedDict(
1432
+ "GithubCodespacesGetOrgPublicKeyInputPath", {"org": Required["str"]}, total=False
1433
+ )
1434
+ GithubCodespacesGetOrgPublicKeyOutput: TypeAlias = "OutputcodespacesPublicKey"
1435
+ GithubCodespacesGetOrgSecretInput = TypedDict(
1436
+ "GithubCodespacesGetOrgSecretInput",
1437
+ {"path": Required["GithubCodespacesGetOrgSecretInputPath"]},
1438
+ total=False,
1439
+ )
1440
+ GithubCodespacesGetOrgSecretInputPath = TypedDict(
1441
+ "GithubCodespacesGetOrgSecretInputPath",
1442
+ {"org": Required["str"], "secret_name": Required["str"]},
1443
+ total=False,
1444
+ )
1445
+ GithubCodespacesGetOrgSecretOutput: TypeAlias = "OutputcodespacesOrgSecret"
1446
+ GithubCodespacesGetPublicKeyForAuthenticatedUserInput = TypedDict(
1447
+ "GithubCodespacesGetPublicKeyForAuthenticatedUserInput", {}, total=False
1448
+ )
1449
+ GithubCodespacesGetPublicKeyForAuthenticatedUserOutput: TypeAlias = "OutputcodespacesUserPublicKey"
1450
+ GithubCodespacesGetRepoPublicKeyInput = TypedDict(
1451
+ "GithubCodespacesGetRepoPublicKeyInput",
1452
+ {"path": Required["GithubCodespacesGetRepoPublicKeyInputPath"]},
1453
+ total=False,
1454
+ )
1455
+ GithubCodespacesGetRepoPublicKeyInputPath = TypedDict(
1456
+ "GithubCodespacesGetRepoPublicKeyInputPath",
1457
+ {"owner": Required["str"], "repo": Required["str"]},
1458
+ total=False,
1459
+ )
1460
+ GithubCodespacesGetRepoPublicKeyOutput: TypeAlias = "OutputcodespacesPublicKey"
1461
+ GithubCodespacesGetRepoSecretInput = TypedDict(
1462
+ "GithubCodespacesGetRepoSecretInput",
1463
+ {"path": Required["GithubCodespacesGetRepoSecretInputPath"]},
1464
+ total=False,
1465
+ )
1466
+ GithubCodespacesGetRepoSecretInputPath = TypedDict(
1467
+ "GithubCodespacesGetRepoSecretInputPath",
1468
+ {"owner": Required["str"], "repo": Required["str"], "secret_name": Required["str"]},
1469
+ total=False,
1470
+ )
1471
+ GithubCodespacesGetRepoSecretOutput: TypeAlias = "OutputrepoCodespacesSecret"
1472
+ GithubCodespacesGetSecretForAuthenticatedUserInput = TypedDict(
1473
+ "GithubCodespacesGetSecretForAuthenticatedUserInput",
1474
+ {"path": Required["GithubCodespacesGetSecretForAuthenticatedUserInputPath"]},
1475
+ total=False,
1476
+ )
1477
+ GithubCodespacesGetSecretForAuthenticatedUserInputPath = TypedDict(
1478
+ "GithubCodespacesGetSecretForAuthenticatedUserInputPath",
1479
+ {"secret_name": Required["str"]},
1480
+ total=False,
1481
+ )
1482
+ GithubCodespacesGetSecretForAuthenticatedUserOutput: TypeAlias = "OutputcodespacesSecret"
1483
+ GithubCodespacesListDevcontainersInRepositoryForAuthenticatedUserInput = TypedDict(
1484
+ "GithubCodespacesListDevcontainersInRepositoryForAuthenticatedUserInput",
1485
+ {
1486
+ "path": Required[
1487
+ "GithubCodespacesListDevcontainersInRepositoryForAuthenticatedUserInputPath"
1488
+ ],
1489
+ "query": NotRequired[
1490
+ "GithubCodespacesListDevcontainersInRepositoryForAuthenticatedUserInputQuery"
1491
+ ],
1492
+ },
1493
+ total=False,
1494
+ )
1495
+ GithubCodespacesListDevcontainersInRepositoryForAuthenticatedUserInputPath = TypedDict(
1496
+ "GithubCodespacesListDevcontainersInRepositoryForAuthenticatedUserInputPath",
1497
+ {"owner": Required["str"], "repo": Required["str"]},
1498
+ total=False,
1499
+ )
1500
+ GithubCodespacesListDevcontainersInRepositoryForAuthenticatedUserInputQuery = TypedDict(
1501
+ "GithubCodespacesListDevcontainersInRepositoryForAuthenticatedUserInputQuery",
1502
+ {"per_page": NotRequired["int"], "page": NotRequired["int"]},
1503
+ total=False,
1504
+ )
1505
+ GithubCodespacesListDevcontainersInRepositoryForAuthenticatedUserOutput = TypedDict(
1506
+ "GithubCodespacesListDevcontainersInRepositoryForAuthenticatedUserOutput",
1507
+ {
1508
+ "devcontainers": Required[
1509
+ "list[GithubCodespacesListDevcontainersInRepositoryForAuthenticatedUserOutputDevcontainersItem]"
1510
+ ],
1511
+ "total_count": Required["int | str"],
1512
+ },
1513
+ total=False,
1514
+ )
1515
+ GithubCodespacesListDevcontainersInRepositoryForAuthenticatedUserOutputDevcontainersItem = (
1516
+ TypedDict(
1517
+ "GithubCodespacesListDevcontainersInRepositoryForAuthenticatedUserOutputDevcontainersItem",
1518
+ {"display_name": NotRequired["str"], "name": NotRequired["str"], "path": Required["str"]},
1519
+ total=False,
1520
+ )
1521
+ )
1522
+ GithubCodespacesListForAuthenticatedUserInput = TypedDict(
1523
+ "GithubCodespacesListForAuthenticatedUserInput",
1524
+ {"query": NotRequired["GithubCodespacesListForAuthenticatedUserInputQuery"]},
1525
+ total=False,
1526
+ )
1527
+ GithubCodespacesListForAuthenticatedUserInputQuery = TypedDict(
1528
+ "GithubCodespacesListForAuthenticatedUserInputQuery",
1529
+ {
1530
+ "per_page": NotRequired["int"],
1531
+ "page": NotRequired["int"],
1532
+ "repository_id": NotRequired["int"],
1533
+ },
1534
+ total=False,
1535
+ )
1536
+ GithubCodespacesListForAuthenticatedUserOutput = TypedDict(
1537
+ "GithubCodespacesListForAuthenticatedUserOutput",
1538
+ {"codespaces": Required["list[Outputcodespace]"], "total_count": Required["int | str"]},
1539
+ total=False,
1540
+ )
1541
+ GithubCodespacesListInOrganizationInput = TypedDict(
1542
+ "GithubCodespacesListInOrganizationInput",
1543
+ {
1544
+ "path": Required["GithubCodespacesListInOrganizationInputPath"],
1545
+ "query": NotRequired["GithubCodespacesListInOrganizationInputQuery"],
1546
+ },
1547
+ total=False,
1548
+ )
1549
+ GithubCodespacesListInOrganizationInputPath = TypedDict(
1550
+ "GithubCodespacesListInOrganizationInputPath", {"org": Required["str"]}, total=False
1551
+ )
1552
+ GithubCodespacesListInOrganizationInputQuery = TypedDict(
1553
+ "GithubCodespacesListInOrganizationInputQuery",
1554
+ {"per_page": NotRequired["int"], "page": NotRequired["int"]},
1555
+ total=False,
1556
+ )
1557
+ GithubCodespacesListInOrganizationOutput = TypedDict(
1558
+ "GithubCodespacesListInOrganizationOutput",
1559
+ {"codespaces": Required["list[Outputcodespace]"], "total_count": Required["int | str"]},
1560
+ total=False,
1561
+ )
1562
+ GithubCodespacesListInRepositoryForAuthenticatedUserInput = TypedDict(
1563
+ "GithubCodespacesListInRepositoryForAuthenticatedUserInput",
1564
+ {
1565
+ "path": Required["GithubCodespacesListInRepositoryForAuthenticatedUserInputPath"],
1566
+ "query": NotRequired["GithubCodespacesListInRepositoryForAuthenticatedUserInputQuery"],
1567
+ },
1568
+ total=False,
1569
+ )
1570
+ GithubCodespacesListInRepositoryForAuthenticatedUserInputPath = TypedDict(
1571
+ "GithubCodespacesListInRepositoryForAuthenticatedUserInputPath",
1572
+ {"owner": Required["str"], "repo": Required["str"]},
1573
+ total=False,
1574
+ )
1575
+ GithubCodespacesListInRepositoryForAuthenticatedUserInputQuery = TypedDict(
1576
+ "GithubCodespacesListInRepositoryForAuthenticatedUserInputQuery",
1577
+ {"per_page": NotRequired["int"], "page": NotRequired["int"]},
1578
+ total=False,
1579
+ )
1580
+ GithubCodespacesListInRepositoryForAuthenticatedUserOutput = TypedDict(
1581
+ "GithubCodespacesListInRepositoryForAuthenticatedUserOutput",
1582
+ {"codespaces": Required["list[Outputcodespace]"], "total_count": Required["int | str"]},
1583
+ total=False,
1584
+ )
1585
+ GithubCodespacesListOrgSecretsInput = TypedDict(
1586
+ "GithubCodespacesListOrgSecretsInput",
1587
+ {
1588
+ "path": Required["GithubCodespacesListOrgSecretsInputPath"],
1589
+ "query": NotRequired["GithubCodespacesListOrgSecretsInputQuery"],
1590
+ },
1591
+ total=False,
1592
+ )
1593
+ GithubCodespacesListOrgSecretsInputPath = TypedDict(
1594
+ "GithubCodespacesListOrgSecretsInputPath", {"org": Required["str"]}, total=False
1595
+ )
1596
+ GithubCodespacesListOrgSecretsInputQuery = TypedDict(
1597
+ "GithubCodespacesListOrgSecretsInputQuery",
1598
+ {"per_page": NotRequired["int"], "page": NotRequired["int"]},
1599
+ total=False,
1600
+ )
1601
+ GithubCodespacesListOrgSecretsOutput = TypedDict(
1602
+ "GithubCodespacesListOrgSecretsOutput",
1603
+ {"secrets": Required["list[OutputcodespacesOrgSecret]"], "total_count": Required["int | str"]},
1604
+ total=False,
1605
+ )
1606
+ GithubCodespacesListRepoSecretsInput = TypedDict(
1607
+ "GithubCodespacesListRepoSecretsInput",
1608
+ {
1609
+ "path": Required["GithubCodespacesListRepoSecretsInputPath"],
1610
+ "query": NotRequired["GithubCodespacesListRepoSecretsInputQuery"],
1611
+ },
1612
+ total=False,
1613
+ )
1614
+ GithubCodespacesListRepoSecretsInputPath = TypedDict(
1615
+ "GithubCodespacesListRepoSecretsInputPath",
1616
+ {"owner": Required["str"], "repo": Required["str"]},
1617
+ total=False,
1618
+ )
1619
+ GithubCodespacesListRepoSecretsInputQuery = TypedDict(
1620
+ "GithubCodespacesListRepoSecretsInputQuery",
1621
+ {"per_page": NotRequired["int"], "page": NotRequired["int"]},
1622
+ total=False,
1623
+ )
1624
+ GithubCodespacesListRepoSecretsOutput = TypedDict(
1625
+ "GithubCodespacesListRepoSecretsOutput",
1626
+ {"secrets": Required["list[OutputrepoCodespacesSecret]"], "total_count": Required["int | str"]},
1627
+ total=False,
1628
+ )
1629
+ GithubCodespacesListRepositoriesForSecretForAuthenticatedUserInput = TypedDict(
1630
+ "GithubCodespacesListRepositoriesForSecretForAuthenticatedUserInput",
1631
+ {"path": Required["GithubCodespacesListRepositoriesForSecretForAuthenticatedUserInputPath"]},
1632
+ total=False,
1633
+ )
1634
+ GithubCodespacesListRepositoriesForSecretForAuthenticatedUserInputPath = TypedDict(
1635
+ "GithubCodespacesListRepositoriesForSecretForAuthenticatedUserInputPath",
1636
+ {"secret_name": Required["str"]},
1637
+ total=False,
1638
+ )
1639
+ GithubCodespacesListRepositoriesForSecretForAuthenticatedUserOutput = TypedDict(
1640
+ "GithubCodespacesListRepositoriesForSecretForAuthenticatedUserOutput",
1641
+ {
1642
+ "repositories": Required["list[OutputminimalRepository]"],
1643
+ "total_count": Required["int | str"],
1644
+ },
1645
+ total=False,
1646
+ )
1647
+ GithubCodespacesListSecretsForAuthenticatedUserInput = TypedDict(
1648
+ "GithubCodespacesListSecretsForAuthenticatedUserInput",
1649
+ {"query": NotRequired["GithubCodespacesListSecretsForAuthenticatedUserInputQuery"]},
1650
+ total=False,
1651
+ )
1652
+ GithubCodespacesListSecretsForAuthenticatedUserInputQuery = TypedDict(
1653
+ "GithubCodespacesListSecretsForAuthenticatedUserInputQuery",
1654
+ {"per_page": NotRequired["int"], "page": NotRequired["int"]},
1655
+ total=False,
1656
+ )
1657
+ GithubCodespacesListSecretsForAuthenticatedUserOutput = TypedDict(
1658
+ "GithubCodespacesListSecretsForAuthenticatedUserOutput",
1659
+ {"secrets": Required["list[OutputcodespacesSecret]"], "total_count": Required["int | str"]},
1660
+ total=False,
1661
+ )
1662
+ GithubCodespacesListSelectedReposForOrgSecretInput = TypedDict(
1663
+ "GithubCodespacesListSelectedReposForOrgSecretInput",
1664
+ {
1665
+ "path": Required["GithubCodespacesListSelectedReposForOrgSecretInputPath"],
1666
+ "query": NotRequired["GithubCodespacesListSelectedReposForOrgSecretInputQuery"],
1667
+ },
1668
+ total=False,
1669
+ )
1670
+ GithubCodespacesListSelectedReposForOrgSecretInputPath = TypedDict(
1671
+ "GithubCodespacesListSelectedReposForOrgSecretInputPath",
1672
+ {"org": Required["str"], "secret_name": Required["str"]},
1673
+ total=False,
1674
+ )
1675
+ GithubCodespacesListSelectedReposForOrgSecretInputQuery = TypedDict(
1676
+ "GithubCodespacesListSelectedReposForOrgSecretInputQuery",
1677
+ {"page": NotRequired["int"], "per_page": NotRequired["int"]},
1678
+ total=False,
1679
+ )
1680
+ GithubCodespacesListSelectedReposForOrgSecretOutput = TypedDict(
1681
+ "GithubCodespacesListSelectedReposForOrgSecretOutput",
1682
+ {
1683
+ "repositories": Required["list[OutputminimalRepository]"],
1684
+ "total_count": Required["int | str"],
1685
+ },
1686
+ total=False,
1687
+ )
1688
+ GithubCodespacesPreFlightWithRepoForAuthenticatedUserInput = TypedDict(
1689
+ "GithubCodespacesPreFlightWithRepoForAuthenticatedUserInput",
1690
+ {
1691
+ "path": Required["GithubCodespacesPreFlightWithRepoForAuthenticatedUserInputPath"],
1692
+ "query": NotRequired["GithubCodespacesPreFlightWithRepoForAuthenticatedUserInputQuery"],
1693
+ },
1694
+ total=False,
1695
+ )
1696
+ GithubCodespacesPreFlightWithRepoForAuthenticatedUserInputPath = TypedDict(
1697
+ "GithubCodespacesPreFlightWithRepoForAuthenticatedUserInputPath",
1698
+ {"owner": Required["str"], "repo": Required["str"]},
1699
+ total=False,
1700
+ )
1701
+ GithubCodespacesPreFlightWithRepoForAuthenticatedUserInputQuery = TypedDict(
1702
+ "GithubCodespacesPreFlightWithRepoForAuthenticatedUserInputQuery",
1703
+ {"ref": NotRequired["str"], "client_ip": NotRequired["str"]},
1704
+ total=False,
1705
+ )
1706
+ GithubCodespacesPreFlightWithRepoForAuthenticatedUserOutput = TypedDict(
1707
+ "GithubCodespacesPreFlightWithRepoForAuthenticatedUserOutput",
1708
+ {
1709
+ "billable_owner": NotRequired["OutputsimpleUser"],
1710
+ "defaults": NotRequired[
1711
+ "GithubCodespacesPreFlightWithRepoForAuthenticatedUserOutputDefaults"
1712
+ ],
1713
+ },
1714
+ total=False,
1715
+ )
1716
+ GithubCodespacesPreFlightWithRepoForAuthenticatedUserOutputDefaults = TypedDict(
1717
+ "GithubCodespacesPreFlightWithRepoForAuthenticatedUserOutputDefaults",
1718
+ {"devcontainer_path": Required["str | None"], "location": Required["str"]},
1719
+ total=False,
1720
+ )
1721
+ GithubCodespacesPublishForAuthenticatedUserInput = TypedDict(
1722
+ "GithubCodespacesPublishForAuthenticatedUserInput",
1723
+ {
1724
+ "path": Required["GithubCodespacesPublishForAuthenticatedUserInputPath"],
1725
+ "body": Required["GithubCodespacesPublishForAuthenticatedUserInputBody"],
1726
+ },
1727
+ total=False,
1728
+ )
1729
+ GithubCodespacesPublishForAuthenticatedUserInputBody = TypedDict(
1730
+ "GithubCodespacesPublishForAuthenticatedUserInputBody",
1731
+ {"name": NotRequired["str"], "private": NotRequired["bool"]},
1732
+ total=False,
1733
+ )
1734
+ GithubCodespacesPublishForAuthenticatedUserInputPath = TypedDict(
1735
+ "GithubCodespacesPublishForAuthenticatedUserInputPath",
1736
+ {"codespace_name": Required["str"]},
1737
+ total=False,
1738
+ )
1739
+ GithubCodespacesPublishForAuthenticatedUserOutput: TypeAlias = "OutputcodespaceWithFullRepository"
1740
+ GithubCodespacesRemoveRepositoryForSecretForAuthenticatedUserInput = TypedDict(
1741
+ "GithubCodespacesRemoveRepositoryForSecretForAuthenticatedUserInput",
1742
+ {"path": Required["GithubCodespacesRemoveRepositoryForSecretForAuthenticatedUserInputPath"]},
1743
+ total=False,
1744
+ )
1745
+ GithubCodespacesRemoveRepositoryForSecretForAuthenticatedUserInputPath = TypedDict(
1746
+ "GithubCodespacesRemoveRepositoryForSecretForAuthenticatedUserInputPath",
1747
+ {"secret_name": Required["str"], "repository_id": Required["int"]},
1748
+ total=False,
1749
+ )
1750
+ GithubCodespacesRemoveRepositoryForSecretForAuthenticatedUserOutput: TypeAlias = "None"
1751
+ GithubCodespacesRemoveSelectedRepoFromOrgSecretInput = TypedDict(
1752
+ "GithubCodespacesRemoveSelectedRepoFromOrgSecretInput",
1753
+ {"path": Required["GithubCodespacesRemoveSelectedRepoFromOrgSecretInputPath"]},
1754
+ total=False,
1755
+ )
1756
+ GithubCodespacesRemoveSelectedRepoFromOrgSecretInputPath = TypedDict(
1757
+ "GithubCodespacesRemoveSelectedRepoFromOrgSecretInputPath",
1758
+ {"org": Required["str"], "secret_name": Required["str"], "repository_id": Required["int"]},
1759
+ total=False,
1760
+ )
1761
+ GithubCodespacesRemoveSelectedRepoFromOrgSecretOutput: TypeAlias = "None"
1762
+ GithubCodespacesRepoMachinesForAuthenticatedUserInput = TypedDict(
1763
+ "GithubCodespacesRepoMachinesForAuthenticatedUserInput",
1764
+ {
1765
+ "path": Required["GithubCodespacesRepoMachinesForAuthenticatedUserInputPath"],
1766
+ "query": NotRequired["GithubCodespacesRepoMachinesForAuthenticatedUserInputQuery"],
1767
+ },
1768
+ total=False,
1769
+ )
1770
+ GithubCodespacesRepoMachinesForAuthenticatedUserInputPath = TypedDict(
1771
+ "GithubCodespacesRepoMachinesForAuthenticatedUserInputPath",
1772
+ {"owner": Required["str"], "repo": Required["str"]},
1773
+ total=False,
1774
+ )
1775
+ GithubCodespacesRepoMachinesForAuthenticatedUserInputQuery = TypedDict(
1776
+ "GithubCodespacesRepoMachinesForAuthenticatedUserInputQuery",
1777
+ {"location": NotRequired["str"], "client_ip": NotRequired["str"], "ref": NotRequired["str"]},
1778
+ total=False,
1779
+ )
1780
+ GithubCodespacesRepoMachinesForAuthenticatedUserOutput = TypedDict(
1781
+ "GithubCodespacesRepoMachinesForAuthenticatedUserOutput",
1782
+ {"machines": Required["list[OutputcodespaceMachine]"], "total_count": Required["int | str"]},
1783
+ total=False,
1784
+ )
1785
+ GithubCodespacesSetCodespacesAccessInput = TypedDict(
1786
+ "GithubCodespacesSetCodespacesAccessInput",
1787
+ {
1788
+ "path": Required["GithubCodespacesSetCodespacesAccessInputPath"],
1789
+ "body": Required["GithubCodespacesSetCodespacesAccessInputBody"],
1790
+ },
1791
+ total=False,
1792
+ )
1793
+ GithubCodespacesSetCodespacesAccessInputBody = TypedDict(
1794
+ "GithubCodespacesSetCodespacesAccessInputBody",
1795
+ {
1796
+ "selected_usernames": NotRequired["list[str]"],
1797
+ "visibility": Required[
1798
+ "Literal['disabled', 'selected_members', 'all_members', 'all_members_and_outside_collaborators']"
1799
+ ],
1800
+ },
1801
+ total=False,
1802
+ )
1803
+ GithubCodespacesSetCodespacesAccessInputPath = TypedDict(
1804
+ "GithubCodespacesSetCodespacesAccessInputPath", {"org": Required["str"]}, total=False
1805
+ )
1806
+ GithubCodespacesSetCodespacesAccessOutput: TypeAlias = "None"
1807
+ GithubCodespacesSetCodespacesAccessUsersInput = TypedDict(
1808
+ "GithubCodespacesSetCodespacesAccessUsersInput",
1809
+ {
1810
+ "path": Required["GithubCodespacesSetCodespacesAccessUsersInputPath"],
1811
+ "body": Required["GithubCodespacesSetCodespacesAccessUsersInputBody"],
1812
+ },
1813
+ total=False,
1814
+ )
1815
+ GithubCodespacesSetCodespacesAccessUsersInputBody = TypedDict(
1816
+ "GithubCodespacesSetCodespacesAccessUsersInputBody",
1817
+ {"selected_usernames": Required["list[str]"]},
1818
+ total=False,
1819
+ )
1820
+ GithubCodespacesSetCodespacesAccessUsersInputPath = TypedDict(
1821
+ "GithubCodespacesSetCodespacesAccessUsersInputPath", {"org": Required["str"]}, total=False
1822
+ )
1823
+ GithubCodespacesSetCodespacesAccessUsersOutput: TypeAlias = "None"
1824
+ GithubCodespacesSetRepositoriesForSecretForAuthenticatedUserInput = TypedDict(
1825
+ "GithubCodespacesSetRepositoriesForSecretForAuthenticatedUserInput",
1826
+ {
1827
+ "path": Required["GithubCodespacesSetRepositoriesForSecretForAuthenticatedUserInputPath"],
1828
+ "body": Required["GithubCodespacesSetRepositoriesForSecretForAuthenticatedUserInputBody"],
1829
+ },
1830
+ total=False,
1831
+ )
1832
+ GithubCodespacesSetRepositoriesForSecretForAuthenticatedUserInputBody = TypedDict(
1833
+ "GithubCodespacesSetRepositoriesForSecretForAuthenticatedUserInputBody",
1834
+ {"selected_repository_ids": Required["list[int]"]},
1835
+ total=False,
1836
+ )
1837
+ GithubCodespacesSetRepositoriesForSecretForAuthenticatedUserInputPath = TypedDict(
1838
+ "GithubCodespacesSetRepositoriesForSecretForAuthenticatedUserInputPath",
1839
+ {"secret_name": Required["str"]},
1840
+ total=False,
1841
+ )
1842
+ GithubCodespacesSetRepositoriesForSecretForAuthenticatedUserOutput: TypeAlias = "None"
1843
+ GithubCodespacesSetSelectedReposForOrgSecretInput = TypedDict(
1844
+ "GithubCodespacesSetSelectedReposForOrgSecretInput",
1845
+ {
1846
+ "path": Required["GithubCodespacesSetSelectedReposForOrgSecretInputPath"],
1847
+ "body": Required["GithubCodespacesSetSelectedReposForOrgSecretInputBody"],
1848
+ },
1849
+ total=False,
1850
+ )
1851
+ GithubCodespacesSetSelectedReposForOrgSecretInputBody = TypedDict(
1852
+ "GithubCodespacesSetSelectedReposForOrgSecretInputBody",
1853
+ {"selected_repository_ids": Required["list[int]"]},
1854
+ total=False,
1855
+ )
1856
+ GithubCodespacesSetSelectedReposForOrgSecretInputPath = TypedDict(
1857
+ "GithubCodespacesSetSelectedReposForOrgSecretInputPath",
1858
+ {"org": Required["str"], "secret_name": Required["str"]},
1859
+ total=False,
1860
+ )
1861
+ GithubCodespacesSetSelectedReposForOrgSecretOutput: TypeAlias = "None"
1862
+ GithubCodespacesStartForAuthenticatedUserInput = TypedDict(
1863
+ "GithubCodespacesStartForAuthenticatedUserInput",
1864
+ {"path": Required["GithubCodespacesStartForAuthenticatedUserInputPath"]},
1865
+ total=False,
1866
+ )
1867
+ GithubCodespacesStartForAuthenticatedUserInputPath = TypedDict(
1868
+ "GithubCodespacesStartForAuthenticatedUserInputPath",
1869
+ {"codespace_name": Required["str"]},
1870
+ total=False,
1871
+ )
1872
+ GithubCodespacesStartForAuthenticatedUserOutput: TypeAlias = "Outputcodespace"
1873
+ GithubCodespacesStopForAuthenticatedUserInput = TypedDict(
1874
+ "GithubCodespacesStopForAuthenticatedUserInput",
1875
+ {"path": Required["GithubCodespacesStopForAuthenticatedUserInputPath"]},
1876
+ total=False,
1877
+ )
1878
+ GithubCodespacesStopForAuthenticatedUserInputPath = TypedDict(
1879
+ "GithubCodespacesStopForAuthenticatedUserInputPath",
1880
+ {"codespace_name": Required["str"]},
1881
+ total=False,
1882
+ )
1883
+ GithubCodespacesStopForAuthenticatedUserOutput: TypeAlias = "Outputcodespace"
1884
+ GithubCodespacesStopInOrganizationInput = TypedDict(
1885
+ "GithubCodespacesStopInOrganizationInput",
1886
+ {"path": Required["GithubCodespacesStopInOrganizationInputPath"]},
1887
+ total=False,
1888
+ )
1889
+ GithubCodespacesStopInOrganizationInputPath = TypedDict(
1890
+ "GithubCodespacesStopInOrganizationInputPath",
1891
+ {"org": Required["str"], "username": Required["str"], "codespace_name": Required["str"]},
1892
+ total=False,
1893
+ )
1894
+ GithubCodespacesStopInOrganizationOutput: TypeAlias = "Outputcodespace"
1895
+ GithubCodespacesUpdateForAuthenticatedUserInput = TypedDict(
1896
+ "GithubCodespacesUpdateForAuthenticatedUserInput",
1897
+ {
1898
+ "path": Required["GithubCodespacesUpdateForAuthenticatedUserInputPath"],
1899
+ "body": NotRequired["GithubCodespacesUpdateForAuthenticatedUserInputBody"],
1900
+ },
1901
+ total=False,
1902
+ )
1903
+ GithubCodespacesUpdateForAuthenticatedUserInputBody = TypedDict(
1904
+ "GithubCodespacesUpdateForAuthenticatedUserInputBody",
1905
+ {
1906
+ "display_name": NotRequired["str"],
1907
+ "machine": NotRequired["str"],
1908
+ "recent_folders": NotRequired["list[str]"],
1909
+ },
1910
+ total=False,
1911
+ )
1912
+ GithubCodespacesUpdateForAuthenticatedUserInputPath = TypedDict(
1913
+ "GithubCodespacesUpdateForAuthenticatedUserInputPath",
1914
+ {"codespace_name": Required["str"]},
1915
+ total=False,
1916
+ )
1917
+ GithubCodespacesUpdateForAuthenticatedUserOutput: TypeAlias = "Outputcodespace"
1918
+ GithubCopilotAddCopilotSeatsForTeamsInput = TypedDict(
1919
+ "GithubCopilotAddCopilotSeatsForTeamsInput",
1920
+ {
1921
+ "path": Required["GithubCopilotAddCopilotSeatsForTeamsInputPath"],
1922
+ "body": Required["GithubCopilotAddCopilotSeatsForTeamsInputBody"],
1923
+ },
1924
+ total=False,
1925
+ )
1926
+ GithubCopilotAddCopilotSeatsForTeamsInputBody = TypedDict(
1927
+ "GithubCopilotAddCopilotSeatsForTeamsInputBody",
1928
+ {"selected_teams": Required["list[str]"]},
1929
+ total=False,
1930
+ )
1931
+ GithubCopilotAddCopilotSeatsForTeamsInputPath = TypedDict(
1932
+ "GithubCopilotAddCopilotSeatsForTeamsInputPath", {"org": Required["str"]}, total=False
1933
+ )
1934
+ GithubCopilotAddCopilotSeatsForTeamsOutput = TypedDict(
1935
+ "GithubCopilotAddCopilotSeatsForTeamsOutput",
1936
+ {"seats_created": Required["int | str"]},
1937
+ total=False,
1938
+ )
1939
+ GithubCopilotAddCopilotSeatsForUsersInput = TypedDict(
1940
+ "GithubCopilotAddCopilotSeatsForUsersInput",
1941
+ {
1942
+ "path": Required["GithubCopilotAddCopilotSeatsForUsersInputPath"],
1943
+ "body": Required["GithubCopilotAddCopilotSeatsForUsersInputBody"],
1944
+ },
1945
+ total=False,
1946
+ )
1947
+ GithubCopilotAddCopilotSeatsForUsersInputBody = TypedDict(
1948
+ "GithubCopilotAddCopilotSeatsForUsersInputBody",
1949
+ {"selected_usernames": Required["list[str]"]},
1950
+ total=False,
1951
+ )
1952
+ GithubCopilotAddCopilotSeatsForUsersInputPath = TypedDict(
1953
+ "GithubCopilotAddCopilotSeatsForUsersInputPath", {"org": Required["str"]}, total=False
1954
+ )
1955
+ GithubCopilotAddCopilotSeatsForUsersOutput = TypedDict(
1956
+ "GithubCopilotAddCopilotSeatsForUsersOutput",
1957
+ {"seats_created": Required["int | str"]},
1958
+ total=False,
1959
+ )
1960
+ GithubCopilotAddOrganizationsToEnterpriseCodingAgentPolicyInput = TypedDict(
1961
+ "GithubCopilotAddOrganizationsToEnterpriseCodingAgentPolicyInput",
1962
+ {
1963
+ "path": Required["GithubCopilotAddOrganizationsToEnterpriseCodingAgentPolicyInputPath"],
1964
+ "body": Required["GithubCopilotAddOrganizationsToEnterpriseCodingAgentPolicyInputBody"],
1965
+ },
1966
+ total=False,
1967
+ )
1968
+ GithubCopilotAddOrganizationsToEnterpriseCodingAgentPolicyInputBody = TypedDict(
1969
+ "GithubCopilotAddOrganizationsToEnterpriseCodingAgentPolicyInputBody",
1970
+ {
1971
+ "custom_properties": NotRequired[
1972
+ "list[GithubCopilotAddOrganizationsToEnterpriseCodingAgentPolicyInputBodyCustomPropertiesItem]"
1973
+ ],
1974
+ "organizations": NotRequired["list[str]"],
1975
+ },
1976
+ total=False,
1977
+ )
1978
+ GithubCopilotAddOrganizationsToEnterpriseCodingAgentPolicyInputBodyCustomPropertiesItem = TypedDict(
1979
+ "GithubCopilotAddOrganizationsToEnterpriseCodingAgentPolicyInputBodyCustomPropertiesItem",
1980
+ {"property_name": Required["str"], "values": Required["list[str]"]},
1981
+ total=False,
1982
+ )
1983
+ GithubCopilotAddOrganizationsToEnterpriseCodingAgentPolicyInputPath = TypedDict(
1984
+ "GithubCopilotAddOrganizationsToEnterpriseCodingAgentPolicyInputPath",
1985
+ {"enterprise": Required["str"]},
1986
+ total=False,
1987
+ )
1988
+ GithubCopilotAddOrganizationsToEnterpriseCodingAgentPolicyOutput: TypeAlias = "None"
1989
+ GithubCopilotCancelCopilotSeatAssignmentForTeamsInput = TypedDict(
1990
+ "GithubCopilotCancelCopilotSeatAssignmentForTeamsInput",
1991
+ {
1992
+ "path": Required["GithubCopilotCancelCopilotSeatAssignmentForTeamsInputPath"],
1993
+ "body": Required["GithubCopilotCancelCopilotSeatAssignmentForTeamsInputBody"],
1994
+ },
1995
+ total=False,
1996
+ )
1997
+ GithubCopilotCancelCopilotSeatAssignmentForTeamsInputBody = TypedDict(
1998
+ "GithubCopilotCancelCopilotSeatAssignmentForTeamsInputBody",
1999
+ {"selected_teams": Required["list[str]"]},
2000
+ total=False,
2001
+ )
2002
+ GithubCopilotCancelCopilotSeatAssignmentForTeamsInputPath = TypedDict(
2003
+ "GithubCopilotCancelCopilotSeatAssignmentForTeamsInputPath",
2004
+ {"org": Required["str"]},
2005
+ total=False,
2006
+ )
2007
+ GithubCopilotCancelCopilotSeatAssignmentForTeamsOutput = TypedDict(
2008
+ "GithubCopilotCancelCopilotSeatAssignmentForTeamsOutput",
2009
+ {"seats_cancelled": Required["int | str"]},
2010
+ total=False,
2011
+ )
2012
+ GithubCopilotCancelCopilotSeatAssignmentForUsersInput = TypedDict(
2013
+ "GithubCopilotCancelCopilotSeatAssignmentForUsersInput",
2014
+ {
2015
+ "path": Required["GithubCopilotCancelCopilotSeatAssignmentForUsersInputPath"],
2016
+ "body": Required["GithubCopilotCancelCopilotSeatAssignmentForUsersInputBody"],
2017
+ },
2018
+ total=False,
2019
+ )
2020
+ GithubCopilotCancelCopilotSeatAssignmentForUsersInputBody = TypedDict(
2021
+ "GithubCopilotCancelCopilotSeatAssignmentForUsersInputBody",
2022
+ {"selected_usernames": Required["list[str]"]},
2023
+ total=False,
2024
+ )
2025
+ GithubCopilotCancelCopilotSeatAssignmentForUsersInputPath = TypedDict(
2026
+ "GithubCopilotCancelCopilotSeatAssignmentForUsersInputPath",
2027
+ {"org": Required["str"]},
2028
+ total=False,
2029
+ )
2030
+ GithubCopilotCancelCopilotSeatAssignmentForUsersOutput = TypedDict(
2031
+ "GithubCopilotCancelCopilotSeatAssignmentForUsersOutput",
2032
+ {"seats_cancelled": Required["int | str"]},
2033
+ total=False,
2034
+ )
2035
+ GithubCopilotCopilotContentExclusionForOrganizationInput = TypedDict(
2036
+ "GithubCopilotCopilotContentExclusionForOrganizationInput",
2037
+ {"path": Required["GithubCopilotCopilotContentExclusionForOrganizationInputPath"]},
2038
+ total=False,
2039
+ )
2040
+ GithubCopilotCopilotContentExclusionForOrganizationInputPath = TypedDict(
2041
+ "GithubCopilotCopilotContentExclusionForOrganizationInputPath",
2042
+ {"org": Required["str"]},
2043
+ total=False,
2044
+ )
2045
+ GithubCopilotCopilotContentExclusionForOrganizationOutput: TypeAlias = (
2046
+ "OutputcopilotOrganizationContentExclusionDetails"
2047
+ )
2048
+ GithubCopilotCopilotEnterpriseOneDayUsageMetricsInput = TypedDict(
2049
+ "GithubCopilotCopilotEnterpriseOneDayUsageMetricsInput",
2050
+ {
2051
+ "path": Required["GithubCopilotCopilotEnterpriseOneDayUsageMetricsInputPath"],
2052
+ "query": Required["GithubCopilotCopilotEnterpriseOneDayUsageMetricsInputQuery"],
2053
+ },
2054
+ total=False,
2055
+ )
2056
+ GithubCopilotCopilotEnterpriseOneDayUsageMetricsInputPath = TypedDict(
2057
+ "GithubCopilotCopilotEnterpriseOneDayUsageMetricsInputPath",
2058
+ {"enterprise": Required["str"]},
2059
+ total=False,
2060
+ )
2061
+ GithubCopilotCopilotEnterpriseOneDayUsageMetricsInputQuery = TypedDict(
2062
+ "GithubCopilotCopilotEnterpriseOneDayUsageMetricsInputQuery",
2063
+ {"day": Required["str"]},
2064
+ total=False,
2065
+ )
2066
+ GithubCopilotCopilotEnterpriseOneDayUsageMetricsOutput: TypeAlias = (
2067
+ "OutputcopilotUsageMetrics1DayReport"
2068
+ )
2069
+ GithubCopilotCopilotEnterpriseReposOneDayReportInput = TypedDict(
2070
+ "GithubCopilotCopilotEnterpriseReposOneDayReportInput",
2071
+ {
2072
+ "path": Required["GithubCopilotCopilotEnterpriseReposOneDayReportInputPath"],
2073
+ "query": Required["GithubCopilotCopilotEnterpriseReposOneDayReportInputQuery"],
2074
+ },
2075
+ total=False,
2076
+ )
2077
+ GithubCopilotCopilotEnterpriseReposOneDayReportInputPath = TypedDict(
2078
+ "GithubCopilotCopilotEnterpriseReposOneDayReportInputPath",
2079
+ {"enterprise": Required["str"]},
2080
+ total=False,
2081
+ )
2082
+ GithubCopilotCopilotEnterpriseReposOneDayReportInputQuery = TypedDict(
2083
+ "GithubCopilotCopilotEnterpriseReposOneDayReportInputQuery",
2084
+ {"day": Required["str"]},
2085
+ total=False,
2086
+ )
2087
+ GithubCopilotCopilotEnterpriseReposOneDayReportOutput: TypeAlias = (
2088
+ "OutputcopilotUsageMetrics1DayReport | None"
2089
+ )
2090
+ GithubCopilotCopilotEnterpriseUsageMetricsInput = TypedDict(
2091
+ "GithubCopilotCopilotEnterpriseUsageMetricsInput",
2092
+ {"path": Required["GithubCopilotCopilotEnterpriseUsageMetricsInputPath"]},
2093
+ total=False,
2094
+ )
2095
+ GithubCopilotCopilotEnterpriseUsageMetricsInputPath = TypedDict(
2096
+ "GithubCopilotCopilotEnterpriseUsageMetricsInputPath",
2097
+ {"enterprise": Required["str"]},
2098
+ total=False,
2099
+ )
2100
+ GithubCopilotCopilotEnterpriseUsageMetricsOutput: TypeAlias = "OutputcopilotUsageMetrics28DayReport"
2101
+ GithubCopilotCopilotEnterpriseUserTeamsOneDayReportInput = TypedDict(
2102
+ "GithubCopilotCopilotEnterpriseUserTeamsOneDayReportInput",
2103
+ {
2104
+ "path": Required["GithubCopilotCopilotEnterpriseUserTeamsOneDayReportInputPath"],
2105
+ "query": Required["GithubCopilotCopilotEnterpriseUserTeamsOneDayReportInputQuery"],
2106
+ },
2107
+ total=False,
2108
+ )
2109
+ GithubCopilotCopilotEnterpriseUserTeamsOneDayReportInputPath = TypedDict(
2110
+ "GithubCopilotCopilotEnterpriseUserTeamsOneDayReportInputPath",
2111
+ {"enterprise": Required["str"]},
2112
+ total=False,
2113
+ )
2114
+ GithubCopilotCopilotEnterpriseUserTeamsOneDayReportInputQuery = TypedDict(
2115
+ "GithubCopilotCopilotEnterpriseUserTeamsOneDayReportInputQuery",
2116
+ {"day": Required["str"]},
2117
+ total=False,
2118
+ )
2119
+ GithubCopilotCopilotEnterpriseUserTeamsOneDayReportOutput: TypeAlias = (
2120
+ "OutputcopilotUsageMetrics1DayReport"
2121
+ )
2122
+ GithubCopilotCopilotOrganizationOneDayUsageMetricsInput = TypedDict(
2123
+ "GithubCopilotCopilotOrganizationOneDayUsageMetricsInput",
2124
+ {
2125
+ "path": Required["GithubCopilotCopilotOrganizationOneDayUsageMetricsInputPath"],
2126
+ "query": Required["GithubCopilotCopilotOrganizationOneDayUsageMetricsInputQuery"],
2127
+ },
2128
+ total=False,
2129
+ )
2130
+ GithubCopilotCopilotOrganizationOneDayUsageMetricsInputPath = TypedDict(
2131
+ "GithubCopilotCopilotOrganizationOneDayUsageMetricsInputPath",
2132
+ {"org": Required["str"]},
2133
+ total=False,
2134
+ )
2135
+ GithubCopilotCopilotOrganizationOneDayUsageMetricsInputQuery = TypedDict(
2136
+ "GithubCopilotCopilotOrganizationOneDayUsageMetricsInputQuery",
2137
+ {"day": Required["str"]},
2138
+ total=False,
2139
+ )
2140
+ GithubCopilotCopilotOrganizationOneDayUsageMetricsOutput: TypeAlias = (
2141
+ "OutputcopilotUsageMetrics1DayReport | None"
2142
+ )
2143
+ GithubCopilotCopilotOrganizationReposOneDayReportInput = TypedDict(
2144
+ "GithubCopilotCopilotOrganizationReposOneDayReportInput",
2145
+ {
2146
+ "path": Required["GithubCopilotCopilotOrganizationReposOneDayReportInputPath"],
2147
+ "query": Required["GithubCopilotCopilotOrganizationReposOneDayReportInputQuery"],
2148
+ },
2149
+ total=False,
2150
+ )
2151
+ GithubCopilotCopilotOrganizationReposOneDayReportInputPath = TypedDict(
2152
+ "GithubCopilotCopilotOrganizationReposOneDayReportInputPath",
2153
+ {"org": Required["str"]},
2154
+ total=False,
2155
+ )
2156
+ GithubCopilotCopilotOrganizationReposOneDayReportInputQuery = TypedDict(
2157
+ "GithubCopilotCopilotOrganizationReposOneDayReportInputQuery",
2158
+ {"day": Required["str"]},
2159
+ total=False,
2160
+ )
2161
+ GithubCopilotCopilotOrganizationReposOneDayReportOutput: TypeAlias = (
2162
+ "OutputcopilotUsageMetrics1DayReport | None"
2163
+ )
2164
+ GithubCopilotCopilotOrganizationUsageMetricsInput = TypedDict(
2165
+ "GithubCopilotCopilotOrganizationUsageMetricsInput",
2166
+ {"path": Required["GithubCopilotCopilotOrganizationUsageMetricsInputPath"]},
2167
+ total=False,
2168
+ )
2169
+ GithubCopilotCopilotOrganizationUsageMetricsInputPath = TypedDict(
2170
+ "GithubCopilotCopilotOrganizationUsageMetricsInputPath", {"org": Required["str"]}, total=False
2171
+ )
2172
+ GithubCopilotCopilotOrganizationUsageMetricsOutput: TypeAlias = (
2173
+ "OutputcopilotUsageMetrics28DayReport"
2174
+ )
2175
+ GithubCopilotCopilotOrganizationUserTeamsOneDayReportInput = TypedDict(
2176
+ "GithubCopilotCopilotOrganizationUserTeamsOneDayReportInput",
2177
+ {
2178
+ "path": Required["GithubCopilotCopilotOrganizationUserTeamsOneDayReportInputPath"],
2179
+ "query": Required["GithubCopilotCopilotOrganizationUserTeamsOneDayReportInputQuery"],
2180
+ },
2181
+ total=False,
2182
+ )
2183
+ GithubCopilotCopilotOrganizationUserTeamsOneDayReportInputPath = TypedDict(
2184
+ "GithubCopilotCopilotOrganizationUserTeamsOneDayReportInputPath",
2185
+ {"org": Required["str"]},
2186
+ total=False,
2187
+ )
2188
+ GithubCopilotCopilotOrganizationUserTeamsOneDayReportInputQuery = TypedDict(
2189
+ "GithubCopilotCopilotOrganizationUserTeamsOneDayReportInputQuery",
2190
+ {"day": Required["str"]},
2191
+ total=False,
2192
+ )
2193
+ GithubCopilotCopilotOrganizationUserTeamsOneDayReportOutput: TypeAlias = (
2194
+ "OutputcopilotUsageMetrics1DayReport | None"
2195
+ )
2196
+ GithubCopilotCopilotOrganizationUsersOneDayUsageMetricsInput = TypedDict(
2197
+ "GithubCopilotCopilotOrganizationUsersOneDayUsageMetricsInput",
2198
+ {
2199
+ "path": Required["GithubCopilotCopilotOrganizationUsersOneDayUsageMetricsInputPath"],
2200
+ "query": Required["GithubCopilotCopilotOrganizationUsersOneDayUsageMetricsInputQuery"],
2201
+ },
2202
+ total=False,
2203
+ )
2204
+ GithubCopilotCopilotOrganizationUsersOneDayUsageMetricsInputPath = TypedDict(
2205
+ "GithubCopilotCopilotOrganizationUsersOneDayUsageMetricsInputPath",
2206
+ {"org": Required["str"]},
2207
+ total=False,
2208
+ )
2209
+ GithubCopilotCopilotOrganizationUsersOneDayUsageMetricsInputQuery = TypedDict(
2210
+ "GithubCopilotCopilotOrganizationUsersOneDayUsageMetricsInputQuery",
2211
+ {"day": Required["str"]},
2212
+ total=False,
2213
+ )
2214
+ GithubCopilotCopilotOrganizationUsersOneDayUsageMetricsOutput: TypeAlias = (
2215
+ "OutputcopilotUsageMetrics1DayReport | None"
2216
+ )
2217
+ GithubCopilotCopilotOrganizationUsersUsageMetricsInput = TypedDict(
2218
+ "GithubCopilotCopilotOrganizationUsersUsageMetricsInput",
2219
+ {"path": Required["GithubCopilotCopilotOrganizationUsersUsageMetricsInputPath"]},
2220
+ total=False,
2221
+ )
2222
+ GithubCopilotCopilotOrganizationUsersUsageMetricsInputPath = TypedDict(
2223
+ "GithubCopilotCopilotOrganizationUsersUsageMetricsInputPath",
2224
+ {"org": Required["str"]},
2225
+ total=False,
2226
+ )
2227
+ GithubCopilotCopilotOrganizationUsersUsageMetricsOutput: TypeAlias = (
2228
+ "OutputcopilotUsageMetrics28DayReport"
2229
+ )
2230
+ GithubCopilotCopilotUsersOneDayUsageMetricsInput = TypedDict(
2231
+ "GithubCopilotCopilotUsersOneDayUsageMetricsInput",
2232
+ {
2233
+ "path": Required["GithubCopilotCopilotUsersOneDayUsageMetricsInputPath"],
2234
+ "query": Required["GithubCopilotCopilotUsersOneDayUsageMetricsInputQuery"],
2235
+ },
2236
+ total=False,
2237
+ )
2238
+ GithubCopilotCopilotUsersOneDayUsageMetricsInputPath = TypedDict(
2239
+ "GithubCopilotCopilotUsersOneDayUsageMetricsInputPath",
2240
+ {"enterprise": Required["str"]},
2241
+ total=False,
2242
+ )
2243
+ GithubCopilotCopilotUsersOneDayUsageMetricsInputQuery = TypedDict(
2244
+ "GithubCopilotCopilotUsersOneDayUsageMetricsInputQuery", {"day": Required["str"]}, total=False
2245
+ )
2246
+ GithubCopilotCopilotUsersOneDayUsageMetricsOutput: TypeAlias = "OutputcopilotUsageMetrics1DayReport"
2247
+ GithubCopilotCopilotUsersUsageMetricsInput = TypedDict(
2248
+ "GithubCopilotCopilotUsersUsageMetricsInput",
2249
+ {"path": Required["GithubCopilotCopilotUsersUsageMetricsInputPath"]},
2250
+ total=False,
2251
+ )
2252
+ GithubCopilotCopilotUsersUsageMetricsInputPath = TypedDict(
2253
+ "GithubCopilotCopilotUsersUsageMetricsInputPath", {"enterprise": Required["str"]}, total=False
2254
+ )
2255
+ GithubCopilotCopilotUsersUsageMetricsOutput: TypeAlias = "OutputcopilotUsageMetrics28DayReport"
2256
+ GithubCopilotDisableCopilotCodingAgentForRepositoryInOrganizationInput = TypedDict(
2257
+ "GithubCopilotDisableCopilotCodingAgentForRepositoryInOrganizationInput",
2258
+ {
2259
+ "path": Required[
2260
+ "GithubCopilotDisableCopilotCodingAgentForRepositoryInOrganizationInputPath"
2261
+ ]
2262
+ },
2263
+ total=False,
2264
+ )
2265
+ GithubCopilotDisableCopilotCodingAgentForRepositoryInOrganizationInputPath = TypedDict(
2266
+ "GithubCopilotDisableCopilotCodingAgentForRepositoryInOrganizationInputPath",
2267
+ {"org": Required["str"], "repository_id": Required["int"]},
2268
+ total=False,
2269
+ )
2270
+ GithubCopilotDisableCopilotCodingAgentForRepositoryInOrganizationOutput: TypeAlias = "None"
2271
+ GithubCopilotEnableCopilotCodingAgentForRepositoryInOrganizationInput = TypedDict(
2272
+ "GithubCopilotEnableCopilotCodingAgentForRepositoryInOrganizationInput",
2273
+ {"path": Required["GithubCopilotEnableCopilotCodingAgentForRepositoryInOrganizationInputPath"]},
2274
+ total=False,
2275
+ )
2276
+ GithubCopilotEnableCopilotCodingAgentForRepositoryInOrganizationInputPath = TypedDict(
2277
+ "GithubCopilotEnableCopilotCodingAgentForRepositoryInOrganizationInputPath",
2278
+ {"org": Required["str"], "repository_id": Required["int"]},
2279
+ total=False,
2280
+ )
2281
+ GithubCopilotEnableCopilotCodingAgentForRepositoryInOrganizationOutput: TypeAlias = "None"
2282
+ GithubCopilotGetCopilotCloudAgentConfigurationInput = TypedDict(
2283
+ "GithubCopilotGetCopilotCloudAgentConfigurationInput",
2284
+ {"path": Required["GithubCopilotGetCopilotCloudAgentConfigurationInputPath"]},
2285
+ total=False,
2286
+ )
2287
+ GithubCopilotGetCopilotCloudAgentConfigurationInputPath = TypedDict(
2288
+ "GithubCopilotGetCopilotCloudAgentConfigurationInputPath",
2289
+ {"owner": Required["str"], "repo": Required["str"]},
2290
+ total=False,
2291
+ )
2292
+ GithubCopilotGetCopilotCloudAgentConfigurationOutput = TypedDict(
2293
+ "GithubCopilotGetCopilotCloudAgentConfigurationOutput",
2294
+ {
2295
+ "custom_allowlist": Required["list[str]"],
2296
+ "enabled_tools": Required[
2297
+ "GithubCopilotGetCopilotCloudAgentConfigurationOutputEnabledTools"
2298
+ ],
2299
+ "is_automations_enabled": Required["bool"],
2300
+ "is_firewall_enabled": Required["bool"],
2301
+ "is_firewall_recommended_allowlist_enabled": Required["bool"],
2302
+ "mcp_configuration": Required["dict[str, object] | None"],
2303
+ "require_actions_workflow_approval": Required["bool"],
2304
+ "require_write_access_for_automation_triggers": Required["bool"],
2305
+ },
2306
+ total=False,
2307
+ )