Skip to content

Commit de63226

Browse files
authored
👽 re-generate openapi models and apis
1 parent 29b4517 commit de63226

File tree

5,084 files changed

+406569
-390861
lines changed

Some content is hidden

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

5,084 files changed

+406569
-390861
lines changed

githubkit/rest/__init__.py

Lines changed: 224 additions & 0 deletions
Large diffs are not rendered by default.

githubkit/versions/ghec_v2022_11_28/models/__init__.py

Lines changed: 4936 additions & 4686 deletions
Large diffs are not rendered by default.

githubkit/versions/ghec_v2022_11_28/models/group_0017.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -210,10 +210,6 @@ class AppPermissions(GitHubModel):
210210
default=UNSET,
211211
description="The level of permission to grant the access token to view and manage users blocked by the organization.",
212212
)
213-
team_discussions: Missing[Literal["read", "write"]] = Field(
214-
default=UNSET,
215-
description="The level of permission to grant the access token to manage team discussions and related comments.",
216-
)
217213
email_addresses: Missing[Literal["read", "write"]] = Field(
218214
default=UNSET,
219215
description="The level of permission to grant the access token to manage the email addresses belonging to a user.",

githubkit/versions/ghec_v2022_11_28/models/group_0020.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,9 @@ class Repository(GitHubModel):
112112
has_discussions: Missing[bool] = Field(
113113
default=UNSET, description="Whether discussions are enabled."
114114
)
115+
has_pull_requests: Missing[bool] = Field(
116+
default=UNSET, description="Whether pull requests are enabled."
117+
)
115118
archived: bool = Field(
116119
default=False, description="Whether the repository is archived."
117120
)

githubkit/versions/ghec_v2022_11_28/models/group_0109.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class RepositoryRulesetBypassActor(GitHubModel):
2626

2727
actor_id: Missing[Union[int, None]] = Field(
2828
default=UNSET,
29-
description="The ID of the actor that can bypass a ruleset. Required for `Integration`, `RepositoryRole`, and `Team` actor types. If `actor_type` is `OrganizationAdmin`, this should be `1`. If `actor_type` is `DeployKey`, this should be null. If `actor_type` is `EnterpriseOwner`, `actor_id` is ignored. `OrganizationAdmin` and `EnterpriseOwner` are not applicable for personal repositories.",
29+
description="The ID of the actor that can bypass a ruleset. Required for `Integration`, `RepositoryRole`, and `Team` actor types. If `actor_type` is `OrganizationAdmin`, `actor_id` is ignored. If `actor_type` is `DeployKey`, this should be null. If `actor_type` is `EnterpriseOwner`, `actor_id` is ignored. `OrganizationAdmin` and `EnterpriseOwner` are not applicable for personal repositories.",
3030
)
3131
actor_type: Literal[
3232
"Integration",

githubkit/versions/ghec_v2022_11_28/models/group_0139.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class RepositoryRuleCommitMessagePatternPropParameters(GitHubModel):
2222
"""RepositoryRuleCommitMessagePatternPropParameters"""
2323

2424
name: Missing[str] = Field(
25-
default=UNSET, description="How this rule will appear to users."
25+
default=UNSET, description="How this rule appears when configuring it."
2626
)
2727
negate: Missing[bool] = Field(
2828
default=UNSET, description="If true, the rule will fail if the pattern matches."

githubkit/versions/ghec_v2022_11_28/models/group_0141.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class RepositoryRuleCommitAuthorEmailPatternPropParameters(GitHubModel):
2222
"""RepositoryRuleCommitAuthorEmailPatternPropParameters"""
2323

2424
name: Missing[str] = Field(
25-
default=UNSET, description="How this rule will appear to users."
25+
default=UNSET, description="How this rule appears when configuring it."
2626
)
2727
negate: Missing[bool] = Field(
2828
default=UNSET, description="If true, the rule will fail if the pattern matches."

githubkit/versions/ghec_v2022_11_28/models/group_0143.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class RepositoryRuleCommitterEmailPatternPropParameters(GitHubModel):
2222
"""RepositoryRuleCommitterEmailPatternPropParameters"""
2323

2424
name: Missing[str] = Field(
25-
default=UNSET, description="How this rule will appear to users."
25+
default=UNSET, description="How this rule appears when configuring it."
2626
)
2727
negate: Missing[bool] = Field(
2828
default=UNSET, description="If true, the rule will fail if the pattern matches."

githubkit/versions/ghec_v2022_11_28/models/group_0145.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class RepositoryRuleBranchNamePatternPropParameters(GitHubModel):
2222
"""RepositoryRuleBranchNamePatternPropParameters"""
2323

2424
name: Missing[str] = Field(
25-
default=UNSET, description="How this rule will appear to users."
25+
default=UNSET, description="How this rule appears when configuring it."
2626
)
2727
negate: Missing[bool] = Field(
2828
default=UNSET, description="If true, the rule will fail if the pattern matches."

githubkit/versions/ghec_v2022_11_28/models/group_0147.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class RepositoryRuleTagNamePatternPropParameters(GitHubModel):
2222
"""RepositoryRuleTagNamePatternPropParameters"""
2323

2424
name: Missing[str] = Field(
25-
default=UNSET, description="How this rule will appear to users."
25+
default=UNSET, description="How this rule appears when configuring it."
2626
)
2727
negate: Missing[bool] = Field(
2828
default=UNSET, description="If true, the rule will fail if the pattern matches."

0 commit comments

Comments
 (0)