Skip to content

Commit c79293c

Browse files
authored
👽 re-generate openapi models and apis
1 parent e901689 commit c79293c

5,546 files changed

Lines changed: 334941 additions & 331737 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

githubkit/rest/__init__.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -664,6 +664,12 @@
664664
from githubkit.versions.v2026_03_10.models import (
665665
CopilotSeatDetails as CopilotSeatDetails,
666666
)
667+
from githubkit.versions.v2026_03_10.models import (
668+
CopilotUsageMetrics1DayReport as CopilotUsageMetrics1DayReport,
669+
)
670+
from githubkit.versions.v2026_03_10.models import (
671+
CopilotUsageMetrics28DayReport as CopilotUsageMetrics28DayReport,
672+
)
667673
from githubkit.versions.v2026_03_10.models import (
668674
CopilotUsageMetricsDay as CopilotUsageMetricsDay,
669675
)
@@ -3280,6 +3286,9 @@
32803286
from githubkit.versions.v2026_03_10.models import (
32813287
ReposOwnerRepoSecretScanningAlertsAlertNumberPatchBodyAnyof1 as ReposOwnerRepoSecretScanningAlertsAlertNumberPatchBodyAnyof1,
32823288
)
3289+
from githubkit.versions.v2026_03_10.models import (
3290+
ReposOwnerRepoSecretScanningAlertsAlertNumberPatchBodyAnyof2 as ReposOwnerRepoSecretScanningAlertsAlertNumberPatchBodyAnyof2,
3291+
)
32833292
from githubkit.versions.v2026_03_10.models import (
32843293
ReposOwnerRepoSecretScanningPushProtectionBypassesPostBody as ReposOwnerRepoSecretScanningPushProtectionBypassesPostBody,
32853294
)
@@ -10358,6 +10367,8 @@
1035810367
"CodeSecurityDefaultConfigurationsItems",
1035910368
"SimpleRepository",
1036010369
"CodeSecurityConfigurationRepositories",
10370+
"CopilotUsageMetrics1DayReport",
10371+
"CopilotUsageMetrics28DayReport",
1036110372
"DependabotAlertPackage",
1036210373
"DependabotAlertSecurityVulnerability",
1036310374
"DependabotAlertSecurityVulnerabilityPropFirstPatchedVersion",
@@ -13797,6 +13808,7 @@
1379713808
"ReposOwnerRepoRulesetsRulesetIdPutBody",
1379813809
"ReposOwnerRepoSecretScanningAlertsAlertNumberPatchBodyAnyof0",
1379913810
"ReposOwnerRepoSecretScanningAlertsAlertNumberPatchBodyAnyof1",
13811+
"ReposOwnerRepoSecretScanningAlertsAlertNumberPatchBodyAnyof2",
1380013812
"ReposOwnerRepoSecretScanningPushProtectionBypassesPostBody",
1380113813
"ReposOwnerRepoStatusesShaPostBody",
1380213814
"ReposOwnerRepoSubscriptionPutBody",

githubkit/versions/ghec_v2022_11_28/models/__init__.py

Lines changed: 131 additions & 125 deletions
Large diffs are not rendered by default.

githubkit/versions/ghec_v2022_11_28/models/group_0020.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,6 @@ class Repository(GitHubModel):
119119
default=UNSET,
120120
description="The policy controlling who can create pull requests: all or collaborators_only.",
121121
)
122-
has_commit_comments: Missing[bool] = Field(
123-
default=UNSET, description="Whether commit comments are enabled."
124-
)
125122
archived: bool = Field(
126123
default=False, description="Whether the repository is archived."
127124
)

githubkit/versions/ghec_v2022_11_28/models/group_0075.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,10 @@ class CodeScanningAlertInstancePropMessage(GitHubModel):
6464
"""CodeScanningAlertInstancePropMessage"""
6565

6666
text: Missing[str] = Field(default=UNSET)
67+
markdown: Missing[str] = Field(
68+
default=UNSET,
69+
description="The message text as GitHub-flavored Markdown, with placeholder links for related locations replaced by links to the relevant code. Only populated when related locations are available for the alert instance.",
70+
)
6771

6872

6973
model_rebuild(CodeScanningAlertInstance)

githubkit/versions/ghec_v2022_11_28/models/group_0217.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ class ForkEventPropForkee(GitHubModel):
9696
default=UNSET,
9797
description="The policy controlling who can create pull requests: all or collaborators_only.",
9898
)
99-
has_commit_comments: Missing[bool] = Field(default=UNSET)
10099
forks_count: Missing[int] = Field(default=UNSET)
101100
mirror_url: Missing[Union[str, None]] = Field(default=UNSET)
102101
archived: Missing[bool] = Field(default=UNSET)

githubkit/versions/ghec_v2022_11_28/models/group_0241.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@ class MinimalRepository(GitHubModel):
103103
default=UNSET,
104104
description="The policy controlling who can create pull requests: all or collaborators_only.",
105105
)
106-
has_commit_comments: Missing[bool] = Field(default=UNSET)
107106
archived: Missing[bool] = Field(default=UNSET)
108107
disabled: Missing[bool] = Field(default=UNSET)
109108
visibility: Missing[str] = Field(default=UNSET)

githubkit/versions/ghec_v2022_11_28/models/group_0297.py

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,11 @@ class OrgPrivateRegistryConfigurationWithSelectedRepositories(GitHubModel):
4343
"python_index",
4444
"terraform_registry",
4545
] = Field(description="The registry type.")
46+
auth_type: Missing[
47+
Literal["token", "username_password", "oidc_azure", "oidc_aws", "oidc_jfrog"]
48+
] = Field(
49+
default=UNSET, description="The authentication type for the private registry."
50+
)
4651
url: Missing[str] = Field(
4752
default=UNSET, description="The URL of the private registry."
4853
)
@@ -61,6 +66,26 @@ class OrgPrivateRegistryConfigurationWithSelectedRepositories(GitHubModel):
6166
default=UNSET,
6267
description="An array of repository IDs that can access the organization private registry when `visibility` is set to `selected`.",
6368
)
69+
tenant_id: Missing[str] = Field(
70+
default=UNSET, description="The tenant ID of the Azure AD application."
71+
)
72+
client_id: Missing[str] = Field(
73+
default=UNSET, description="The client ID of the Azure AD application."
74+
)
75+
aws_region: Missing[str] = Field(default=UNSET, description="The AWS region.")
76+
account_id: Missing[str] = Field(default=UNSET, description="The AWS account ID.")
77+
role_name: Missing[str] = Field(default=UNSET, description="The AWS IAM role name.")
78+
domain: Missing[str] = Field(default=UNSET, description="The CodeArtifact domain.")
79+
domain_owner: Missing[str] = Field(
80+
default=UNSET, description="The CodeArtifact domain owner."
81+
)
82+
jfrog_oidc_provider_name: Missing[str] = Field(
83+
default=UNSET, description="The JFrog OIDC provider name."
84+
)
85+
audience: Missing[str] = Field(default=UNSET, description="The OIDC audience.")
86+
identity_mapping_name: Missing[str] = Field(
87+
default=UNSET, description="The JFrog identity mapping name."
88+
)
6489
created_at: _dt.datetime = Field()
6590
updated_at: _dt.datetime = Field()
6691

githubkit/versions/ghec_v2022_11_28/models/group_0314.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ class FullRepository(GitHubModel):
105105
default=UNSET,
106106
description="The policy controlling who can create pull requests: all or collaborators_only.",
107107
)
108-
has_commit_comments: Missing[bool] = Field(default=UNSET)
109108
archived: bool = Field()
110109
disabled: bool = Field(
111110
description="Returns whether or not this repository disabled."

githubkit/versions/ghec_v2022_11_28/models/group_0546.py

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,25 @@ class SearchIssuesGetResponse200(GitHubModel):
130130
total_count: int = Field()
131131
incomplete_results: bool = Field()
132132
items: list[IssueSearchResultItem] = Field()
133+
search_type: Literal["lexical", "semantic", "hybrid"] = Field(
134+
description="The type of search that was performed. Possible values are `lexical`, `semantic`, or `hybrid`."
135+
)
136+
lexical_fallback_reason: Missing[
137+
list[
138+
Literal[
139+
"no_text_terms",
140+
"quoted_text",
141+
"non_issue_target",
142+
"or_boolean_not_supported",
143+
"no_accessible_repos",
144+
"server_error",
145+
"only_non_semantic_fields_requested",
146+
]
147+
]
148+
] = Field(
149+
default=UNSET,
150+
description="When a semantic or hybrid search falls back to lexical search, this field contains the reasons for the fallback. Only present when a fallback occurred.",
151+
)
133152

134153

135154
model_rebuild(IssueSearchResultItem)

githubkit/versions/ghec_v2022_11_28/models/group_0548.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,6 @@ class RepoSearchResultItem(GitHubModel):
108108
default=UNSET,
109109
description="The policy controlling who can create pull requests: all or collaborators_only.",
110110
)
111-
has_commit_comments: Missing[bool] = Field(default=UNSET)
112111
archived: bool = Field()
113112
disabled: bool = Field(
114113
description="Returns whether or not this repository disabled."

0 commit comments

Comments
 (0)